Go to the documentation of this file.
23 #ifndef AVCODEC_DCAHUFF_H
24 #define AVCODEC_DCAHUFF_H
33 #define DCA_CODE_BOOKS 10
34 #define DCA_BITALLOC_12_COUNT 5
DCAVLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS]
int offset
Code values offset.
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
DCAVLC ff_dca_vlc_transition_mode
int max_depth
Parameter for get_vlc2()
av_cold void ff_dca_init_vlcs(void)
uint32_t ff_dca_vlc_calc_alloc_bits(int *values, uint8_t n, uint8_t sel)
void ff_dca_vlc_enc_quant(PutBitContext *pb, int *values, uint8_t n, uint8_t sel, uint8_t abits)
VLC ff_dca_vlc_fst_rsd_amp
VLC ff_dca_vlc_tnl_grp[5]
void ff_dca_vlc_enc_alloc(PutBitContext *pb, int *values, uint8_t n, uint8_t sel)
DCAVLC ff_dca_vlc_scale_factor
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