Mercurial > libavcodec.hg
view mpegaudio.h @ 1231:b88dfc4bbf8c libavcodec
* introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
converts textual representation of pixel format into
the actual id. Complements avcodec_get_pix_fmt_name.
+ avpicture_layout
serializes given picture into a flat array.
Complements avpicture_fill.
* adding a new option -pix_fmt to the ffmpeg, in order to control
pixel format for the codecs that do support it, like rawvideo,
for example.
* reducing complexity of the rawvideo codec by splitting it in two
and making it more reliable via hooking up to the avpicture_layout.
Plus adding new FourCC as described here: http://www.fourcc.org
* A tiny fix for avienc.c that makes avih and video strf consistent
regarding codec FourCC.
author | romansh |
---|---|
date | Wed, 07 May 2003 19:01:45 +0000 |
parents | 1e39f273ecd6 |
children | 0d2b59cf9f45 |
line wrap: on
line source
/** * @file mpegaudio.h * mpeg audio declarations for both encoder and decoder. */ /* max frame size, in samples */ #define MPA_FRAME_SIZE 1152 /* max compressed frame size */ #define MPA_MAX_CODED_FRAME_SIZE 1792 #define MPA_MAX_CHANNELS 2 #define SBLIMIT 32 /* number of subbands */ #define MPA_STEREO 0 #define MPA_JSTEREO 1 #define MPA_DUAL 2 #define MPA_MONO 3 int l2_select_table(int bitrate, int nb_channels, int freq, int lsf); extern const uint16_t mpa_bitrate_tab[2][3][15]; extern const uint16_t mpa_freq_tab[3]; extern const unsigned char *alloc_tables[5]; extern const double enwindow[512]; extern const int sblimit_table[5]; extern const int quant_steps[17]; extern const int quant_bits[17]; extern const int32_t mpa_enwindow[257];