• Home
  • Raw
  • Download

Lines Matching refs:level

80         int level, run;  in ff_init_2d_vlc_rl()  local
84 level = MAX_LEVEL; in ff_init_2d_vlc_rl()
87 level = code; in ff_init_2d_vlc_rl()
91 level = 0; in ff_init_2d_vlc_rl()
94 level = 127; in ff_init_2d_vlc_rl()
97 level = rl->table_level[code]; in ff_init_2d_vlc_rl()
101 rl->rl_vlc[0][i].level = level; in ff_init_2d_vlc_rl()
266 int level, run, j; in ff_mpeg1_decode_block_intra() local
268 GET_RL_VLC(level, run, re, gb, rl->rl_vlc[0], in ff_mpeg1_decode_block_intra()
271 if (level != 0) { in ff_mpeg1_decode_block_intra()
277 level = (level * qscale * quant_matrix[j]) >> 4; in ff_mpeg1_decode_block_intra()
278 level = (level - 1) | 1; in ff_mpeg1_decode_block_intra()
279 level = (level ^ SHOW_SBITS(re, gb, 1)) - in ff_mpeg1_decode_block_intra()
287 level = SHOW_SBITS(re, gb, 8); in ff_mpeg1_decode_block_intra()
290 if (level == -128) { in ff_mpeg1_decode_block_intra()
291 level = SHOW_UBITS(re, gb, 8) - 256; in ff_mpeg1_decode_block_intra()
293 } else if (level == 0) { in ff_mpeg1_decode_block_intra()
294 level = SHOW_UBITS(re, gb, 8); in ff_mpeg1_decode_block_intra()
303 if (level < 0) { in ff_mpeg1_decode_block_intra()
304 level = -level; in ff_mpeg1_decode_block_intra()
305 level = (level * qscale * quant_matrix[j]) >> 4; in ff_mpeg1_decode_block_intra()
306 level = (level - 1) | 1; in ff_mpeg1_decode_block_intra()
307 level = -level; in ff_mpeg1_decode_block_intra()
309 level = (level * qscale * quant_matrix[j]) >> 4; in ff_mpeg1_decode_block_intra()
310 level = (level - 1) | 1; in ff_mpeg1_decode_block_intra()
314 block[j] = level; in ff_mpeg1_decode_block_intra()