Lines Matching defs:coup
2102 ChannelCoupling *coup = &che->coup;
2104 coup->coupling_point = 2 * get_bits1(gb);
2105 coup->num_coupled = get_bits(gb, 3);
2106 for (c = 0; c <= coup->num_coupled; c++) {
2108 coup->type[c] = get_bits1(gb) ? TYPE_CPE : TYPE_SCE;
2109 coup->id_select[c] = get_bits(gb, 4);
2110 if (coup->type[c] == TYPE_CPE) {
2111 coup->ch_select[c] = get_bits(gb, 2);
2112 if (coup->ch_select[c] == 3)
2115 coup->ch_select[c] = 2;
2117 coup->coupling_point += get_bits1(gb) || (coup->coupling_point >> 1);
2131 cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb);
2135 if (coup->coupling_point == AFTER_IMDCT) {
2136 coup->gain[c][0] = gain_cache;
2153 coup->gain[c][idx] = gain_cache;
2631 const float gain = cce->coup.gain[index][idx];
2655 const float gain = cce->coup.gain[index][0];
2680 if (cce && cce->coup.coupling_point == coupling_point) {
2681 ChannelCoupling *coup = &cce->coup;
2683 for (c = 0; c <= coup->num_coupled; c++) {
2684 if (coup->type[c] == type && coup->id_select[c] == elem_id) {
2685 if (coup->ch_select[c] != 1) {
2687 if (coup->ch_select[c] != 0)
2690 if (coup->ch_select[c] != 2)
2693 index += 1 + (coup->ch_select[c] == 3);
2736 if (type != TYPE_CCE || che->coup.coupling_point == AFTER_IMDCT) {