Lines Matching defs:index
130 Word16 -- index of quantization
179 Word16 q_gain_pitch( /* Return index of quantization */
189 Word16 index;
196 index = 0;
208 index = i;
215 /* in MR795 mode, compute three gain_pit candidates around the index
216 * found in the quantization loop: the index found and the two direct
222 if (index == 0)
224 ii = index;
228 if (index == (NB_QUA_PITCH - 1) ||
229 (qua_gain_pitch[index+1] > gp_limit))
231 ii = index - 2;
235 ii = index - 1;
248 *gain = qua_gain_pitch[index];
252 /* in MR122 mode, just return the index and gain pitch found.
259 *gain = qua_gain_pitch[index] & 0xFFFC;
263 *gain = qua_gain_pitch[index];
266 return index;