2022-08-20 04:42:29 +08:00
|
|
|
diff --git a/libswscale/aarch64/yuv2rgb_neon.S b/libswscale/aarch64/yuv2rgb_neon.S
|
2023-11-15 04:54:21 +08:00
|
|
|
index 89d69e7f6c..4bc1607a7a 100644
|
|
|
|
--- a/libswscale/aarch64/yuv2rgb_neon.S
|
2022-08-20 04:42:29 +08:00
|
|
|
+++ b/libswscale/aarch64/yuv2rgb_neon.S
|
|
|
|
@@ -169,19 +169,19 @@ function ff_\ifmt\()_to_\ofmt\()_neon, export=1
|
2023-11-15 04:54:21 +08:00
|
|
|
sqdmulh v26.8h, v26.8h, v0.8h // ((Y1*(1<<3) - y_offset) * y_coeff) >> 15
|
|
|
|
sqdmulh v27.8h, v27.8h, v0.8h // ((Y2*(1<<3) - y_offset) * y_coeff) >> 15
|
2022-08-20 04:42:29 +08:00
|
|
|
|
|
|
|
-.ifc \ofmt,argb // 1 2 3 0
|
|
|
|
+.ifc \ofmt,argb
|
2023-11-15 04:54:21 +08:00
|
|
|
compute_rgba v5.8b,v6.8b,v7.8b,v4.8b, v17.8b,v18.8b,v19.8b,v16.8b
|
2022-08-20 04:42:29 +08:00
|
|
|
.endif
|
|
|
|
|
|
|
|
-.ifc \ofmt,rgba // 0 1 2 3
|
|
|
|
+.ifc \ofmt,rgba
|
2023-11-15 04:54:21 +08:00
|
|
|
compute_rgba v4.8b,v5.8b,v6.8b,v7.8b, v16.8b,v17.8b,v18.8b,v19.8b
|
2022-08-20 04:42:29 +08:00
|
|
|
.endif
|
|
|
|
|
|
|
|
-.ifc \ofmt,abgr // 3 2 1 0
|
|
|
|
+.ifc \ofmt,abgr
|
2023-11-15 04:54:21 +08:00
|
|
|
compute_rgba v7.8b,v6.8b,v5.8b,v4.8b, v19.8b,v18.8b,v17.8b,v16.8b
|
2022-08-20 04:42:29 +08:00
|
|
|
.endif
|
|
|
|
|
|
|
|
-.ifc \ofmt,bgra // 2 1 0 3
|
|
|
|
+.ifc \ofmt,bgra
|
2023-11-15 04:54:21 +08:00
|
|
|
compute_rgba v6.8b,v5.8b,v4.8b,v7.8b, v18.8b,v17.8b,v16.8b,v19.8b
|
2022-08-20 04:42:29 +08:00
|
|
|
.endif
|
|
|
|
|