diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-04-05 07:49:14 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2017-04-06 10:03:28 -0400 |
commit | 83ae7e6350cf12ce64b184fb717011551cc02d62 (patch) | |
tree | 364c6ebbb21e8e3b9cbbd38e707b19ed7ede7f54 | |
parent | 32baeafeee4f8446c2c3720b9223ad2166ca9d30 (diff) | |
download | ffmpeg-83ae7e6350cf12ce64b184fb717011551cc02d62.tar.gz |
x86/idctdsp_init: reindent.
-rw-r--r-- | libavcodec/x86/idctdsp_init.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libavcodec/x86/idctdsp_init.c b/libavcodec/x86/idctdsp_init.c index 3f078e8f1c..fd5ef3ff18 100644 --- a/libavcodec/x86/idctdsp_init.c +++ b/libavcodec/x86/idctdsp_init.c @@ -102,22 +102,22 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, if (ARCH_X86_64 && avctx->lowres == 0) { if (avctx->bits_per_raw_sample == 10 && - (avctx->idct_algo == FF_IDCT_AUTO || - avctx->idct_algo == FF_IDCT_SIMPLEAUTO || - avctx->idct_algo == FF_IDCT_SIMPLE)) { - if (EXTERNAL_SSE2(cpu_flags)) { - c->idct_put = ff_simple_idct10_put_sse2; - c->idct_add = NULL; - c->idct = ff_simple_idct10_sse2; - c->perm_type = FF_IDCT_PERM_TRANSPOSE; + (avctx->idct_algo == FF_IDCT_AUTO || + avctx->idct_algo == FF_IDCT_SIMPLEAUTO || + avctx->idct_algo == FF_IDCT_SIMPLE)) { + if (EXTERNAL_SSE2(cpu_flags)) { + c->idct_put = ff_simple_idct10_put_sse2; + c->idct_add = NULL; + c->idct = ff_simple_idct10_sse2; + c->perm_type = FF_IDCT_PERM_TRANSPOSE; - } - if (EXTERNAL_AVX(cpu_flags)) { - c->idct_put = ff_simple_idct10_put_avx; - c->idct_add = NULL; - c->idct = ff_simple_idct10_avx; - c->perm_type = FF_IDCT_PERM_TRANSPOSE; - } + } + if (EXTERNAL_AVX(cpu_flags)) { + c->idct_put = ff_simple_idct10_put_avx; + c->idct_add = NULL; + c->idct = ff_simple_idct10_avx; + c->perm_type = FF_IDCT_PERM_TRANSPOSE; + } } if (avctx->bits_per_raw_sample == 12 && |