On Tue, Aug 15, 2017 at 11:57:18PM +0530, Sanchit Sinha wrote: > On Tue, Aug 15, 2017 at 4:46 PM, Paul B Mahol <one...@gmail.com> wrote: > > > Hi, > > > > subject of patch file is wrong. > > > > Why is code for rotation so limited? One should be able to rotate by > > all 3 directions at once. > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > > [...]
> +/*Matrix for scaling options*/ > +static const struct { > + float matrix[4][1]; > +} scaler_matrix[]= { > + [N3D]={ > + .matrix={ > + {1}, > + {1}, > + {1}, > + {1}, > + }, > + }, > + [SN3D]={ > + .matrix={ > + {sqrt(2*floor(sqrt(0))+1)}, > + {sqrt(2*floor(sqrt(1))+1)}, > + {sqrt(2*floor(sqrt(2))+1)}, > + {sqrt(2*floor(sqrt(3))+1)}, > + }, > + }, > + [FURMUL]={ > + .matrix={ > + {sqrt(2)}, > + {sqrt(3)}, > + {sqrt(3)}, > + {sqrt(3)}, > + }, > + }, > +}; fails to build: src/libavfilter/af_ambisonic.c:225:14: error: initializer element is not a compile-time constant {sqrt(2*floor(sqrt(0))+1)}, [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Elect your leaders based on what they did after the last election, not based on what they say before an election.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel