Lines Matching refs:coup
2350 ChannelCoupling *coup = &che->coup; local
2352 coup->coupling_point = 2 * get_bits1(gb);
2353 coup->num_coupled = get_bits(gb, 3);
2354 for (c = 0; c <= coup->num_coupled; c++) {
2356 coup->type[c] = get_bits1(gb) ? TYPE_CPE : TYPE_SCE;
2357 coup->id_select[c] = get_bits(gb, 4);
2358 if (coup->type[c] == TYPE_CPE) {
2359 coup->ch_select[c] = get_bits(gb, 2);
2360 if (coup->ch_select[c] == 3)
2363 coup->ch_select[c] = 2;
2365 coup->coupling_point += get_bits1(gb) || (coup->coupling_point >> 1);
2383 cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb);
2391 if (coup->coupling_point == AFTER_IMDCT) {
2392 coup->gain[c][0] = gain_cache;
2413 coup->gain[c][idx] = gain_cache;
2995 if (cce && cce->coup.coupling_point == coupling_point) {
2996 ChannelCoupling *coup = &cce->coup; local
2998 for (c = 0; c <= coup->num_coupled; c++) {
2999 if (coup->type[c] == type && coup->id_select[c] == elem_id) {
3000 if (coup->ch_select[c] != 1) {
3002 if (coup->ch_select[c] != 0)
3005 if (coup->ch_select[c] != 2)
3008 index += 1 + (coup->ch_select[c] == 3);
3054 if (type != TYPE_CCE || che->coup.coupling_point == AFTER_IMDCT) {