Home
last modified time | relevance | path

Searched refs:frame_len_bits (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dwma_common.c35 int frame_len_bits; in ff_wma_get_frame_len_bits() local
38 frame_len_bits = 9; in ff_wma_get_frame_len_bits()
40 frame_len_bits = 10; in ff_wma_get_frame_len_bits()
42 frame_len_bits = 11; in ff_wma_get_frame_len_bits()
44 frame_len_bits = 12; in ff_wma_get_frame_len_bits()
46 frame_len_bits = 13; in ff_wma_get_frame_len_bits()
51 ++frame_len_bits; in ff_wma_get_frame_len_bits()
53 --frame_len_bits; in ff_wma_get_frame_len_bits()
55 frame_len_bits -= 2; in ff_wma_get_frame_len_bits()
58 return frame_len_bits; in ff_wma_get_frame_len_bits()
Dwma.c100 s->frame_len_bits = ff_wma_get_frame_len_bits(avctx->sample_rate, in ff_wma_init()
102 s->next_block_len_bits = s->frame_len_bits; in ff_wma_init()
103 s->prev_block_len_bits = s->frame_len_bits; in ff_wma_init()
104 s->block_len_bits = s->frame_len_bits; in ff_wma_init()
106 s->frame_len = 1 << s->frame_len_bits; in ff_wma_init()
112 nb_max = s->frame_len_bits - BLOCK_MIN_BITS; in ff_wma_init()
225 a = s->frame_len_bits - BLOCK_MIN_BITS - k; in ff_wma_init()
299 ff_init_ff_sine_windows(s->frame_len_bits - i); in ff_wma_init()
300 s->windows[i] = ff_sine_windows[s->frame_len_bits - i]; in ff_wma_init()
430 int block_len, int frame_len_bits, in ff_wma_run_level_decode() argument
[all …]
Dwmadec.c113 ret = ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, in wma_decode_init()
343 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in decode_exp_vlc()
401 bsize = s->frame_len_bits - s->block_len_bits; in wma_window()
408 bsize = s->frame_len_bits - s->prev_block_len_bits; in wma_window()
422 bsize = s->frame_len_bits - s->block_len_bits; in wma_window()
428 bsize = s->frame_len_bits - s->next_block_len_bits; in wma_window()
467 s->frame_len_bits - v); in wma_decode_block()
470 s->prev_block_len_bits = s->frame_len_bits - v; in wma_decode_block()
475 s->frame_len_bits - v); in wma_decode_block()
478 s->block_len_bits = s->frame_len_bits - v; in wma_decode_block()
[all …]
Dwmaenc.c96 ret = ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0, 1.0); in encode_init()
115 int window_index = s->frame_len_bits - s->block_len_bits; in apply_window_and_mdct()
145 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in init_exp()
167 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in encode_exp_vlc()
209 s->next_block_len_bits = s->frame_len_bits; in encode_block()
210 s->prev_block_len_bits = s->frame_len_bits; in encode_block()
211 s->block_len_bits = s->frame_len_bits; in encode_block()
216 bsize = s->frame_len_bits - s->block_len_bits; in encode_block()
297 if (s->block_len_bits != s->frame_len_bits) in encode_block()
341 put_bits(&s->pb, s->frame_len_bits, run); in encode_block()
[all …]
Dbinkaudio.c79 int frame_len_bits; in decode_init() local
85 frame_len_bits = 9; in decode_init()
87 frame_len_bits = 10; in decode_init()
89 frame_len_bits = 11; in decode_init()
109 frame_len_bits += av_log2(channels); in decode_init()
115 s->frame_len = 1 << frame_len_bits; in decode_init()
142 ret = ff_rdft_init(&s->trans.rdft, frame_len_bits, DFT_C2R); in decode_init()
144 ret = ff_dct_init(&s->trans.dct, frame_len_bits, DCT_III); in decode_init()
Dwma.h101 int frame_len_bits; ///< frame_len = 1 << frame_len_bits member
160 int block_len, int frame_len_bits,