Home
last modified time | relevance | path

Searched refs:swb_sizes (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc_is.c60 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) in ff_aac_is_encoding_err()
62 s->abs_pow34(L34, &L[start+(w+w2)*128], sce0->ics.swb_sizes[g]); in ff_aac_is_encoding_err()
63 s->abs_pow34(R34, &R[start+(w+w2)*128], sce0->ics.swb_sizes[g]); in ff_aac_is_encoding_err()
64 s->abs_pow34(I34, IS, sce0->ics.swb_sizes[g]); in ff_aac_is_encoding_err()
65 maxval = find_max_val(1, sce0->ics.swb_sizes[g], I34); in ff_aac_is_encoding_err()
68 sce0->ics.swb_sizes[g], in ff_aac_is_encoding_err()
73 sce1->ics.swb_sizes[g], in ff_aac_is_encoding_err()
77 dist2 += quantize_band_cost(s, IS, I34, sce0->ics.swb_sizes[g], in ff_aac_is_encoding_err()
80 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in ff_aac_is_encoding_err()
122 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in ff_aac_search_for_is()
[all …]
Daacenc_ltp.c185 start += sce->ics.swb_sizes[g]; in ff_aac_search_for_ltp()
191 for (i = 0; i < sce->ics.swb_sizes[g]; i++) in ff_aac_search_for_ltp()
193 s->abs_pow34(C34, &sce->coeffs[start+(w+w2)*128], sce->ics.swb_sizes[g]); in ff_aac_search_for_ltp()
194 s->abs_pow34(PCD34, PCD, sce->ics.swb_sizes[g]); in ff_aac_search_for_ltp()
195 … dist1 += quantize_band_cost(s, &sce->coeffs[start+(w+w2)*128], C34, sce->ics.swb_sizes[g], in ff_aac_search_for_ltp()
198 dist2 += quantize_band_cost(s, PCD, PCD34, sce->ics.swb_sizes[g], in ff_aac_search_for_ltp()
207 for (i = 0; i < sce->ics.swb_sizes[g]; i++) in ff_aac_search_for_ltp()
213 start += sce->ics.swb_sizes[g]; in ff_aac_search_for_ltp()
227 for (i = 0; i < sce->ics.swb_sizes[g]; i++) { in ff_aac_search_for_ltp()
232 start += sce->ics.swb_sizes[g]; in ff_aac_search_for_ltp()
Daaccoder.c99 size = sce->ics.swb_sizes[swb]; in encode_window_bands_info()
148 start += sce->ics.swb_sizes[swb]; in encode_window_bands_info()
321 for (i = 0; i < sce->ics.swb_sizes[g]; i++) { in search_for_quantizers_anmr()
342 … maxval = find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], s->scoefs+start); in search_for_quantizers_anmr()
348 … dist += quantize_band_cost(s, coefs + w2*128, s->scoefs + start + w2*128, sce->ics.swb_sizes[g], in search_for_quantizers_anmr()
370 start += sce->ics.swb_sizes[g]; in search_for_quantizers_anmr()
434 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
456 maxvals[w*16+g] = find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], scaled); in search_for_quantizers_fast()
457 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
481 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
[all …]
Daaccoder_twoloop.h220 for (g = start = 0; g < sce->ics.num_swb; start += sce->ics.swb_sizes[g++]) { in search_for_quantizers_twoloop()
278 + 1.75*log2f(FFMAX(0.00125f,uplims[w*16+g]) / sce->ics.swb_sizes[g]) in search_for_quantizers_twoloop()
304 maxvals[w*16+g] = find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], scaled); in search_for_quantizers_twoloop()
310 start += sce->ics.swb_sizes[g]; in search_for_quantizers_twoloop()
330 sce->ics.group_len[w], sce->ics.swb_sizes[g], in search_for_quantizers_twoloop()
331 uplims[w*16+g] / (nzs[g] * sce->ics.swb_sizes[w]), in search_for_quantizers_twoloop()
344 sce->ics.group_len[w], sce->ics.swb_sizes[g], in search_for_quantizers_twoloop()
345 uplims[w*16+g] / (nzs[g] * sce->ics.swb_sizes[w]), in search_for_quantizers_twoloop()
357 start += sce->ics.swb_sizes[g]; in search_for_quantizers_twoloop()
386 start += sce->ics.swb_sizes[g]; in search_for_quantizers_twoloop()
[all …]
Daacenc.c317 start += ics->swb_sizes[g]; in apply_intensity_stereo()
322 for (i = 0; i < ics->swb_sizes[g]; i++) { in apply_intensity_stereo()
327 start += ics->swb_sizes[g]; in apply_intensity_stereo()
350 start += ics->swb_sizes[g]; in apply_mid_side_stereo()
353 for (i = 0; i < ics->swb_sizes[g]; i++) { in apply_mid_side_stereo()
359 start += ics->swb_sizes[g]; in apply_mid_side_stereo()
445 start += sce->ics.swb_sizes[i]; in encode_spectral_coeffs()
451 NULL, sce->ics.swb_sizes[i], in encode_spectral_coeffs()
457 start += sce->ics.swb_sizes[i]; in encode_spectral_coeffs()
474 for (j = 0; j < sce->ics.swb_sizes[i]; j++) in avoid_clipping()
[all …]
Daaccoder_trellis.h81 size = sce->ics.swb_sizes[swb]; in codebook_trellis_rate()
152 start += sce->ics.swb_sizes[swb]; in codebook_trellis_rate()
Daacenc_pred.c175 start += sce0->ics.swb_sizes[g]; in ff_aac_adjust_common_pred()
179 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in ff_aac_adjust_common_pred()
200 start += sce0->ics.swb_sizes[g]; in ff_aac_adjust_common_pred()
Daac.h183 const uint8_t *swb_sizes; ///< table of scalefactor band sizes for a particular window member
/third_party/ffmpeg/libavcodec/mips/
Daaccoder_mips.c2368 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in search_for_ms_mips()
2374 abs_pow34_v(M34, M, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2375 abs_pow34_v(S34, S, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2376 for (i = 0; i < sce0->ics.swb_sizes[g]; i++ ) { in search_for_ms_mips()
2411 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in search_for_ms_mips()
2418 abs_pow34_v(L34, sce0->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2419 abs_pow34_v(R34, sce1->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2420 abs_pow34_v(M34, M, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2421 abs_pow34_v(S34, S, sce0->ics.swb_sizes[g]); in search_for_ms_mips()
2424 sce0->ics.swb_sizes[g], in search_for_ms_mips()
[all …]