/third_party/ffmpeg/libavcodec/ |
D | asvdec.c | 125 …block[a->scantable.permutated[4 * i + 0]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 0]) … in asv1_decode_block() 127 …block[a->scantable.permutated[4 * i + 1]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 1]) … in asv1_decode_block() 129 …block[a->scantable.permutated[4 * i + 2]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 2]) … in asv1_decode_block() 131 …block[a->scantable.permutated[4 * i + 3]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 3]) … in asv1_decode_block() 149 block[a->scantable.permutated[1]] = (asv2_get_level(&a->gb) * a->intra_matrix[1]) >> 4; in asv2_decode_block() 151 block[a->scantable.permutated[2]] = (asv2_get_level(&a->gb) * a->intra_matrix[2]) >> 4; in asv2_decode_block() 153 block[a->scantable.permutated[3]] = (asv2_get_level(&a->gb) * a->intra_matrix[3]) >> 4; in asv2_decode_block() 161 …block[a->scantable.permutated[4 * i + 0]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 0]) … in asv2_decode_block() 163 …block[a->scantable.permutated[4 * i + 1]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 1]) … in asv2_decode_block() 165 …block[a->scantable.permutated[4 * i + 2]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 2]) … in asv2_decode_block() [all …]
|
D | mdec.c | 46 ScanTable scantable; member 66 uint8_t * const scantable = a->scantable.permutated; in mdec_decode_block_intra() local 97 j = scantable[i]; in mdec_decode_block_intra() 112 j = scantable[i]; in mdec_decode_block_intra() 227 ff_init_scantable(a->idsp.idct_permutation, &a->scantable, in decode_init()
|
D | h264_cavlc.c | 436 const uint8_t *scantable, const uint32_t *qmul, in decode_residual() argument 579 scantable += zeros_left + total_coeff - 1; \ in decode_residual() 581 ((type*)block)[*scantable] = level[0]; \ in decode_residual() 588 scantable -= 1 + run_before; \ in decode_residual() 589 ((type*)block)[*scantable]= level[i]; \ in decode_residual() 592 scantable--; \ in decode_residual() 593 ((type*)block)[*scantable]= level[i]; \ in decode_residual() 596 ((type*)block)[*scantable] = ((int)(level[0] * qmul[*scantable] + 32))>>6; \ in decode_residual() 603 scantable -= 1 + run_before; \ in decode_residual() 604 ((type*)block)[*scantable]= ((int)(level[i] * qmul[*scantable] + 32))>>6; \ in decode_residual() [all …]
|
D | imm4.c | 132 const uint8_t *scantable = s->intra_scantable.permutated; in decode_block() local 155 s->block[block][scantable[i]] = offset * (factor2 < 0 ? -1 : 1) + factor * factor2; in decode_block() 162 s->block[block][scantable[0]] *= 2; in decode_block() 163 s->block[block][scantable[1]] *= 2; in decode_block() 164 s->block[block][scantable[8]] *= 2; in decode_block() 165 s->block[block][scantable[16]] *= 2; in decode_block() 175 const uint8_t *scantable = s->intra_scantable.permutated; in decode_blocks() local 188 s->block[i][scantable[0]] = x; in decode_blocks()
|
D | eamad.c | 60 ScanTable scantable; member 75 ff_init_scantable(s->idsp.idct_permutation, &s->scantable, ff_zigzag_direct); in decode_init() 137 const uint8_t *scantable = s->scantable.permutated; in decode_block_intra() local 161 j = scantable[i]; in decode_block_intra() 180 j = scantable[i]; in decode_block_intra()
|
D | agm.c | 92 ScanTable scantable; member 199 const uint8_t *scantable = s->scantable.permutated; in decode_intra_blocks() local 205 int16_t *block = s->wblocks + scantable[i]; in decode_intra_blocks() 241 const uint8_t *scantable = s->scantable.permutated; in decode_inter_blocks() local 248 int16_t *block = s->wblocks + scantable[i]; in decode_inter_blocks() 276 const uint8_t *scantable = s->scantable.permutated; in decode_intra_block() local 291 block[scantable[0]] = offset + *dc_level * quant_matrix[0]; in decode_intra_block() 305 block[scantable[i]] = level * quant_matrix[i]; in decode_intra_block() 366 const uint8_t *scantable = s->scantable.permutated; in decode_inter_block() local 384 block[scantable[i]] = level * quant_matrix[i]; in decode_inter_block() [all …]
|
D | aic.c | 146 ScanTable scantable; member 351 recombine_block(ctx->block, ctx->scantable.permutated, in aic_decode_slice() 354 recombine_block_il(ctx->block, ctx->scantable.permutated, in aic_decode_slice() 371 recombine_block(ctx->block, ctx->scantable.permutated, in aic_decode_slice() 458 ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable, scan); in aic_decode_init()
|
D | h264_cabac.c | 1584 int cat, int n, const uint8_t *scantable, in decode_cabac_residual_internal() argument 1717 int j= scantable[index[--coeff_count]]; \ in decode_cabac_residual_internal() 1773 const uint8_t *scantable, in decode_cabac_residual_dc_internal() argument 1776 decode_cabac_residual_internal(h, sl, block, cat, n, scantable, NULL, max_coeff, 1, 0); in decode_cabac_residual_dc_internal() 1783 const uint8_t *scantable, in decode_cabac_residual_dc_internal_422() argument 1786 decode_cabac_residual_internal(h, sl, block, cat, n, scantable, NULL, max_coeff, 1, 1); in decode_cabac_residual_dc_internal_422() 1793 const uint8_t *scantable, in decode_cabac_residual_nondc_internal() argument 1797 decode_cabac_residual_internal(h, sl, block, cat, n, scantable, qmul, max_coeff, 0, 0); in decode_cabac_residual_nondc_internal() 1816 const uint8_t *scantable, in decode_cabac_residual_dc() argument 1824 decode_cabac_residual_dc_internal(h, sl, block, cat, n, scantable, max_coeff); in decode_cabac_residual_dc() [all …]
|
D | intrax8.c | 535 uint8_t *scantable; in x8_decode_intra_mb() local 580 scantable = w->scantable[(0x928548 >> (2 * w->orient)) & 3].permutated; in x8_decode_intra_mb() 605 w->block[0][scantable[pos]] = level; in x8_decode_intra_mb() 719 ff_init_scantable(w->idct_permutation, &w->scantable[0], in ff_intrax8_common_init() 721 ff_init_scantable(w->idct_permutation, &w->scantable[1], in ff_intrax8_common_init() 723 ff_init_scantable(w->idct_permutation, &w->scantable[2], in ff_intrax8_common_init()
|
D | mpeg12.c | 239 uint8_t *const scantable, int last_dc[3], in ff_mpeg1_decode_block_intra() argument 276 j = scantable[i]; in ff_mpeg1_decode_block_intra() 302 j = scantable[i]; in ff_mpeg1_decode_block_intra()
|
D | eatgq.c | 46 ScanTable scantable; member 58 ff_init_scantable(idct_permutation, &s->scantable, ff_zigzag_direct); in tgq_decode_init() 66 uint8_t *perm = s->scantable.permutated; in tgq_decode_block()
|
D | msmpeg4enc.c | 576 const uint8_t *scantable; in ff_msmpeg4_encode_block() local 587 scantable= s->intra_scantable.permutated; in ff_msmpeg4_encode_block() 595 scantable= s->inter_scantable.permutated; in ff_msmpeg4_encode_block() 601 if(block[scantable[last_index]]) break; in ff_msmpeg4_encode_block() 609 j = scantable[i]; in ff_msmpeg4_encode_block()
|
D | mimic.c | 59 ScanTable scantable; member 140 ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable, col_zag); in mimic_decode_init() 253 block[ctx->scantable.permutated[pos]] = coeff; in vlc_decode_block()
|
D | ljpegenc.c | 49 ScanTable scantable; member 254 ff_mjpeg_encode_picture_header(avctx, &pb, &s->scantable, in ljpeg_encode_frame() 317 ff_init_scantable(s->idsp.idct_permutation, &s->scantable, in ljpeg_encode_init()
|
D | asv.h | 51 ScanTable scantable; member
|
D | wmv2dec.c | 356 const uint8_t *scantable = w->abt_scantable[w->abt_type - 1].scantable; in wmv2_decode_inter_block() local 362 if ((ret = ff_msmpeg4_decode_block(s, block, n, 1, scantable)) < 0) in wmv2_decode_inter_block() 366 if ((ret = ff_msmpeg4_decode_block(s, w->abt_block2[n], n, 1, scantable)) < 0) in wmv2_decode_inter_block()
|
D | proresenc_anatoliy.c | 191 const uint8_t *scantable; member 386 buf, data_size, ctx->qmat_luma[qp - 1], 0, ctx->scantable); in encode_slice_data() 390 ctx->qmat_chroma[qp - 1], ctx->is_422, ctx->scantable); in encode_slice_data() 394 ctx->qmat_chroma[qp - 1], ctx->is_422, ctx->scantable); in encode_slice_data() 820 ctx->scantable = ff_prores_interlaced_scan; in prores_encode_init() 822 ctx->scantable = ff_prores_progressive_scan; in prores_encode_init()
|
D | mpeg12dec.c | 146 uint8_t *const scantable = s->intra_scantable.permutated; in mpeg1_decode_block_inter() local 175 j = scantable[i]; in mpeg1_decode_block_inter() 198 j = scantable[i]; in mpeg1_decode_block_inter() 235 uint8_t *const scantable = s->intra_scantable.permutated; in mpeg1_fast_decode_block_inter() local 264 j = scantable[i]; in mpeg1_fast_decode_block_inter() 287 j = scantable[i]; in mpeg1_fast_decode_block_inter() 320 uint8_t *const scantable = s->intra_scantable.permutated; in mpeg2_decode_block_non_intra() local 358 j = scantable[i]; in mpeg2_decode_block_non_intra() 374 j = scantable[i]; in mpeg2_decode_block_non_intra() 410 uint8_t *const scantable = s->intra_scantable.permutated; in mpeg2_fast_decode_block_non_intra() local [all …]
|
D | intrax8.h | 38 ScanTable scantable[3]; member
|
D | mpeg12.h | 59 uint8_t *const scantable, int last_dc[3],
|
D | mpegvideo_enc.c | 4015 const uint8_t *scantable; in dct_quantize_trellis_c() local 4050 scantable= s->intra_scantable.scantable; in dct_quantize_trellis_c() 4081 scantable= s->inter_scantable.scantable; in dct_quantize_trellis_c() 4096 const int j = scantable[i]; in dct_quantize_trellis_c() 4106 const int j = scantable[i]; in dct_quantize_trellis_c() 4145 int dct_coeff= FFABS(block[ scantable[i] ]); in dct_quantize_trellis_c() 4149 dct_coeff= (dct_coeff*ff_inv_aanscales[ scantable[i] ]) >> 12; in dct_quantize_trellis_c() 4163 j = s->idsp.idct_permutation[scantable[i]]; in dct_quantize_trellis_c() 4166 j = s->idsp.idct_permutation[scantable[i]]; // FIXME: optimize in dct_quantize_trellis_c() 4349 const uint8_t *scantable; in dct_quantize_refine() local [all …]
|
D | dnxhdenc.c | 121 const uint8_t *scantable= ctx->intra_scantable.scantable; in dnxhd_10bit_dct_quantize_444() local 137 j = scantable[i]; in dnxhd_10bit_dct_quantize_444() 149 j = scantable[i]; in dnxhd_10bit_dct_quantize_444() 170 scantable, last_non_zero); in dnxhd_10bit_dct_quantize_444() 178 const uint8_t *scantable= ctx->intra_scantable.scantable; in dnxhd_10bit_dct_quantize() local 189 int j = scantable[i]; in dnxhd_10bit_dct_quantize() 201 scantable, last_non_zero); in dnxhd_10bit_dct_quantize()
|
D | idctdsp.h | 32 const uint8_t *scantable; member
|
D | mjpegdec.h | 118 ScanTable scantable; member
|
D | me_cmp.c | 770 const uint8_t *scantable = s->intra_scantable.permutated; in rd8x8_c() local 805 int j = scantable[i]; in rd8x8_c() 818 i = scantable[last]; in rd8x8_c() 847 const uint8_t *scantable = s->intra_scantable.permutated; in bit8x8_c() local 877 int j = scantable[i]; in bit8x8_c() 890 i = scantable[last]; in bit8x8_c()
|