Go to the documentation of this file.
21 #ifndef AVCODEC_MPEG4AUDIO_COPY_PCE_H
22 #define AVCODEC_MPEG4AUDIO_COPY_PCE_H
40 int five_bit_ch, four_bit_ch, comment_size,
bits;
56 for (
bits = five_bit_ch*5+four_bit_ch*4;
bits > 16;
bits -= 16)
63 for (; comment_size > 0; comment_size--)
static void align_put_bits(PutBitContext *s)
Pad the bitstream with zeros up to the next byte boundary.
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.
static av_always_inline unsigned int ff_pce_copy_bits(PutBitContext *pb, GetBitContext *gb, int bits)
static int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf offset
static int put_bits_count(PutBitContext *s)
static const uint8_t * align_get_bits(GetBitContext *s)