Lines Matching refs:stages
149 for (j=0; j < stages; j++) {\
198 if (stages > 0)\
199 bit_cache = get_bits (bitbuf, 4*stages);\
201 for (j=0; j < stages; j++) {\
202 entries[j] = (((bit_cache >> (4*(stages - j - 1))) & 0xF) + 16*j) << (level + 1);\
204 mean -= (stages * 128);\
214 int mean, stages;
230 /* get number of stages (-1 skips vector, 0 for mean only) */
231 stages = get_vlc2(bitbuf, svq1_intra_multistage[level].table, 3, 3) - 1;
233 if (stages == -1) {
240 if ((stages > 0) && (level >= 4)) {
242 "Error (svq1_decode_block_intra): invalid vector: stages=%i level=%i\n",
243 stages, level);
249 if (stages == 0) {
269 int mean, stages;
285 /* get number of stages (-1 skips vector, 0 for mean only) */
286 stages = get_vlc2(bitbuf, svq1_inter_multistage[level].table, 3, 2) - 1;
288 if (stages == -1) continue; /* skip vector */
290 if ((stages > 0) && (level >= 4)) {
292 "Error (svq1_decode_block_non_intra): invalid vector: stages=%i level=%i\n",
293 stages, level);