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.c98 s->frame_len_bits = ff_wma_get_frame_len_bits(avctx->sample_rate, in ff_wma_init()
100 s->next_block_len_bits = s->frame_len_bits; in ff_wma_init()
101 s->prev_block_len_bits = s->frame_len_bits; in ff_wma_init()
102 s->block_len_bits = s->frame_len_bits; in ff_wma_init()
104 s->frame_len = 1 << s->frame_len_bits; in ff_wma_init()
110 nb_max = s->frame_len_bits - BLOCK_MIN_BITS; in ff_wma_init()
223 a = s->frame_len_bits - BLOCK_MIN_BITS - k; in ff_wma_init()
297 ff_init_ff_sine_windows(s->frame_len_bits - i); in ff_wma_init()
298 s->windows[i] = ff_sine_windows[s->frame_len_bits - i]; in ff_wma_init()
428 int block_len, int frame_len_bits, in ff_wma_run_level_decode() argument
[all …]
Dwmadec.c110 ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 1, 1.0 / 32768.0); in wma_decode_init()
327 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in decode_exp_vlc()
385 bsize = s->frame_len_bits - s->block_len_bits; in wma_window()
392 bsize = s->frame_len_bits - s->prev_block_len_bits; in wma_window()
406 bsize = s->frame_len_bits - s->block_len_bits; in wma_window()
412 bsize = s->frame_len_bits - s->next_block_len_bits; in wma_window()
450 s->frame_len_bits - v); in wma_decode_block()
453 s->prev_block_len_bits = s->frame_len_bits - v; in wma_decode_block()
458 s->frame_len_bits - v); in wma_decode_block()
461 s->block_len_bits = s->frame_len_bits - v; in wma_decode_block()
[all …]
Dwmaenc.c92 ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0, 1.0); in encode_init()
108 int window_index = s->frame_len_bits - s->block_len_bits; in apply_window_and_mdct()
138 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in init_exp()
160 ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits]; in encode_exp_vlc()
201 s->next_block_len_bits = s->frame_len_bits; in encode_block()
202 s->prev_block_len_bits = s->frame_len_bits; in encode_block()
203 s->block_len_bits = s->frame_len_bits; in encode_block()
208 bsize = s->frame_len_bits - s->block_len_bits; in encode_block()
289 if (s->block_len_bits != s->frame_len_bits) in encode_block()
333 put_bits(&s->pb, s->frame_len_bits, run); in encode_block()
[all …]
Dbinkaudio.c74 int frame_len_bits; in decode_init() local
78 frame_len_bits = 9; in decode_init()
80 frame_len_bits = 10; in decode_init()
82 frame_len_bits = 11; in decode_init()
102 frame_len_bits += av_log2(avctx->channels); in decode_init()
108 s->frame_len = 1 << frame_len_bits; in decode_init()
135 ret = ff_rdft_init(&s->trans.rdft, frame_len_bits, DFT_C2R); in decode_init()
137 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
158 int block_len, int frame_len_bits,