summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-05-15 10:54:10 +0300
committerMartin Storsjö <martin@martin.st>2020-05-15 23:38:17 +0300
commite0604d508e97322b88c8e4318516ead0cbc55170 (patch)
tree2157f7cc3ce3f7cbeae0bcb60cd00c907b96129f /libswscale/rgb2rgb.h
parenteba1ebd9bfd667619add3e5d8042bf0e5cf928e5 (diff)
swscale: aarch64: Add a NEON implementation of interleaveBytes
This allows speeding up format conversions from yuv420 to nv12. Cortex A53 A72 A73 interleave_bytes_c: 86077.5 51433.0 66972.0 interleave_bytes_neon: 19701.7 23019.2 15859.2 interleave_bytes_aligned_c: 86603.0 52017.2 67484.2 interleave_bytes_aligned_neon: 9061.0 7623.0 6309.0 Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale/rgb2rgb.h')
-rw-r--r--libswscale/rgb2rgb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h
index 3569254df9..48bba1586a 100644
--- a/libswscale/rgb2rgb.h
+++ b/libswscale/rgb2rgb.h
@@ -169,6 +169,7 @@ extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
void ff_sws_rgb2rgb_init(void);
+void rgb2rgb_init_aarch64(void);
void rgb2rgb_init_x86(void);
#endif /* SWSCALE_RGB2RGB_H */