22 #ifndef AVCODEC_MPEG4AUDIO_H
23 #define AVCODEC_MPEG4AUDIO_H
70 int bit_size,
int sync_extension);
119 #define MAX_PCE_SIZE 320
126 unsigned int el =
get_bits(gb, bits);
133 int five_bit_ch, four_bit_ch, comment_size, bits;
149 for (bits = five_bit_ch*5+four_bit_ch*4; bits > 16; bits -= 16)
156 for (; comment_size > 0; comment_size--)
static void put_bits(Jpeg2000EncoderContext *s, int val, int n)
put n times val bit
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
void avpriv_align_put_bits(PutBitContext *s)
Pad the bitstream with zeros up to the next byte boundary.
static av_always_inline unsigned int ff_pce_copy_bits(PutBitContext *pb, GetBitContext *gb, int bits)
int avpriv_mpeg4audio_get_config(MPEG4AudioConfig *c, const uint8_t *buf, int bit_size, int sync_extension)
Parse MPEG-4 systems extradata from a raw buffer to retrieve audio configuration. ...
Macro definitions for various function/variable attributes.
const uint8_t ff_mpeg4audio_channels[8]
N Scalable LosslesS (non core)
N Code Excited Linear Prediction.
N Error Resilient Parametric.
N Error Resilient Long Term Prediction.
N Error Resilient Low Delay.
int ff_mpeg4audio_get_config_gb(MPEG4AudioConfig *c, GetBitContext *gb, int sync_extension)
Parse MPEG-4 systems extradata from a potentially unaligned GetBitContext to retrieve audio configura...
N Algorithmic Synthesis and Audio Effects.
N Error Resilient Harmonic and Individual Lines plus Noise.
bitstream reader API header.
N Error Resilient Low Complexity.
N Unified Speech and Audio Coding (no SBR)
N Symbolic Music Representation Main.
#define av_export_avcodec
N Error Resilient Twin Vector Quantizer.
N Text-To-Speech Interface.
N Low Delay MPEG Surround.
static const uint8_t offset[127][2]
av_export_avcodec const int avpriv_mpeg4audio_sample_rates[16]
static int put_bits_count(PutBitContext *s)
N Error Resilient Scalable.
N Unified Speech and Audio Coding.
N Harmonic Vector eXcitation Coding.
N Error Resilient Harmonic Vector eXcitation Coding.
N (code in SoC repo) Scalable Sample Rate.
N Direct Stream Transfer.
N Error Resilient Code Excited Linear Prediction.
static int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb)
N Error Resilient Bit-Sliced Arithmetic Coding.
N Error Resilient Enhanced Low Delay.
Y Spectral Band Replication.
common internal api header.
static const uint8_t * align_get_bits(GetBitContext *s)
N Symbolic Music Representation Simple.
int sbr
-1 implicit, 1 presence
int ps
-1 implicit, 1 presence
N Spatial Audio Object Coding.