aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/proresdsp_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-18 09:53:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-18 09:53:47 +0200
commit9d01bf7d66df74fe58d71b7e93e86895270a91c2 (patch)
tree57ccb1be5c5c768f2213e6abab3fba03d32dfcb7 /libavcodec/x86/proresdsp_init.c
parent1816f5509e4f0fd55d32b5dbf70c3be21c1b1515 (diff)
parent3ac7fa81b2383ff2697e5d1a76ff79be205f011a (diff)
downloadffmpeg-9d01bf7d66df74fe58d71b7e93e86895270a91c2.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: Consistently use "cpu_flags" as variable/parameter name for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideo.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/proresdsp_init.c')
-rw-r--r--libavcodec/x86/proresdsp_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c
index 47fe7a4933..0273d6141a 100644
--- a/libavcodec/x86/proresdsp_init.c
+++ b/libavcodec/x86/proresdsp_init.c
@@ -35,22 +35,22 @@ void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize,
av_cold void ff_proresdsp_x86_init(ProresDSPContext *dsp, AVCodecContext *avctx)
{
#if ARCH_X86_64
- int flags = av_get_cpu_flags();
+ int cpu_flags = av_get_cpu_flags();
if(avctx->flags & CODEC_FLAG_BITEXACT)
return;
- if (EXTERNAL_SSE2(flags)) {
+ if (EXTERNAL_SSE2(cpu_flags)) {
dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
dsp->idct_put = ff_prores_idct_put_10_sse2;
}
- if (EXTERNAL_SSE4(flags)) {
+ if (EXTERNAL_SSE4(cpu_flags)) {
dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
dsp->idct_put = ff_prores_idct_put_10_sse4;
}
- if (EXTERNAL_AVX(flags)) {
+ if (EXTERNAL_AVX(cpu_flags)) {
dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
dsp->idct_put = ff_prores_idct_put_10_avx;
}