/third_party/ffmpeg/libavcodec/ |
D | sheervideo.c | 68 a = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4i() 69 y = get_vlc2(gb, s->vlc[0].table, SHEER_VLC_BITS, 2); in decode_ca4i() 70 u = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4i() 71 v = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4i() 111 a = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4p() 112 y = get_vlc2(gb, s->vlc[0].table, SHEER_VLC_BITS, 2); in decode_ca4p() 113 u = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4p() 114 v = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4p() 151 a = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4p() 152 y = get_vlc2(gb, s->vlc[0].table, SHEER_VLC_BITS, 2); in decode_ca4p() [all …]
|
D | atrac3plus.c | 265 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_wordlen() 299 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_wordlen() 304 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_wordlen() 318 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_wordlen() 325 get_vlc2(gb, vlc_tab->table, in decode_channel_wordlen() 328 get_vlc2(gb, vlc_tab->table, in decode_channel_wordlen() 334 get_vlc2(gb, vlc_tab->table, in decode_channel_wordlen() 351 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_wordlen() 406 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_sf_idx() 451 delta = get_vlc2(gb, vlc_tab->table, vlc_tab->bits, 1); in decode_channel_sf_idx() [all …]
|
D | mpc8.c | 208 maxband = c->last_max_band + get_vlc2(gb, band_vlc.table, MPC8_BANDS_BITS, 2); in mpc8_decode_frame() 228 last[ch] = get_vlc2(gb, res_vlc[last[ch] > 2].table, MPC8_RES_BITS, 2) + last[ch]; in mpc8_decode_frame() 261 t = get_vlc2(gb, scfi_vlc[cnt].table, scfi_vlc[cnt].bits, 1); in mpc8_decode_frame() 276 t = get_vlc2(gb, dscf_vlc[1].table, MPC8_DSCF1_BITS, 2); in mpc8_decode_frame() 285 t = get_vlc2(gb, dscf_vlc[0].table, MPC8_DSCF0_BITS, 2); in mpc8_decode_frame() 306 cnt = get_vlc2(gb, q1_vlc.table, MPC8_Q1_BITS, 2); in mpc8_decode_frame() 316 t = get_vlc2(gb, q2_vlc[cnt > 3].table, MPC8_Q2_BITS, 2); in mpc8_decode_frame() 326 t = get_vlc2(gb, q3_vlc[res - 3].table, MPC8_Q3_BITS, 2); in mpc8_decode_frame() 338 c->Q[ch][off + j] = get_vlc2(gb, vlc->table, vlc->bits, 2); in mpc8_decode_frame() 344 c->Q[ch][off + j] = get_vlc2(gb, q9up_vlc.table, MPC8_Q9UP_BITS, 2); in mpc8_decode_frame()
|
D | msmpeg4dec.c | 75 code = get_vlc2(&s->gb, ff_h263_mv_vlc.table, H263_MV_VLC_BITS, 2); in msmpeg4v2_decode_motion() 125 code = get_vlc2(&s->gb, v2_mb_type_vlc.table, V2_MB_TYPE_VLC_BITS, 1); in msmpeg4v12_decode_mb() 127 code = get_vlc2(&s->gb, ff_h263_inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); in msmpeg4v12_decode_mb() 139 cbp= get_vlc2(&s->gb, v2_intra_cbpc_vlc.table, V2_INTRA_CBPC_VLC_BITS, 1); in msmpeg4v12_decode_mb() 141 cbp= get_vlc2(&s->gb, ff_h263_intra_MCBPC_vlc.table, INTRA_MCBPC_VLC_BITS, 2); in msmpeg4v12_decode_mb() 151 cbpy= get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in msmpeg4v12_decode_mb() 173 v = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in msmpeg4v12_decode_mb() 181 v = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in msmpeg4v12_decode_mb() 230 … code = get_vlc2(&s->gb, ff_mb_non_intra_vlc[DEFAULT_INTER_INDEX].table, MB_NON_INTRA_VLC_BITS, 3); in msmpeg4v34_decode_mb() 237 code = get_vlc2(&s->gb, ff_msmp4_mb_i_vlc.table, MB_INTRA_VLC_BITS, 2); in msmpeg4v34_decode_mb() [all …]
|
D | mpc7.c | 135 t = get_vlc2(gb, quant_vlc[0][i1].table, 9, 2); in idx_to_quant() 144 t = get_vlc2(gb, quant_vlc[1][i1].table, 9, 2); in idx_to_quant() 152 *dst++ = get_vlc2(gb, quant_vlc[idx-1][i1].table, 9, 2); in idx_to_quant() 167 int t = get_vlc2(gb, dscf_vlc.table, MPC7_DSCF_BITS, 1); in get_scale_idx() 222 int t = i ? get_vlc2(&gb, hdr_vlc.table, MPC7_HDR_BITS, 1) : 4; in mpc7_decode_frame() 239 … if(bands[i].res[ch]) bands[i].scfi[ch] = get_vlc2(&gb, scfi_vlc.table, MPC7_SCFI_BITS, 1); in mpc7_decode_frame()
|
D | vc1_block.c | 225 index = 1 + get_vlc2(gb, ff_vc1_mv_diff_vlc[s->mv_table_index].table, \ 280 index = get_vlc2(gb, v->imv_vlc->table, bits, 3); in get_mvdata_interlaced() 517 index = get_vlc2(gb, ff_vc1_ac_coeff_table[codingset].table, AC_VLC_BITS, 3); in vc1_decode_ac_coeff() 528 index = get_vlc2(gb, ff_vc1_ac_coeff_table[codingset].table, AC_VLC_BITS, 3); in vc1_decode_ac_coeff() 591 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_luma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_i_block() 593 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_chroma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_i_block() 735 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_luma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_i_block_adv() 737 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_chroma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_i_block_adv() 935 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_luma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_intra_block() 937 dcdiff = get_vlc2(&s->gb, ff_msmp4_dc_chroma_vlc[s->dc_table_index].table, DC_VLC_BITS, 3); in vc1_decode_intra_block() [all …]
|
D | mpeg12.h | 45 code = get_vlc2(gb, ff_dc_lum_vlc.table, DC_VLC_BITS, 2); in decode_dc() 47 code = get_vlc2(gb, ff_dc_chroma_vlc.table, DC_VLC_BITS, 2); in decode_dc()
|
D | ylc.c | 361 int val = get_vlc2(&gb, s->vlc[0].table, YLC_VLC_BITS, 3); in decode_frame() 384 y1 = get_vlc2(&gb, s->vlc[1].table, YLC_VLC_BITS, 3); in decode_frame() 385 u = get_vlc2(&gb, s->vlc[2].table, YLC_VLC_BITS, 3); in decode_frame() 386 y2 = get_vlc2(&gb, s->vlc[1].table, YLC_VLC_BITS, 3); in decode_frame() 387 v = get_vlc2(&gb, s->vlc[3].table, YLC_VLC_BITS, 3); in decode_frame()
|
D | rv40.c | 178 pattern = get_vlc2(gb, aic_top_vlc.table, AIC_TOP_BITS, 1); in rv40_decode_intra_types() 201 AV_WN16(ptr, get_vlc2(gb, aic_mode2_vlc[k].table, AIC_MODE2_BITS, 2)); in rv40_decode_intra_types() 206 v = get_vlc2(gb, aic_mode1_vlc[B + C*10].table, AIC_MODE1_BITS, 1); in rv40_decode_intra_types() 270 q = get_vlc2(gb, ptype_vlc[prev_type].table, PTYPE_VLC_BITS, 1); in rv40_decode_mb_info() 273 q = get_vlc2(gb, ptype_vlc[prev_type].table, PTYPE_VLC_BITS, 1); in rv40_decode_mb_info() 277 q = get_vlc2(gb, btype_vlc[prev_type].table, BTYPE_VLC_BITS, 1); in rv40_decode_mb_info() 280 q = get_vlc2(gb, btype_vlc[prev_type].table, BTYPE_VLC_BITS, 1); in rv40_decode_mb_info()
|
D | h264_cavlc.c | 447 … coeff_token = get_vlc2(gb, chroma_dc_coeff_token_vlc.table, CHROMA_DC_COEFF_TOKEN_VLC_BITS, 1); in decode_residual() 449 …coeff_token = get_vlc2(gb, chroma422_dc_coeff_token_vlc.table, CHROMA422_DC_COEFF_TOKEN_VLC_BITS, … in decode_residual() 454 …coeff_token= get_vlc2(gb, coeff_token_vlc[ coeff_token_table_index[total_coeff] ].table, COEFF_TOK… in decode_residual() 458 …coeff_token= get_vlc2(gb, coeff_token_vlc[ coeff_token_table_index[total_coeff] ].table, COEFF_TOK… in decode_residual() 568 zeros_left = get_vlc2(gb, chroma_dc_total_zeros_vlc[total_coeff].table, in decode_residual() 571 zeros_left = get_vlc2(gb, chroma422_dc_total_zeros_vlc[total_coeff].table, in decode_residual() 574 zeros_left= get_vlc2(gb, total_zeros_vlc[ total_coeff ].table, TOTAL_ZEROS_VLC_BITS, 1); in decode_residual() 584 run_before= get_vlc2(gb, run_vlc[zeros_left].table, RUN_VLC_BITS, 1); \ in decode_residual() 586 run_before= get_vlc2(gb, run7_vlc.table, RUN7_VLC_BITS, 2); \ in decode_residual() 599 run_before= get_vlc2(gb, run_vlc[zeros_left].table, RUN_VLC_BITS, 1); \ in decode_residual() [all …]
|
D | svq1dec.c | 190 stages = get_vlc2(bitbuf, svq1_intra_multistage[level].table, 3, 3) - 1; in svq1_decode_block_intra() 206 mean = get_vlc2(bitbuf, svq1_intra_mean.table, 8, 3); in svq1_decode_block_intra() 257 stages = get_vlc2(bitbuf, svq1_inter_multistage[level].table, 3, 2) - 1; in svq1_decode_block_non_intra() 270 mean = get_vlc2(bitbuf, svq1_inter_mean.table, 9, 3) - 256; in svq1_decode_block_non_intra() 298 diff = get_vlc2(bitbuf, svq1_motion_component.table, 7, 2); in svq1_decode_motion_vector() 463 block_type = get_vlc2(bitbuf, svq1_block_type.table, in svq1_decode_delta_block()
|
D | indeo4.c | 518 mb->q_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 556 mb->q_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 576 mv_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 579 mv_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 585 mv_delta = get_vlc2(&ctx->gb, in decode_mb_info() 589 mv_delta = get_vlc2(&ctx->gb, in decode_mb_info()
|
D | ralf.c | 236 ctx->filter_params = get_vlc2(gb, set->filter_params.table, 9, 2); in decode_channel() 249 ctx->bias[ch] = get_vlc2(gb, set->bias.table, 9, 2); in decode_channel() 264 t = get_vlc2(gb, vlc[cmode].table, vlc[cmode].bits, 2); in decode_channel() 284 code_params = get_vlc2(gb, set->coding_mode.table, set->coding_mode.bits, 2); in decode_channel() 302 t = get_vlc2(gb, code_vlc->table, code_vlc->bits, 2); in decode_channel()
|
D | ituh263dec.c | 272 code = get_vlc2(&s->gb, ff_h263_mv_vlc.table, H263_MV_VLC_BITS, 2); in ff_h263_decode_motion() 365 cbpc = get_vlc2(&s->gb, ff_h263_inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); in preview_obmc() 371 get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in preview_obmc() 721 cbpc = get_vlc2(&s->gb, ff_h263_inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); in ff_h263_decode_mb() 736 cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in ff_h263_decode_mb() 817 mb_type= get_vlc2(&s->gb, h263_mbtype_b_vlc.table, H263_MBTYPE_B_VLC_BITS, 2); in ff_h263_decode_mb() 829 cbpc = get_vlc2(&s->gb, cbpc_b_vlc.table, CBPC_B_VLC_BITS, 1); in ff_h263_decode_mb() 835 cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in ff_h263_decode_mb() 921 cbpc = get_vlc2(&s->gb, ff_h263_intra_MCBPC_vlc.table, INTRA_MCBPC_VLC_BITS, 2); in ff_h263_decode_mb() 946 cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in ff_h263_decode_mb()
|
D | faxcompr.c | 216 t = get_vlc2(gb, ccitt_vlc[mode].table, 9, 2); in decode_group3_1d_line() 264 cmode = get_vlc2(gb, ccitt_group3_2d_vlc.table, 9, 1); in decode_group3_2d_line() 288 t = get_vlc2(gb, ccitt_vlc[mode].table, 9, 2); in decode_group3_2d_line()
|
D | smacker.c | 158 i1 = ctx->v1->table ? get_vlc2(gb, ctx->v1->table, SMKTREE_BITS, 3) in smacker_decode_bigtree() 160 i2 = ctx->v2->table ? get_vlc2(gb, ctx->v2->table, SMKTREE_BITS, 3) in smacker_decode_bigtree() 680 res = get_vlc2(&gb, vlc[idx].table, SMKTREE_BITS, 3); in smka_decode_frame() 685 res = get_vlc2(&gb, vlc[idx].table, SMKTREE_BITS, 3); in smka_decode_frame() 704 val = get_vlc2(&gb, vlc[idx].table, SMKTREE_BITS, 3); in smka_decode_frame()
|
D | imm4.c | 121 value = get_vlc2(gb, cbphi_tab.table, CBPHI_VLC_BITS, 1); in get_cbphi() 138 value = get_vlc2(gb, block_tab.table, BLOCK_VLC_BITS, 1); in decode_block() 225 cbplo = get_vlc2(gb, cbplo_tab.table, CBPLO_VLC_BITS, 1); in decode_intra() 291 value = get_vlc2(gb, blktype_tab.table, BLKTYPE_VLC_BITS, 1); in decode_inter()
|
D | h261dec.c | 233 int mv_diff = get_vlc2(gb, h261_mv_vlc.table, H261_MV_VLC_BITS, 2); in decode_mv_component() 357 h->mba_diff = get_vlc2(&s->gb, h261_mba_vlc.table, in h261_decode_mb() 389 h->mtype = get_vlc2(&s->gb, h261_mtype_vlc.table, H261_MTYPE_VLC_BITS, 2); in h261_decode_mb() 429 cbp = get_vlc2(&s->gb, h261_cbp_vlc.table, H261_CBP_VLC_BITS, 1) + 1; in h261_decode_mb()
|
D | tscc2.c | 152 dc = get_vlc2(gb, dc_vlc.table, TSCC2_VLC_BITS, 2); in tscc2_decode_mb() 160 nc = get_vlc2(gb, nc_vlc[vlc_set].table, TSCC2_VLC_BITS, 1); in tscc2_decode_mb() 165 ac = get_vlc2(gb, ac_vlc[vlc_set].table, TSCC2_VLC_BITS, 2); in tscc2_decode_mb()
|
D | indeo5.c | 499 mb->q_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 533 mb->q_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 553 mv_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info() 556 mv_delta = get_vlc2(&ctx->gb, ctx->mb_vlc.tab->table, in decode_mb_info()
|
D | vorbisdec.c | 1130 vec_off = get_vlc2(&vc->gb, codebook.vlc.table, in vorbis_floor0_decode() 1244 cval = get_vlc2(gb, vc->codebooks[vf->class_masterbook[partition_class]].vlc.table, in vorbis_floor1_decode() 1255 int v = get_vlc2(gb, vc->codebooks[book].vlc.table, in vorbis_floor1_decode() 1351 temp = get_vlc2(&vc->gb, codebook->vlc.table, in setup_classifs() 1454 coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() 1464 coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() 1480 … coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() 1489 … coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() 1500 coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() 1520 coffs = get_vlc2(gb, codebook.vlc.table, codebook.nb_bits, 3); in vorbis_residue_decode_internal() [all …]
|
D | mpeg4videodec.c | 204 length = get_vlc2(gb, sprite_trajectory.table, SPRITE_TRAJ_VLC_BITS, 2); in mpeg4_decode_sprite_trajectory() 211 length = get_vlc2(gb, sprite_trajectory.table, SPRITE_TRAJ_VLC_BITS, 2); in mpeg4_decode_sprite_trajectory() 646 code = get_vlc2(&s->gb, dc_lum.table, DC_VLC_BITS, 1); in mpeg4_decode_dc() 648 code = get_vlc2(&s->gb, dc_chrom.table, DC_VLC_BITS, 1); in mpeg4_decode_dc() 715 cbpc = get_vlc2(&s->gb, ff_h263_intra_MCBPC_vlc.table, INTRA_MCBPC_VLC_BITS, 2); in mpeg4_decode_partition_a() 787 cbpc = get_vlc2(&s->gb, ff_h263_inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); in mpeg4_decode_partition_a() 901 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() 915 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() 947 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() 1440 cbpc = get_vlc2(&s->gb, ff_h263_inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); in mpeg4_decode_mb() [all …]
|
D | clearvideo.c | 95 blk[0] = get_vlc2(gb, dc_vlc.table, CLV_VLC_BITS, 3); in decode_block() 101 val = get_vlc2(gb, ac_vlc.table, CLV_VLC_BITS, 2); in decode_block() 372 flags = get_vlc2(gb, lc[level].flags_cb.table, CLV_VLC_BITS, 2); in decode_tile_info() 376 uint16_t mv_code = get_vlc2(gb, lc[level].mv_cb.table, CLV_VLC_BITS, 2); in decode_tile_info() 388 uint16_t bias_val = get_vlc2(gb, lc[level].bias_cb.table, CLV_VLC_BITS, 2); in decode_tile_info()
|
D | hqx.c | 124 dc = get_vlc2(gb, vlc->table, HQX_DC_VLC_BITS, 2); in decode_block() 198 cbp = get_vlc2(gb, ctx->cbp_vlc.table, HQX_CBP_VLC_BITS, 1); in hqx_decode_422a() 284 cbp = get_vlc2(gb, ctx->cbp_vlc.table, HQX_CBP_VLC_BITS, 1); in hqx_decode_444a()
|
D | wmv2dec.c | 404 code = get_vlc2(&s->gb, ff_mb_non_intra_vlc[w->cbp_table_index].table, in ff_wmv2_decode_mb() 413 code = get_vlc2(&s->gb, ff_msmp4_mb_i_vlc.table, MB_INTRA_VLC_BITS, 2); in ff_wmv2_decode_mb() 469 s->h263_aic_dir = get_vlc2(&s->gb, ff_inter_intra_vlc.table, in ff_wmv2_decode_mb()
|