Lines Matching defs:coup
1557 ChannelCoupling *coup = &che->coup;
1559 coup->coupling_point = 2 * get_bits1(gb);
1560 coup->num_coupled = get_bits(gb, 3);
1561 for (c = 0; c <= coup->num_coupled; c++) {
1563 coup->type[c] = get_bits1(gb) ? TYPE_CPE : TYPE_SCE;
1564 coup->id_select[c] = get_bits(gb, 4);
1565 if (coup->type[c] == TYPE_CPE) {
1566 coup->ch_select[c] = get_bits(gb, 2);
1567 if (coup->ch_select[c] == 3)
1570 coup->ch_select[c] = 2;
1572 coup->coupling_point += get_bits1(gb) || (coup->coupling_point >> 1);
1586 cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb);
1590 if (coup->coupling_point == AFTER_IMDCT) {
1591 coup->gain[c][0] = gain_cache;
1608 coup->gain[c][idx] = gain_cache;
1976 const float gain = cce->coup.gain[index][idx];
2000 const float gain = cce->coup.gain[index][0];
2025 if (cce && cce->coup.coupling_point == coupling_point) {
2026 ChannelCoupling *coup = &cce->coup;
2028 for (c = 0; c <= coup->num_coupled; c++) {
2029 if (coup->type[c] == type && coup->id_select[c] == elem_id) {
2030 if (coup->ch_select[c] != 1) {
2032 if (coup->ch_select[c] != 0)
2035 if (coup->ch_select[c] != 2)
2038 index += 1 + (coup->ch_select[c] == 3);
2070 if (type != TYPE_CCE || che->coup.coupling_point == AFTER_IMDCT) {