Lines Matching defs:vlc
198 int run, level, sign, vlc, limit;
203 for (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) {
205 if (vlc == INVALID_VLC)
208 sign = (vlc & 0x1) - 1;
209 vlc = (vlc + 1) >> 1;
212 if (vlc < 3) {
214 level = vlc;
215 } else if (vlc < 4) {
219 run = (vlc & 0x3);
220 level = ((vlc + 9) >> 2) - run;
223 if (vlc < 16) {
224 run = svq3_dct_tables[intra][vlc].run;
225 level = svq3_dct_tables[intra][vlc].level;
227 run = (vlc & 0x7);
228 level = (vlc >> 3) + ((run == 0) ? 8 : ((run < 2) ? 2 : ((run < 5) ? 0 : -1)));
230 run = (vlc & 0xF);
231 level = (vlc >> 4) + ((run == 0) ? 4 : ((run < 3) ? 2 : ((run < 10) ? 1 : 0)));
357 av_log(h->s.avctx, AV_LOG_ERROR, "invalid MV vlc\n");
422 uint32_t vlc;
550 vlc = svq3_get_ue_golomb(&s->gb);
552 if (vlc >= 25){
553 av_log(h->s.avctx, AV_LOG_ERROR, "luma prediction:%d\n", vlc);
560 left[1] = svq3_pred_1[top[0] + 1][left[0] + 1][svq3_pred_0[vlc][0]];
561 left[2] = svq3_pred_1[top[1] + 1][left[1] + 1][svq3_pred_0[vlc][1]];
623 if ((vlc = svq3_get_ue_golomb(&s->gb)) >= 48){
624 av_log(h->s.avctx, AV_LOG_ERROR, "cbp_vlc=%d\n", vlc);
628 cbp = IS_INTRA(mb_type) ? golomb_to_intra4x4_cbp[vlc] : golomb_to_inter_cbp[vlc];