Lines Matching refs:qn
95 VOID ixheaacd_qn_data(WORD32 nk_mode, WORD32 *qn, in ixheaacd_qn_data() argument
102 qn[k] += 1; in ixheaacd_qn_data()
104 if (qn[k] > 0) qn[k] += 1; in ixheaacd_qn_data()
111 qn[k] = 2 + ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_qn_data()
115 if (qn[k] > 4) { in ixheaacd_qn_data()
116 qn[k] = 0; in ixheaacd_qn_data()
118 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) qn[k] += 1; in ixheaacd_qn_data()
120 if (qn[k] > 0) qn[k] += 4; in ixheaacd_qn_data()
125 if (qn[k] > 4) { in ixheaacd_qn_data()
131 qn[k] = 5; in ixheaacd_qn_data()
134 qn[k] = 6; in ixheaacd_qn_data()
137 qn[k] = 0; in ixheaacd_qn_data()
140 qn[k] = qn_ext + 4; in ixheaacd_qn_data()
154 WORD32 k, qn[2] = {0, 0}, nk, n, i; in ixheaacd_code_book_indices() local
156 ixheaacd_qn_data(nk_mode, &qn[0], it_bit_buff); in ixheaacd_code_book_indices()
158 pstr_td_frame_data->lpc_first_approx_idx[(*pos)++] = qn[0]; in ixheaacd_code_book_indices()
159 pstr_td_frame_data->lpc_first_approx_idx[(*pos)++] = qn[1]; in ixheaacd_code_book_indices()
162 if (qn[k] > 0) { in ixheaacd_code_book_indices()
163 if (qn[k] > 4) { in ixheaacd_code_book_indices()
164 nk = (qn[k] - 3) / 2; in ixheaacd_code_book_indices()
165 n = qn[k] - nk * 2; in ixheaacd_code_book_indices()
168 n = qn[k]; in ixheaacd_code_book_indices()
238 WORD32 i, j, n, qn, nk, kv[8]; in ixheaacd_fac_decoding() local
242 qn = 0; in ixheaacd_fac_decoding()
244 qn += 1; in ixheaacd_fac_decoding()
246 if (qn != 0) qn += 1; in ixheaacd_fac_decoding()
249 n = qn; in ixheaacd_fac_decoding()
250 if (qn > 4) { in ixheaacd_fac_decoding()
251 nk = (qn - 3) >> 1; in ixheaacd_fac_decoding()
252 n = qn - nk * 2; in ixheaacd_fac_decoding()
261 ixheaacd_rotated_gosset_mtx_dec(qn, code_book_index, kv, in ixheaacd_fac_decoding()