Lines Matching refs:stages
122 for (j = 0; j < stages; j++) { \
145 if (stages > 0) \
146 bit_cache = get_bits(bitbuf, 4 * stages); \
148 for (j = 0; j < stages; j++) { \
149 entries[j] = (((bit_cache >> (4 * (stages - j - 1))) & 0xF) + \
152 mean -= stages * 128; \
164 int mean, stages;
180 /* get number of stages (-1 skips vector, 0 for mean only) */
181 stages = get_vlc2(bitbuf, svq1_intra_multistage[level].table, 3, 3) - 1;
183 if (stages == -1) {
189 if (stages > 0 && level >= 4) {
191 "Error (svq1_decode_block_intra): invalid vector: stages=%i level=%i\n",
192 stages, level);
198 if (stages == 0) {
229 int mean, stages;
245 /* get number of stages (-1 skips vector, 0 for mean only) */
246 stages = get_vlc2(bitbuf, svq1_inter_multistage[level].table, 3, 2) - 1;
248 if (stages == -1)
251 if ((stages > 0) && (level >= 4)) {
253 "Error (svq1_decode_block_non_intra): invalid vector: stages=%i level=%i\n",
254 stages, level);