[FFmpeg-cvslog] x86/idctdsp_init: reindent.
Ronald S. Bultje
git at videolan.org
Thu Apr 6 17:17:13 EEST 2017
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Wed Apr 5 07:49:14 2017 -0400| [83ae7e6350cf12ce64b184fb717011551cc02d62] | committer: Ronald S. Bultje
x86/idctdsp_init: reindent.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83ae7e6350cf12ce64b184fb717011551cc02d62
---
libavcodec/x86/idctdsp_init.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavcodec/x86/idctdsp_init.c b/libavcodec/x86/idctdsp_init.c
index 3f078e8..fd5ef3f 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 &&
More information about the ffmpeg-cvslog
mailing list