Home
last modified time | relevance | path

Searched refs:max_sfb (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daaccoder_trellis.h65 const int max_sfb = sce->ics.max_sfb; in codebook_trellis_rate() local
80 for (swb = 0; swb < max_sfb; swb++) { in codebook_trellis_rate()
159 if (path[max_sfb][cb].cost < path[max_sfb][idx].cost) in codebook_trellis_rate()
161 ppos = max_sfb; in codebook_trellis_rate()
Daacenc.c227 put_bits(&s->pb, 6, info->max_sfb); in put_ics_info()
230 put_bits(&s->pb, 4, info->max_sfb); in put_ics_info()
247 for (i = 0; i < cpe->ch[0].ics.max_sfb; i++) in encode_ms_info()
270 ics->max_sfb = maxsfb; in adjust_frame_information()
274 for (g = 0; g < ics->max_sfb; g++) { in adjust_frame_information()
291 ics0->max_sfb = FFMAX(ics0->max_sfb, ics1->max_sfb); in adjust_frame_information()
292 ics1->max_sfb = ics0->max_sfb; in adjust_frame_information()
294 for (i = 0; i < ics0->max_sfb; i++) in adjust_frame_information()
297 if (msc == 0 || ics0->max_sfb == 0) in adjust_frame_information()
300 cpe->ms_mode = msc < ics0->max_sfb * ics0->num_windows ? 1 : 2; in adjust_frame_information()
[all …]
Daacenc_ltp.c49 for (i = 0; i < FFMIN(ics->max_sfb, MAX_LTP_LONG_SFB); i++) in ff_aac_encode_ltp_info()
143 for (sfb = 0; sfb < FFMIN(sce0->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++) { in ff_aac_adjust_common_ltp()
163 int saved_bits = -(15 + FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB)); in ff_aac_search_for_ltp()
166 const int max_ltp = FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); in ff_aac_search_for_ltp()
Daacenc_pred.c122 const int pmax = FFMIN(sce->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_apply_main_pred()
156 const int pmax0 = FFMIN(sce0->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_adjust_common_pred()
157 const int pmax1 = FFMIN(sce1->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_adjust_common_pred()
236 const int pmax = FFMIN(sce->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_search_for_pred()
336 const int pmax = FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_encode_main_pred()
Daacdec_template.c1385 …for (sfb = 0; sfb < FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[ac->oc[1].m4ac.sampling_index]); sfb++… in decode_prediction()
1395 GetBitContext *gb, uint8_t max_sfb) in decode_ltp() argument
1401 for (sfb = 0; sfb < FFMIN(max_sfb, MAX_LTP_LONG_SFB); sfb++) in decode_ltp()
1439 ics->max_sfb = get_bits(gb, 4); in decode_ics_info()
1459 ics->max_sfb = get_bits(gb, 6); in decode_ics_info()
1507 decode_ltp(&ics->ltp, gb, ics->max_sfb); in decode_ics_info()
1512 if (ics->max_sfb > ics->num_swb) { in decode_ics_info()
1516 ics->max_sfb, ics->num_swb); in decode_ics_info()
1522 ics->max_sfb = 0; in decode_ics_info()
1542 while (k < ics->max_sfb) { in decode_band_types()
[all …]
Daacenc_tns.c107 const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb); in ff_aac_apply_tns()
166 const int mmm = FFMIN(sce->ics.tns_max_bands, sce->ics.max_sfb); in ff_aac_search_for_tns()
Daaccoder.c83 const int max_sfb = sce->ics.max_sfb; in encode_window_bands_info() local
98 for (swb = 0; swb < max_sfb; swb++) { in encode_window_bands_info()
155 if (path[max_sfb][cb].cost < path[max_sfb][idx].cost) in encode_window_bands_info()
157 ppos = max_sfb; in encode_window_bands_info()
Daac.h176 uint8_t max_sfb; ///< number of scalefactor bands per group member
Daacdec_fixed.c372 for (i = 0; i < ics->max_sfb; i++, idx++) { in apply_dependent_coupling_fixed()
Daacdec.c230 for (i = 0; i < ics->max_sfb; i++, idx++) { in apply_dependent_coupling()
/third_party/ffmpeg/libavcodec/mips/
Daacdec_mips.c279 for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++) in apply_ltp_mips()