Home
last modified time | relevance | path

Searched refs:idct_permutation (Results 1 – 25 of 43) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dwmv2.c38 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()
Didctdsp.c50 av_cold void ff_init_scantable_permutation(uint8_t *idct_permutation, in ff_init_scantable_permutation() argument
56 if (ff_init_scantable_permutation_x86(idct_permutation, in ff_init_scantable_permutation()
63 idct_permutation[i] = i; in ff_init_scantable_permutation()
67 idct_permutation[i] = (i & 0x38) | ((i & 6) >> 1) | ((i & 1) << 2); in ff_init_scantable_permutation()
71 idct_permutation[i] = ((i & 7) << 3) | (i >> 3); in ff_init_scantable_permutation()
75 idct_permutation[i] = (i & 0x24) | ((i & 3) << 3) | ((i >> 3) & 3); in ff_init_scantable_permutation()
319 ff_init_scantable_permutation(c->idct_permutation, in ff_idctdsp_init()
Didctdsp.h48 void ff_init_scantable_permutation(uint8_t *idct_permutation,
50 int ff_init_scantable_permutation_x86(uint8_t *idct_permutation,
96 uint8_t idct_permutation[64]; member
Dmsmpeg4.c142 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()
Dmpeg4videoenc.c114 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 …]
Dh263.c276 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()
Dmpeg4videodec.c90 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 …]
Drtjpeg.c162 int p = c->idsp.idct_permutation[i]; in ff_rtjpeg_decode_init()
181 c->scan[i] = c->idsp.idct_permutation[z]; in ff_rtjpeg_init()
Deatgq.c55 uint8_t idct_permutation[64]; in tgq_decode_init() local
57 ff_init_scantable_permutation(idct_permutation, FF_IDCT_PERM_NONE); in tgq_decode_init()
58 ff_init_scantable(idct_permutation, &s->scantable, ff_zigzag_direct); in tgq_decode_init()
Dproresdsp.h32 uint8_t idct_permutation[64]; member
Dproresdec2.c141 uint8_t idct_permutation[64]; in decode_init() local
184 ff_init_scantable_permutation(idct_permutation, in decode_init()
187 permute(ctx->progressive_scan, ff_prores_progressive_scan, idct_permutation); in decode_init()
188 permute(ctx->interlaced_scan, ff_prores_interlaced_scan, idct_permutation); in decode_init()
281 permute(ctx->qmat_luma, ctx->prodsp.idct_permutation, ptr); in decode_frame_header()
292 permute(ctx->qmat_chroma, ctx->prodsp.idct_permutation, ptr); in decode_frame_header()
Deatqi.c66 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()
Davdct.h48 uint8_t idct_permutation[64]; member
Dintrax8.c445 #define B(x,y) w->block[0][w->idct_permutation[(x) + (y) * 8]] in x8_ac_compensation()
716 ff_init_scantable_permutation(w->idct_permutation, in ff_intrax8_common_init()
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()
Dmpeg12dec.c1324 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 …]
Dintrax8.h40 uint8_t idct_permutation[64]; member
Dmdec.c227 ff_init_scantable(a->idsp.idct_permutation, &a->scantable, in decode_init()
235 int j = a->idsp.idct_permutation[i]; in decode_init()
Dproresdsp.c94 ff_init_scantable_permutation(dsp->idct_permutation, in ff_proresdsp_init()
Deamad.c74 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()
Daic.c458 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()
Davdct.c106 COPY(idsp, idct_permutation); in avcodec_dct_init()
Dvaapi_mpeg2.c95 int n = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in vaapi_mpeg2_start_frame()
Dvaapi_mpeg4.c119 int n = s->idsp.idct_permutation[ff_zigzag_direct[i]]; in vaapi_mpeg4_start_frame()
/third_party/ffmpeg/libavcodec/x86/
Didctdsp_init.c42 av_cold int ff_init_scantable_permutation_x86(uint8_t *idct_permutation, in ff_init_scantable_permutation_x86() argument
50 idct_permutation[i] = simple_mmx_permutation[i]; in ff_init_scantable_permutation_x86()
54 idct_permutation[i] = (i & 0x38) | idct_sse2_row_perm[i & 7]; in ff_init_scantable_permutation_x86()
/third_party/ffmpeg/libavfilter/x86/
Dvf_spp.c230 s->dct->idct_permutation, in ff_spp_init_x86()
231 sizeof(s->dct->idct_permutation)); in ff_spp_init_x86()

12