diff mbox series

[FFmpeg-devel,5/5] x86/vvc_sad: reindent after the previous changes

Message ID 20240523122716.2158-5-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/5] avcodec/vvc_mc: split the SAD dsp prototype into one function per blocksize width | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer May 23, 2024, 12:27 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavcodec/x86/vvc/vvc_sad.asm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/x86/vvc/vvc_sad.asm b/libavcodec/x86/vvc/vvc_sad.asm
index 9881b1180d..14f7ce230e 100644
--- a/libavcodec/x86/vvc/vvc_sad.asm
+++ b/libavcodec/x86/vvc/vvc_sad.asm
@@ -81,7 +81,7 @@  DEFINE_ARGS src1, src2, dx, off1, off2, block_h
     mova               m4, [pw_1]
 %endif
 
-        .loop_height:
+    .loop_height:
         movu               m0, [src1q]
         movu               m1, [src2q]
         MIN_MAX_SAD        m1, m0, m2
@@ -94,8 +94,8 @@  DEFINE_ARGS src1, src2, dx, off1, off2, block_h
         sub      block_hd, 2
         jg   .loop_height
 
-        HORIZ_ADD     xm0, xm3, m3
-        movd          eax, xm0
+    HORIZ_ADD     xm0, xm3, m3
+    movd          eax, xm0
     RET
 %endmacro
 
@@ -129,13 +129,13 @@  DEFINE_ARGS src1, src2, dx, off1, block_w, block_h, off2
     mova               m4, [pw_1]
 %endif
 
-        shl      block_wd, 1
-        add         src1q, block_wq
-        add         src2q, block_wq
-        neg      block_wq
+    shl      block_wd, 1
+    add         src1q, block_wq
+    add         src2q, block_wq
+    neg      block_wq
 
 DEFINE_ARGS src1, src2, dx, dy, block_w, block_h, row_idx
-        .loop_height:
+    .loop_height:
         mov      row_idxq, block_wq
 
         .loop_width:
@@ -154,8 +154,8 @@  DEFINE_ARGS src1, src2, dx, dy, block_w, block_h, row_idx
         sub      block_hd, 2
         jg   .loop_height
 
-        HORIZ_ADD     xm0, xm3, m3
-        movd          eax, xm0
+    HORIZ_ADD     xm0, xm3, m3
+    movd          eax, xm0
     RET
 %endmacro