Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Martin Storsjö" <martin@martin.st>
To: ffmpeg-devel@ffmpeg.org
Cc: Krzysztof Pyrkosz <ffmpeg@szaka.eu>
Subject: [FFmpeg-devel] [PATCH] aarch64: Fix a few misindented lines
Date: Fri, 28 Feb 2025 14:12:24 +0200
Message-ID: <20250228121224.56806-1-martin@martin.st> (raw)

---
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".

                 reply	other threads:[~2025-02-28 12:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250228121224.56806-1-martin@martin.st \
    --to=martin@martin.st \
    --cc=ffmpeg-devel@ffmpeg.org \
    --cc=ffmpeg@szaka.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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