aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/proresdsp_init.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-18 11:30:55 +0100
committerDiego Biurrun <diego@biurrun.de>2014-07-18 07:51:03 -0700
commitb4987f72197e0c62cf2633bf835a9c32d2a445ae (patch)
tree4e8cce0604eeea25ac63f7fe345b572bac6f6ac8 /libavcodec/x86/proresdsp_init.c
parentc0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46 (diff)
downloadffmpeg-b4987f72197e0c62cf2633bf835a9c32d2a445ae.tar.gz
idct: Convert IDCT permutation #defines to an enum
Also rename the enum values to be consistent with other DCT permutations.
Diffstat (limited to 'libavcodec/x86/proresdsp_init.c')
-rw-r--r--libavcodec/x86/proresdsp_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c
index a66fc70982..e82dac0448 100644
--- a/libavcodec/x86/proresdsp_init.c
+++ b/libavcodec/x86/proresdsp_init.c
@@ -38,17 +38,17 @@ av_cold void ff_proresdsp_init_x86(ProresDSPContext *dsp)
int cpu_flags = av_get_cpu_flags();
if (EXTERNAL_SSE2(cpu_flags)) {
- dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
+ dsp->idct_permutation_type = FF_IDCT_PERM_TRANSPOSE;
dsp->idct_put = ff_prores_idct_put_10_sse2;
}
if (EXTERNAL_SSE4(cpu_flags)) {
- dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
+ dsp->idct_permutation_type = FF_IDCT_PERM_TRANSPOSE;
dsp->idct_put = ff_prores_idct_put_10_sse4;
}
if (EXTERNAL_AVX(cpu_flags)) {
- dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
+ dsp->idct_permutation_type = FF_IDCT_PERM_TRANSPOSE;
dsp->idct_put = ff_prores_idct_put_10_avx;
}
#endif /* ARCH_X86_64 */