[FFmpeg-cvslog] r15762 - in trunk/libavcodec: audioconvert.c audioconvert.h avcodec.h utils.c

Michael Niedermayer michaelni
Sat Nov 1 22:59:49 CET 2008


On Sat, Nov 01, 2008 at 08:19:53PM +0100, Benjamin Larsson wrote:
> pross wrote:
> > [...]
> > +/* Audio channel masks */
> > +#define CHANNEL_FRONT_LEFT             0x00000001
> > +#define CHANNEL_FRONT_RIGHT            0x00000002
> > +#define CHANNEL_FRONT_CENTER           0x00000004
> > +#define CHANNEL_LOW_FREQUENCY          0x00000008
> > +#define CHANNEL_BACK_LEFT              0x00000010
> > +#define CHANNEL_BACK_RIGHT             0x00000020
> > +#define CHANNEL_FRONT_LEFT_OF_CENTER   0x00000040
> > +#define CHANNEL_FRONT_RIGHT_OF_CENTER  0x00000080
> > +#define CHANNEL_BACK_CENTER            0x00000100
> > +#define CHANNEL_SIDE_LEFT              0x00000200
> > +#define CHANNEL_SIDE_RIGHT             0x00000400
> > +#define CHANNEL_TOP_CENTER             0x00000800
> > +#define CHANNEL_TOP_FRONT_LEFT         0x00001000
> > +#define CHANNEL_TOP_FRONT_CENTER       0x00002000
> > +#define CHANNEL_TOP_FRONT_RIGHT        0x00004000
> > +#define CHANNEL_TOP_BACK_LEFT          0x00008000
> > +#define CHANNEL_TOP_BACK_CENTER        0x00010000
> > +#define CHANNEL_TOP_BACK_RIGHT         0x00020000
> > +#define CHANNEL_STEREO_LEFT            0x20000000  ///< Stereo downmix.
> > +#define CHANNEL_STEREO_RIGHT           0x40000000  ///< See CHANNEL_STEREO_LEFT.
> 
> Can we use CH instead of CHANNEL, the tables are getting quite big/long
> when you have 8 channels in a bit field.

i agree, this would be better

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20081101/13c38e41/attachment.pgp>



More information about the ffmpeg-cvslog mailing list