Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] aarch64: Fix a few misindented lines
@ 2025-02-28 12:12 Martin Storsjö
  0 siblings, 0 replies; only message in thread
From: Martin Storsjö @ 2025-02-28 12:12 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Krzysztof Pyrkosz

---
Will push soon, as this is quite trivial.
---
 libswresample/aarch64/resample.S  |  8 ++++----
 libswscale/aarch64/yuv2rgb_neon.S | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/libswresample/aarch64/resample.S b/libswresample/aarch64/resample.S
index 6d9eaaeb23..89edd1ce60 100644
--- a/libswresample/aarch64/resample.S
+++ b/libswresample/aarch64/resample.S
@@ -30,7 +30,7 @@ function ff_resample_common_apply_filter_x4_float_neon, export=1
         faddp           v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         faddp           v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         st1             {v0.s}[0], [x0], #4                            // write accumulator
-    ret
+        ret
 endfunc
 
 function ff_resample_common_apply_filter_x8_float_neon, export=1
@@ -46,7 +46,7 @@ function ff_resample_common_apply_filter_x8_float_neon, export=1
         faddp           v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         faddp           v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         st1             {v0.s}[0], [x0], #4                            // write accumulator
-    ret
+        ret
 endfunc
 
 function ff_resample_common_apply_filter_x4_s16_neon, export=1
@@ -59,7 +59,7 @@ function ff_resample_common_apply_filter_x4_s16_neon, export=1
         addp            v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         addp            v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         st1             {v0.s}[0], [x0], #4                            // write accumulator
-    ret
+        ret
 endfunc
 
 function ff_resample_common_apply_filter_x8_s16_neon, export=1
@@ -73,5 +73,5 @@ function ff_resample_common_apply_filter_x8_s16_neon, export=1
         addp            v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         addp            v0.4s, v0.4s, v0.4s                            // pair adding of the 4x32-bit accumulated values
         st1             {v0.s}[0], [x0], #4                            // write accumulator
-    ret
+        ret
 endfunc
diff --git a/libswscale/aarch64/yuv2rgb_neon.S b/libswscale/aarch64/yuv2rgb_neon.S
index cc7d8b58fc..0797a6d5e0 100644
--- a/libswscale/aarch64/yuv2rgb_neon.S
+++ b/libswscale/aarch64/yuv2rgb_neon.S
@@ -126,7 +126,7 @@
 .endm
 
 .macro load_chroma_yuv422p
-    load_chroma_yuv420p
+        load_chroma_yuv420p
 .endm
 
 .macro increment_nv12
@@ -136,7 +136,7 @@
 .endm
 
 .macro increment_nv21
-    increment_nv12
+        increment_nv12
 .endm
 
 .macro increment_yuv420p
@@ -182,7 +182,7 @@ function ff_\ifmt\()_to_\ofmt\()_neon, export=1
         mov             w8, w0                                          // w8 = width
 2:
         movi            v5.8h, #4, lsl #8                               // 128 * (1<<3)
-    load_chroma_\ifmt
+        load_chroma_\ifmt
         sub             v18.8h, v18.8h, v5.8h                           // U*(1<<3) - 128*(1<<3)
         sub             v19.8h, v19.8h, v5.8h                           // V*(1<<3) - 128*(1<<3)
         sqdmulh         v20.8h, v19.8h, v1.h[0]                         // V * v2r            (R)
@@ -237,11 +237,11 @@ function ff_\ifmt\()_to_\ofmt\()_neon, export=1
         add             x15, x15, w16, sxtw                             // dst2 += padding2
 .endif
         add             x4, x4, w5, sxtw                                // srcY += paddingY
-    increment_\ifmt
+        increment_\ifmt
         subs            w1, w1, #1                                      // height -= 1
         b.gt            1b
         mov             w0, w9
-    ret
+        ret
 endfunc
 .endm
 
-- 
2.39.5 (Apple Git-154)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-28 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-28 12:12 [FFmpeg-devel] [PATCH] aarch64: Fix a few misindented lines Martin Storsjö

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git