23 #ifndef AVCODEC_DCAHUFF_H 24 #define AVCODEC_DCAHUFF_H 32 #define DCA_CODE_BOOKS 10 33 #define DCA_BITALLOC_12_COUNT 5
DCAVLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS]
bitstream reader API header.
uint32_t ff_dca_vlc_calc_quant_bits(int *values, uint8_t n, uint8_t sel, uint8_t abits)
DCAVLC ff_dca_vlc_bit_allocation
uint32_t ff_dca_vlc_calc_alloc_bits(int *values, uint8_t n, uint8_t sel)
int offset
Code values offset.
DCAVLC ff_dca_vlc_transition_mode
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return values
VLC ff_dca_vlc_tnl_grp[5]
av_cold void ff_dca_init_vlcs(void)
void ff_dca_vlc_enc_quant(PutBitContext *pb, int *values, uint8_t n, uint8_t sel, uint8_t abits)
Libavcodec external API header.
void ff_dca_vlc_enc_alloc(PutBitContext *pb, int *values, uint8_t n, uint8_t sel)
VLC ff_dca_vlc_fst_rsd_amp
common internal and external API header
int max_depth
Parameter for get_vlc2()
DCAVLC ff_dca_vlc_scale_factor