/third_party/ffmpeg/libavcodec/ |
D | imm4.c | 56 IDCTDSPContext idsp; member 234 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x, in decode_intra() 236 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x + 8, in decode_intra() 238 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x, in decode_intra() 240 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x + 8, in decode_intra() 242 s->idsp.idct_put(frame->data[1] + (y >> 1) * frame->linesize[1] + (x >> 1), in decode_intra() 244 s->idsp.idct_put(frame->data[2] + (y >> 1) * frame->linesize[2] + (x >> 1), in decode_intra() 307 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x, in decode_inter() 309 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x + 8, in decode_inter() 311 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x, in decode_inter() [all …]
|
D | wmv2.c | 37 s->idsp.perm_type = w->wdsp.idct_perm; in ff_wmv2_common_init() 38 ff_init_scantable_permutation(s->idsp.idct_permutation, in ff_wmv2_common_init() 40 ff_init_scantable(s->idsp.idct_permutation, &w->abt_scantable[0], in ff_wmv2_common_init() 42 ff_init_scantable(s->idsp.idct_permutation, &w->abt_scantable[1], in ff_wmv2_common_init() 44 ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, in ff_wmv2_common_init() 46 ff_init_scantable(s->idsp.idct_permutation, &s->intra_h_scantable, in ff_wmv2_common_init() 48 ff_init_scantable(s->idsp.idct_permutation, &s->intra_v_scantable, in ff_wmv2_common_init() 50 ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, in ff_wmv2_common_init() 52 s->idsp.idct_put = w->wdsp.idct_put; in ff_wmv2_common_init() 53 s->idsp.idct_add = w->wdsp.idct_add; in ff_wmv2_common_init() [all …]
|
D | dnxhddec.c | 66 IDCTDSPContext idsp; member 276 ff_idctdsp_init(&ctx->idsp, ctx->avctx); in dnxhd_decode_header() 277 ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable, in dnxhd_decode_header() 554 ctx->idsp.idct_put(dest_y, dct_linesize_luma, row->blocks[0]); in dnxhd_decode_macroblock() 555 ctx->idsp.idct_put(dest_y + dct_x_offset, dct_linesize_luma, row->blocks[1]); in dnxhd_decode_macroblock() 556 ctx->idsp.idct_put(dest_y + dct_y_offset, dct_linesize_luma, row->blocks[4]); in dnxhd_decode_macroblock() 557 ctx->idsp.idct_put(dest_y + dct_y_offset + dct_x_offset, dct_linesize_luma, row->blocks[5]); in dnxhd_decode_macroblock() 561 ctx->idsp.idct_put(dest_u, dct_linesize_chroma, row->blocks[2]); in dnxhd_decode_macroblock() 562 ctx->idsp.idct_put(dest_v, dct_linesize_chroma, row->blocks[3]); in dnxhd_decode_macroblock() 563 ctx->idsp.idct_put(dest_u + dct_y_offset, dct_linesize_chroma, row->blocks[6]); in dnxhd_decode_macroblock() [all …]
|
D | mdec.c | 43 IDCTDSPContext idsp; member 158 a->idsp.idct_put(dest_y, linesize, block[0]); in idct_put() 159 a->idsp.idct_put(dest_y + 8, linesize, block[1]); in idct_put() 160 a->idsp.idct_put(dest_y + 8 * linesize, linesize, block[2]); in idct_put() 161 a->idsp.idct_put(dest_y + 8 * linesize + 8, linesize, block[3]); in idct_put() 164 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put() 165 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put() 225 ff_idctdsp_init(&a->idsp, avctx); in decode_init() 227 ff_init_scantable(a->idsp.idct_permutation, &a->scantable, in decode_init() 235 int j = a->idsp.idct_permutation[i]; in decode_init()
|
D | asvdec.c | 203 a->idsp.idct_put(dest_y, linesize, block[0]); in idct_put() 204 a->idsp.idct_put(dest_y + 8, linesize, block[1]); in idct_put() 205 a->idsp.idct_put(dest_y + 8 * linesize, linesize, block[2]); in idct_put() 206 a->idsp.idct_put(dest_y + 8 * linesize + 8, linesize, block[3]); in idct_put() 209 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put() 210 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put() 295 ff_idctdsp_init(&a->idsp, avctx); in decode_init() 296 ff_init_scantable(a->idsp.idct_permutation, &a->scantable, ff_asv_scantab); in decode_init()
|
D | aic.c | 145 IDCTDSPContext idsp; member 357 ctx->idsp.idct(ctx->block); in aic_decode_slice() 361 ctx->idsp.put_signed_pixels_clamped(ctx->block, dst, ystride); in aic_decode_slice() 364 ctx->idsp.put_signed_pixels_clamped(ctx->block, dst, in aic_decode_slice() 374 ctx->idsp.idct(ctx->block); in aic_decode_slice() 375 ctx->idsp.put_signed_pixels_clamped(ctx->block, C[blk], in aic_decode_slice() 454 ff_idctdsp_init(&ctx->idsp, avctx); in aic_decode_init() 458 ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable, scan); in aic_decode_init() 460 ctx->quant_matrix[ctx->idsp.idct_permutation[i]] = aic_quant_matrix[i]; in aic_decode_init()
|
D | dvdec.c | 182 ff_idctdsp_init(&s->idsp, avctx); in dvvideo_decode_init() 185 s->dv_zigzag[0][i] = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in dvvideo_decode_init() 190 s->dv_zigzag[1][i] = s->idsp.idct_permutation[(j & 7) + (j & 8) * 4 + (j & 48) / 2]; in dvvideo_decode_init() 195 s->idct_put[0] = s->idsp.idct_put; in dvvideo_decode_init() 288 s->idsp.idct(blocks + 0*64); in dv100_idct_put_last_row_field_chroma() 289 s->idsp.idct(blocks + 1*64); in dv100_idct_put_last_row_field_chroma() 300 s->idsp.idct(blocks + 0*64); in dv100_idct_put_last_row_field_luma() 301 s->idsp.idct(blocks + 1*64); in dv100_idct_put_last_row_field_luma() 302 s->idsp.idct(blocks + 2*64); in dv100_idct_put_last_row_field_luma() 303 s->idsp.idct(blocks + 3*64); in dv100_idct_put_last_row_field_luma()
|
D | rtjpeg.c | 124 c->idsp.idct_put(dst, stride, block); \ in ff_rtjpeg_decode_frame_yuv420() 162 int p = c->idsp.idct_permutation[i]; in ff_rtjpeg_decode_init() 174 ff_idctdsp_init(&c->idsp, avctx); in ff_rtjpeg_init() 181 c->scan[i] = c->idsp.idct_permutation[z]; in ff_rtjpeg_init()
|
D | avdct.c | 103 IDCTDSPContext idsp = {0}; in avcodec_dct_init() local 104 ff_idctdsp_init(&idsp, avctx); in avcodec_dct_init() 105 COPY(idsp, idct); in avcodec_dct_init() 106 COPY(idsp, idct_permutation); in avcodec_dct_init()
|
D | mpegvideo.c | 334 s->idsp.mpeg4_studio_profile = s->studio_profile; in ff_mpv_idct_init() 335 ff_idctdsp_init(&s->idsp, s->avctx); in ff_mpv_idct_init() 341 … ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, ff_alternate_vertical_scan); in ff_mpv_idct_init() 342 … ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_alternate_vertical_scan); in ff_mpv_idct_init() 344 ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, ff_zigzag_direct); in ff_mpv_idct_init() 345 ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_zigzag_direct); in ff_mpv_idct_init() 347 … ff_init_scantable(s->idsp.idct_permutation, &s->intra_h_scantable, ff_alternate_horizontal_scan); in ff_mpv_idct_init() 348 ff_init_scantable(s->idsp.idct_permutation, &s->intra_v_scantable, ff_alternate_vertical_scan); in ff_mpv_idct_init() 1879 s->idsp.idct_put(dest, line_size, block); in put_dct() 1887 s->idsp.idct_add(dest, line_size, block); in add_dct() [all …]
|
D | eatqi.c | 46 IDCTDSPContext idsp; member 65 ff_idctdsp_init(&t->idsp, avctx); in tqi_decode_init() 66 ff_init_scantable_permutation(t->idsp.idct_permutation, FF_IDCT_PERM_NONE); in tqi_decode_init() 67 ff_init_scantable(t->idsp.idct_permutation, &t->intra_scantable, ff_zigzag_direct); in tqi_decode_init()
|
D | msmpeg4.c | 142 ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_wmv1_scantable[1]); in ff_msmpeg4_common_init() 143 ff_init_scantable(s->idsp.idct_permutation, &s->intra_h_scantable, ff_wmv1_scantable[2]); in ff_msmpeg4_common_init() 144 ff_init_scantable(s->idsp.idct_permutation, &s->intra_v_scantable, ff_wmv1_scantable[3]); in ff_msmpeg4_common_init() 145 ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, ff_wmv1_scantable[0]); in ff_msmpeg4_common_init()
|
D | intrax8.h | 47 IDCTDSPContext idsp; member 89 IntraX8Context *w, IDCTDSPContext *idsp,
|
D | agm.c | 101 IDCTDSPContext idsp; member 336 … s->idsp.idct_put(frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->linesize[plane] + x * 8, in decode_intra_plane() 347 … s->idsp.idct_put(frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->linesize[plane] + x * 8, in decode_intra_plane() 436 s->idsp.idct(s->wblocks + x * 64); in decode_inter_plane() 439 …s->idsp.add_pixels_clamped(&s->wblocks[x*64], frame->data[plane] + (s->blocks_h - 1 - y) * 8 * fra… in decode_inter_plane() 443 … s->idsp.idct_put(frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->linesize[plane] + x * 8, in decode_inter_plane() 473 s->idsp.idct(s->block); in decode_inter_plane() 476 …s->idsp.add_pixels_clamped(s->block, frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->lines… in decode_inter_plane() 480 … s->idsp.idct_put(frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->linesize[plane] + x * 8, in decode_inter_plane() 504 … s->idsp.idct_add(frame->data[plane] + (s->blocks_h - 1 - y) * 8 * frame->linesize[plane] + x * 8, in decode_inter_plane() [all …]
|
D | mpeg4videoenc.c | 114 block[n][s->idsp.idct_permutation[i]] = ac_val[i + 8]; in restore_ac_coeffs() 118 block[n][s->idsp.idct_permutation[i << 3]] = ac_val[i]; in restore_ac_coeffs() 156 const int level = block[n][s->idsp.idct_permutation[i]]; in decide_ac_pred() 157 block[n][s->idsp.idct_permutation[i]] = level - ac_val[i + 8]; in decide_ac_pred() 158 ac_val1[i] = block[n][s->idsp.idct_permutation[i << 3]]; in decide_ac_pred() 164 const int level = block[n][s->idsp.idct_permutation[i]]; in decide_ac_pred() 165 …block[n][s->idsp.idct_permutation[i]] = level - ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->q… in decide_ac_pred() 166 ac_val1[i] = block[n][s->idsp.idct_permutation[i << 3]]; in decide_ac_pred() 178 const int level = block[n][s->idsp.idct_permutation[i << 3]]; in decide_ac_pred() 179 block[n][s->idsp.idct_permutation[i << 3]] = level - ac_val[i]; in decide_ac_pred() [all …]
|
D | mimic.c | 63 IDCTDSPContext idsp; member 139 ff_idctdsp_init(&ctx->idsp, avctx); in mimic_decode_init() 140 ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable, col_zag); in mimic_decode_init() 289 ctx->idsp.idct_put(dst, stride, ctx->dct_block); in decode()
|
D | mpeg4videodec.c | 90 block[s->idsp.idct_permutation[i << 3]] += ac_val[i]; in ff_mpeg4_pred_ac() 94 … block[s->idsp.idct_permutation[i << 3]] += ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac() 105 block[s->idsp.idct_permutation[i]] += ac_val[i + 8]; in ff_mpeg4_pred_ac() 109 … block[s->idsp.idct_permutation[i]] += ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac() 115 ac_val1[i] = block[s->idsp.idct_permutation[i << 3]]; in ff_mpeg4_pred_ac() 119 ac_val1[8 + i] = block[s->idsp.idct_permutation[i]]; in ff_mpeg4_pred_ac() 2134 int j = s->idsp.idct_permutation[i]; in mpeg4_load_default_matrices() 2155 j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in read_quant_matrix_ext() 2176 j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in read_quant_matrix_ext() 2493 j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in decode_vol_header() [all …]
|
D | mpeg12dec.c | 1324 memcpy(old_permutation, s->idsp.idct_permutation, 64 * sizeof(uint8_t)); in mpeg_decode_postinit() 1330 quant_matrix_rebuild(s->intra_matrix, old_permutation, s->idsp.idct_permutation); in mpeg_decode_postinit() 1331 quant_matrix_rebuild(s->inter_matrix, old_permutation, s->idsp.idct_permutation); in mpeg_decode_postinit() 1332 quant_matrix_rebuild(s->chroma_intra_matrix, old_permutation, s->idsp.idct_permutation); in mpeg_decode_postinit() 1333 quant_matrix_rebuild(s->chroma_inter_matrix, old_permutation, s->idsp.idct_permutation); in mpeg_decode_postinit() 1501 int j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in load_matrix() 1572 … ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, ff_alternate_vertical_scan); in mpeg_decode_picture_coding_extension() 1573 … ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_alternate_vertical_scan); in mpeg_decode_picture_coding_extension() 1575 ff_init_scantable(s->idsp.idct_permutation, &s->inter_scantable, ff_zigzag_direct); in mpeg_decode_picture_coding_extension() 1576 ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_zigzag_direct); in mpeg_decode_picture_coding_extension() [all …]
|
D | eamad.c | 54 IDCTDSPContext idsp; member 73 ff_idctdsp_init(&s->idsp, avctx); in decode_init() 74 ff_init_scantable_permutation(s->idsp.idct_permutation, FF_IDCT_PERM_NONE); in decode_init() 75 ff_init_scantable(s->idsp.idct_permutation, &s->scantable, ff_zigzag_direct); in decode_init()
|
D | h263.c | 276 block[s->idsp.idct_permutation[i << 3]] += ac_val[i]; in ff_h263_pred_acdc() 285 block[s->idsp.idct_permutation[i]] += ac_val[i + 8]; in ff_h263_pred_acdc() 313 ac_val1[i] = block[s->idsp.idct_permutation[i << 3]]; in ff_h263_pred_acdc() 316 ac_val1[8 + i] = block[s->idsp.idct_permutation[i]]; in ff_h263_pred_acdc()
|
D | ljpegenc.c | 48 IDCTDSPContext idsp; member 316 ff_idctdsp_init(&s->idsp, avctx); in ljpeg_encode_init() 317 ff_init_scantable(s->idsp.idct_permutation, &s->scantable, in ljpeg_encode_init()
|
D | rtjpeg.h | 35 IDCTDSPContext idsp; member
|
D | asv.h | 47 IDCTDSPContext idsp; member
|
D | speedhq.c | 53 IDCTDSPContext idsp; member 274 s->idsp.idct_put(dest, linesize, block); in decode_dct_block() 670 ff_idctdsp_init(&s->idsp, avctx); in speedhq_decode_init() 671 ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_zigzag_direct); in speedhq_decode_init()
|
/third_party/ffmpeg/libavcodec/x86/ |
D | mpegvideoenc_template.c | 238 if (s->idsp.perm_type == FF_IDCT_PERM_SIMPLE) { in RENAME() 282 }else if(s->idsp.perm_type == FF_IDCT_PERM_LIBMPEG2){ in RENAME() 326 } else if (s->idsp.perm_type == FF_IDCT_PERM_NONE) { in RENAME() 370 } else if (s->idsp.perm_type == FF_IDCT_PERM_TRANSPOSE) { in RENAME() 416 (int)s->idsp.perm_type); in RENAME() 417 av_assert0(s->idsp.perm_type == FF_IDCT_PERM_NONE || in RENAME() 418 s->idsp.perm_type == FF_IDCT_PERM_LIBMPEG2 || in RENAME() 419 s->idsp.perm_type == FF_IDCT_PERM_SIMPLE || in RENAME() 420 s->idsp.perm_type == FF_IDCT_PERM_TRANSPOSE); in RENAME()
|