• Home
  • Raw
  • Download

Lines Matching refs:ics

83     const int max_sfb  = sce->ics.max_sfb;  in encode_window_bands_info()
84 const int run_bits = sce->ics.num_windows == 1 ? 5 : 3; in encode_window_bands_info()
99 size = sce->ics.swb_sizes[swb]; in encode_window_bands_info()
130 if ( run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run] in encode_window_bands_info()
131 != run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run+1]) in encode_window_bands_info()
148 start += sce->ics.swb_sizes[swb]; in encode_window_bands_info()
202 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in set_special_band_scalefactors()
203 for (g = 0; g < sce->ics.num_swb; g++) { in set_special_band_scalefactors()
222 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in set_special_band_scalefactors()
223 for (g = 0; g < sce->ics.num_swb; g++) { in set_special_band_scalefactors()
303 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_anmr()
305 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_quantizers_anmr()
313 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_quantizers_anmr()
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()
346 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { 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()
389 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) in search_for_quantizers_anmr()
390 for (g = 0; g < sce->ics.num_swb; g++) in search_for_quantizers_anmr()
391 for (w2 = 1; w2 < sce->ics.group_len[w]; w2++) in search_for_quantizers_anmr()
413 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_fast()
415 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_quantizers_fast()
418 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_quantizers_fast()
434 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
437 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_fast()
438 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_quantizers_fast()
452 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_fast()
454 for (g = 0; g < sce->ics.num_swb; 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()
471 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_fast()
473 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_quantizers_fast()
481 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
486 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_quantizers_fast()
491 sce->ics.swb_sizes[g], in search_for_quantizers_fast()
502 start += sce->ics.swb_sizes[g]; in search_for_quantizers_fast()
523 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_fast()
524 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_quantizers_fast()
547 int wlen = 1024 / sce->ics.num_windows; in search_for_pns()
582 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_pns()
584 for (g = 0; g < sce->ics.num_swb; g++) { in search_for_pns()
590 const int start = wstart+sce->ics.swb_offset[g]; in search_for_pns()
598 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_pns()
642 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_pns()
644 const int start_c = (w+w2)*128+sce->ics.swb_offset[g]; in search_for_pns()
646 for (i = 0; i < sce->ics.swb_sizes[g]; i++) { in search_for_pns()
650 band_energy = s->fdsp->scalarproduct_float(PNS, PNS, sce->ics.swb_sizes[g]); in search_for_pns()
652 s->fdsp->vector_fmul_scalar(PNS, PNS, scale, sce->ics.swb_sizes[g]); in search_for_pns()
653 pns_senergy = s->fdsp->scalarproduct_float(PNS, PNS, sce->ics.swb_sizes[g]); in search_for_pns()
655 s->abs_pow34(NOR34, &sce->coeffs[start_c], sce->ics.swb_sizes[g]); in search_for_pns()
656 s->abs_pow34(PNS34, PNS, sce->ics.swb_sizes[g]); in search_for_pns()
659 sce->ics.swb_sizes[g], in search_for_pns()
689 int wlen = 1024 / sce->ics.num_windows; in mark_pns()
717 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in mark_pns()
718 for (g = 0; g < sce->ics.num_swb; g++) { in mark_pns()
721 const int start = sce->ics.swb_offset[g]; in mark_pns()
728 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in mark_pns()
776 for (w = 0; w < sce0->ics.num_windows; w += sce0->ics.group_len[w]) { in search_for_ms()
778 for (g = 0; g < sce0->ics.num_swb; g++) { in search_for_ms()
779 float bmax = bval2bmax(g * 17.0f / sce0->ics.num_swb) / 0.0045f; in search_for_ms()
786 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) { in search_for_ms()
787 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in search_for_ms()
793 s->abs_pow34(M34, M, sce0->ics.swb_sizes[g]); in search_for_ms()
794 s->abs_pow34(S34, S, sce0->ics.swb_sizes[g]); in search_for_ms()
795 for (i = 0; i < sce0->ics.swb_sizes[g]; i++ ) { in search_for_ms()
825 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) { in search_for_ms()
830 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { in search_for_ms()
837 s->abs_pow34(L34, sce0->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]); in search_for_ms()
838 s->abs_pow34(R34, sce1->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]); in search_for_ms()
839 s->abs_pow34(M34, M, sce0->ics.swb_sizes[g]); in search_for_ms()
840 s->abs_pow34(S34, S, sce0->ics.swb_sizes[g]); in search_for_ms()
843 sce0->ics.swb_sizes[g], in search_for_ms()
849 sce1->ics.swb_sizes[g], in search_for_ms()
855 sce0->ics.swb_sizes[g], in search_for_ms()
861 sce1->ics.swb_sizes[g], in search_for_ms()
892 start += sce0->ics.swb_sizes[g]; in search_for_ms()