Home
last modified time | relevance | path

Searched refs:lev_code (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Datrac.c94 gc_scale = gc_next->num_points ? gctx->gain_tab1[gc_next->lev_code[0]] in ff_atrac_gain_compensation()
106 lev = gctx->gain_tab1[gc_now->lev_code[i]]; in ff_atrac_gain_compensation()
107 gain_inc = gctx->gain_tab2[(i + 1 < gc_now->num_points ? gc_now->lev_code[i + 1] in ff_atrac_gain_compensation()
109 gc_now->lev_code[i] + 15]; in ff_atrac_gain_compensation()
Datrac3plus.c940 dst->lev_code[i] = (i >= ref->num_points) ? 7 : ref->lev_code[i]; in gainc_level_mode3s()
957 dst->lev_code[0] = get_vlc2(gb, gain_vlc_tabs[2].table, in gainc_level_mode1m()
963 dst->lev_code[i] = (dst->lev_code[i - 1] + delta) & 0xF; in gainc_level_mode1m()
987 chan->gain_data[sb].lev_code[i] = get_bits(gb, 4); in decode_gainc_levels()
996 ? 7 : ref_chan->gain_data[sb].lev_code[i]; in decode_gainc_levels()
997 chan->gain_data[sb].lev_code[i] = (pred + delta) & 0xF; in decode_gainc_levels()
1023 ? 7 : chan->gain_data[sb - 1].lev_code[i]; in decode_gainc_levels()
1024 chan->gain_data[sb].lev_code[i] = (pred + delta) & 0xF; in decode_gainc_levels()
1039 chan->gain_data[sb].lev_code[i] = min_val + get_bitsz(gb, delta_bits); in decode_gainc_levels()
1040 if (chan->gain_data[sb].lev_code[i] > 15) in decode_gainc_levels()
[all …]
Datrac3plusdsp.c440 gain_lev = (g1->num_points > 0) ? (6 - g1->lev_code[0]) : 0; in ff_atrac3p_power_compensation()
443 gcv = FFMAX(gcv, gain_lev - (g2->lev_code[i] - 6)); in ff_atrac3p_power_compensation()
446 gcv = FFMAX(gcv, 6 - g1->lev_code[i]); in ff_atrac3p_power_compensation()
Datrac.h37 int lev_code[7]; ///< level at corresponding control point member
Datrac3.c423 level = gain[b].lev_code; in decode_gain_control()