Lines Matching refs:vlc
214 int run, level, sign, vlc, limit;
219 for (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) {
221 if (vlc == INVALID_VLC)
224 sign = (vlc & 0x1) - 1;
225 vlc = (vlc + 1) >> 1;
228 if (vlc < 3) {
230 level = vlc;
231 } else if (vlc < 4) {
235 run = (vlc & 0x3);
236 level = ((vlc + 9) >> 2) - run;
239 if (vlc < 16) {
240 run = svq3_dct_tables[intra][vlc].run;
241 level = svq3_dct_tables[intra][vlc].level;
243 run = (vlc & 0x7);
244 level = (vlc >> 3) + ((run == 0) ? 8 : ((run < 2) ? 2 : ((run < 5) ? 0 : -1)));
246 run = (vlc & 0xF);
247 level = (vlc >> 4) + ((run == 0) ? 4 : ((run < 3) ? 2 : ((run < 10) ? 1 : 0)));
373 av_log(h->s.avctx, AV_LOG_ERROR, "invalid MV vlc\n");
441 uint32_t vlc;
569 vlc = svq3_get_ue_golomb(&s->gb);
571 if (vlc >= 25){
572 av_log(h->s.avctx, AV_LOG_ERROR, "luma prediction:%d\n", vlc);
579 left[1] = svq3_pred_1[top[0] + 1][left[0] + 1][svq3_pred_0[vlc][0]];
580 left[2] = svq3_pred_1[top[1] + 1][left[1] + 1][svq3_pred_0[vlc][1]];
643 if ((vlc = svq3_get_ue_golomb(&s->gb)) >= 48){
644 av_log(h->s.avctx, AV_LOG_ERROR, "cbp_vlc=%d\n", vlc);
648 cbp = IS_INTRA(mb_type) ? golomb_to_intra4x4_cbp[vlc] : golomb_to_inter_cbp[vlc];