Home
last modified time | relevance | path

Searched refs:table_allocated (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dbitstream.c120 if (vlc->table_size > vlc->table_allocated) { in alloc_table()
123 vlc->table_allocated += (1 << vlc->bits); in alloc_table()
124 vlc->table = av_realloc_f(vlc->table, vlc->table_allocated, sizeof(VLC_TYPE) * 2); in alloc_table()
126 vlc->table_allocated = 0; in alloc_table()
130 …memset(vlc->table + vlc->table_allocated - (1 << vlc->bits), 0, sizeof(VLC_TYPE) * 2 << vlc->bits); in alloc_table()
158 (*vlc)->table_allocated = 0; in vlc_common_init()
284 if (vlc->table_size != vlc->table_allocated && in vlc_common_end()
286 av_log(NULL, AV_LOG_ERROR, "needed %d had %d\n", vlc->table_size, vlc->table_allocated); in vlc_common_end()
Dvlc.h29 int table_size, table_allocated; member
103 (vlc)->table_allocated = static_size; \
132 (vlc)->table_allocated = static_size; \
Dmpegaudiodec_common.c429 ff_huff_vlc[i].table_allocated = FF_ARRAY_ELEMS(huff_vlc_tables) - offset; in mpegaudiodec_common_init_static()
443 ff_huff_quad_vlc[i].table_allocated = 1 << bits; in mpegaudiodec_common_init_static()
Dvc1.c1604 ff_vc1_ttmb_vlc[i].table_allocated = vlc_offs[i * 3 + 1] - vlc_offs[i * 3 + 0]; in vc1_init_static()
1609 ff_vc1_ttblk_vlc[i].table_allocated = vlc_offs[i * 3 + 2] - vlc_offs[i * 3 + 1]; in vc1_init_static()
1614 ff_vc1_subblkpat_vlc[i].table_allocated = vlc_offs[i * 3 + 3] - vlc_offs[i * 3 + 2]; in vc1_init_static()
1621 … ff_vc1_4mv_block_pattern_vlc[i].table_allocated = vlc_offs[i * 3 + 10] - vlc_offs[i * 3 + 9]; in vc1_init_static()
1626 ff_vc1_cbpcy_p_vlc[i].table_allocated = vlc_offs[i * 3 + 11] - vlc_offs[i * 3 + 10]; in vc1_init_static()
1631 ff_vc1_mv_diff_vlc[i].table_allocated = vlc_offs[i * 3 + 12] - vlc_offs[i * 3 + 11]; in vc1_init_static()
1638 ff_vc1_ac_coeff_table[i].table_allocated = vlc_offs[i * 2 + 22] - vlc_offs[i * 2 + 21]; in vc1_init_static()
1644 ff_vc1_2ref_mvdata_vlc[i].table_allocated = vlc_offs[i * 2 + 23] - vlc_offs[i * 2 + 22]; in vc1_init_static()
1652 … ff_vc1_intfr_4mv_mbmode_vlc[i].table_allocated = vlc_offs[i * 3 + 38] - vlc_offs[i * 3 + 37]; in vc1_init_static()
1658 … ff_vc1_intfr_non4mv_mbmode_vlc[i].table_allocated = vlc_offs[i * 3 + 39] - vlc_offs[i * 3 + 38]; in vc1_init_static()
[all …]
Dh264_cavlc.c332 chroma_dc_coeff_token_vlc.table_allocated = chroma_dc_coeff_token_vlc_table_size; in ff_h264_decode_init_vlc()
339 chroma422_dc_coeff_token_vlc.table_allocated = chroma422_dc_coeff_token_vlc_table_size; in ff_h264_decode_init_vlc()
348 coeff_token_vlc[i].table_allocated = coeff_token_vlc_tables_size[i]; in ff_h264_decode_init_vlc()
364 chroma_dc_total_zeros_vlc[i + 1].table_allocated = chroma_dc_total_zeros_vlc_tables_size; in ff_h264_decode_init_vlc()
374 … chroma422_dc_total_zeros_vlc[i + 1].table_allocated = chroma422_dc_total_zeros_vlc_tables_size; in ff_h264_decode_init_vlc()
384 total_zeros_vlc[i + 1].table_allocated = total_zeros_vlc_tables_size; in ff_h264_decode_init_vlc()
394 run_vlc[i + 1].table_allocated = run_vlc_tables_size; in ff_h264_decode_init_vlc()
402 run7_vlc.table_allocated = run7_vlc_table_size; in ff_h264_decode_init_vlc()
Dtableprint_vlc.h60 printf(" .table_allocated = 0x%x,\n", vlc->table_allocated); in WRITE_2D_FUNC()
Dfaxcompr.c107 ccitt_vlc[0].table_allocated = 528; in ccitt_unpack_init()
109 ccitt_vlc[1].table_allocated = 648; in ccitt_unpack_init()
Drl.c75 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_rl_init_vlc()
Dqdm2_tablegen.h118 vlc->table_allocated = FF_ARRAY_ELEMS(qdm2_table) - *offset; in build_vlc()
Ddcahuff.c1275 vlc.table_allocated = vlc_offs[k + 1] - vlc_offs[k]; \ in ff_dca_init_vlcs()
1309 vlc.table_allocated = vlc_offs[k + 1] - vlc_offs[k]; \ in ff_dca_init_vlcs()
Dmpeg12.c73 VLC vlc = { .table = table, .table_allocated = static_size }; in ff_init_2d_vlc_rl()
Drv40.c50 vlc->table_allocated = 1 << nb_bits; in rv40_init_table()
86 aic_mode2_vlc[i].table_allocated = FF_ARRAY_ELEMS(aic_mode2_table) - offset; in rv40_init_tables()
Drv10.c345 rv_dc_lum.table_allocated = 1472; in rv10_init_static()
355 rv_dc_chrom.table_allocated = 992; in rv10_init_static()
Dsvq1dec.c782 svq1_intra_multistage[i].table_allocated = sizes[0][i]; in svq1_static_init()
789 svq1_inter_multistage[i].table_allocated = sizes[1][i]; in svq1_static_init()
Dmpc7.c61 quant_vlc[i][j].table_allocated = FF_ARRAY_ELEMS(quant_tables) - offset; in mpc7_init_static()
Dtscc2.c62 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *offset; in tscc2_init_vlc()
Dclearvideo.c667 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *offset; in build_vlc()
693 lev[i].flags_cb.table_allocated = FF_ARRAY_ELEMS(vlc_buf) - offset; in clv_init_static()
Dmpc8.c99 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *buf_offset; in build_vlc()
Divi.c168 ivi_mb_vlc_tabs[i].table_allocated = 8192; in ivi_init_static_vlc()
172 ivi_blk_vlc_tabs[i].table_allocated = 8192; in ivi_init_static_vlc()
Dmss4.c115 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *offset; in mss4_init_vlc()
Dintrax8.c58 vlc->table_allocated = VLC_BUFFER_SIZE - *offset; in x8_init_vlc()
Dqdmc.c171 vtable[i].table_allocated = FF_ARRAY_ELEMS(vlc_buffer) - offset; in qdmc_init_static_data()
Datrac3.c864 spectral_coeff_tab[i].table_allocated = 256; in atrac3_init_static_data()
D4xm.c257 block_type_vlc[i][j].table_allocated = 32; in init_vlcs()
Dimc.c183 huffman_vlc[i][j].table_allocated = VLC_TABLES_SIZE - offset; in imc_init_static()

12