Lines Matching defs:sce0

2346     SingleChannelElement *sce0 = &cpe->ch[0];
2352 ff_init_nextband_map(sce0, nextband0);
2355 prev_mid = sce0->sf_idx[0];
2357 for (w = 0; w < sce0->ics.num_windows; w += sce0->ics.group_len[w]) {
2359 for (g = 0; g < sce0->ics.num_swb; g++) {
2360 float bmax = bval2bmax(g * 17.0f / sce0->ics.num_swb) / 0.0045f;
2363 if (!sce0->zeroes[w*16+g] && !sce1->zeroes[w*16+g] && !cpe->is_mask[w*16+g]) {
2367 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) {
2368 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
2369 M[i] = (sce0->coeffs[start+(w+w2)*128+i]
2374 abs_pow34_v(M34, M, sce0->ics.swb_sizes[g]);
2375 abs_pow34_v(S34, S, sce0->ics.swb_sizes[g]);
2376 for (i = 0; i < sce0->ics.swb_sizes[g]; i++ ) {
2389 minidx = FFMIN(sce0->sf_idx[w*16+g], sce1->sf_idx[w*16+g]);
2392 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT
2393 && ( !ff_sfdelta_can_replace(sce0, nextband0, prev_mid, mididx, w*16+g)
2406 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) {
2411 for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
2412 M[i] = (sce0->coeffs[start+(w+w2)*128+i]
2418 abs_pow34_v(L34, sce0->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]);
2419 abs_pow34_v(R34, sce1->coeffs+start+(w+w2)*128, sce0->ics.swb_sizes[g]);
2420 abs_pow34_v(M34, M, sce0->ics.swb_sizes[g]);
2421 abs_pow34_v(S34, S, sce0->ics.swb_sizes[g]);
2422 dist1 += quantize_band_cost(s, &sce0->coeffs[start + (w+w2)*128],
2424 sce0->ics.swb_sizes[g],
2425 sce0->sf_idx[w*16+g],
2426 sce0->band_type[w*16+g],
2436 sce0->ics.swb_sizes[g],
2453 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT) {
2454 sce0->sf_idx[w*16+g] = mididx;
2456 sce0->band_type[w*16+g] = midcb;
2458 } else if ((sce0->band_type[w*16+g] != NOISE_BT) ^ (sce1->band_type[w*16+g] != NOISE_BT)) {
2469 if (!sce0->zeroes[w*16+g] && sce0->band_type[w*16+g] < RESERVED_BT)
2470 prev_mid = sce0->sf_idx[w*16+g];
2473 start += sce0->ics.swb_sizes[g];