Lines Matching defs:sce0

764     SingleChannelElement *sce0 = &cpe->ch[0];
770 ff_init_nextband_map(sce0, nextband0);
773 prev_mid = sce0->sf_idx[0];
775 for (w = 0; w < sce0->ics.num_windows; w += sce0->ics.group_len[w]) {
777 for (g = 0; g < sce0->ics.num_swb; g++) {
778 float bmax = bval2bmax(g * 17.0f / sce0->ics.num_swb) / 0.0045f;
781 if (!sce0->zeroes[w*16+g] && !sce1->zeroes[w*16+g] && !cpe->is_mask[w*16+g]) {
785 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) {
786 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
787 M[i] = (sce0->coeffs[start+(w+w2)*128+i]
792 s->abs_pow34(M34, M, sce0->ics.swb_sizes[g]);
793 s->abs_pow34(S34, S, sce0->ics.swb_sizes[g]);
794 for (i = 0; i < sce0->ics.swb_sizes[g]; i++ ) {
807 minidx = FFMIN(sce0->sf_idx[w*16+g], sce1->sf_idx[w*16+g]);
810 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT
811 && ( !ff_sfdelta_can_replace(sce0, nextband0, prev_mid, mididx, w*16+g)
824 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) {
829 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
830 M[i] = (sce0->coeffs[start+(w+w2)*128+i]
836 s->abs_pow34(L34, sce0->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]);
837 s->abs_pow34(R34, sce1->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]);
838 s->abs_pow34(M34, M, sce0->ics.swb_sizes[g]);
839 s->abs_pow34(S34, S, sce0->ics.swb_sizes[g]);
840 dist1 += quantize_band_cost(s, &sce0->coeffs[start + (w+w2)*128],
842 sce0->ics.swb_sizes[g],
843 sce0->sf_idx[w*16+g],
844 sce0->band_type[w*16+g],
854 sce0->ics.swb_sizes[g],
871 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT) {
872 sce0->sf_idx[w*16+g] = mididx;
874 sce0->band_type[w*16+g] = midcb;
876 } else if ((sce0->band_type[w*16+g] != NOISE_BT) ^ (sce1->band_type[w*16+g] != NOISE_BT)) {
887 if (!sce0->zeroes[w*16+g] && sce0->band_type[w*16+g] < RESERVED_BT)
888 prev_mid = sce0->sf_idx[w*16+g];
891 start += sce0->ics.swb_sizes[g];