[FFmpeg-cvslog] swscale/rgb2rgb : cosmetic, move shuffle_bytes func declaration

Martin Vignali git at videolan.org
Sat Mar 24 21:25:02 EET 2018


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Sat Mar 24 20:20:04 2018 +0100| [5f6126ea7f31db38a796ea5533a06b6526e13ecf] | committer: Martin Vignali

swscale/rgb2rgb : cosmetic, move shuffle_bytes func declaration

move shuffle_bytes_1230, 3012, 3210 with the other shuffle_byte
declaration

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f6126ea7f31db38a796ea5533a06b6526e13ecf
---

 libswscale/rgb2rgb.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h
index 08de546598..3569254df9 100644
--- a/libswscale/rgb2rgb.h
+++ b/libswscale/rgb2rgb.h
@@ -52,6 +52,9 @@ extern void (*rgb32tobgr15)(const uint8_t *src, uint8_t *dst, int src_size);
 
 extern void (*shuffle_bytes_0321)(const uint8_t *src, uint8_t *dst, int src_size);
 extern void (*shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst, int src_size);
+extern void (*shuffle_bytes_1230)(const uint8_t *src, uint8_t *dst, int src_size);
+extern void (*shuffle_bytes_3012)(const uint8_t *src, uint8_t *dst, int src_size);
+extern void (*shuffle_bytes_3210)(const uint8_t *src, uint8_t *dst, int src_size);
 
 void rgb64tobgr48_nobswap(const uint8_t *src, uint8_t *dst, int src_size);
 void   rgb64tobgr48_bswap(const uint8_t *src, uint8_t *dst, int src_size);
@@ -76,10 +79,6 @@ void rgb15tobgr15(const uint8_t *src, uint8_t *dst, int src_size);
 void rgb12tobgr12(const uint8_t *src, uint8_t *dst, int src_size);
 void    rgb12to15(const uint8_t *src, uint8_t *dst, int src_size);
 
-extern void (*shuffle_bytes_1230)(const uint8_t *src, uint8_t *dst, int src_size);
-extern void (*shuffle_bytes_3012)(const uint8_t *src, uint8_t *dst, int src_size);
-extern void (*shuffle_bytes_3210)(const uint8_t *src, uint8_t *dst, int src_size);
-
 void ff_rgb24toyv12_c(const uint8_t *src, uint8_t *ydst, uint8_t *udst,
                       uint8_t *vdst, int width, int height, int lumStride,
                       int chromStride, int srcStride, int32_t *rgb2yuv);



More information about the ffmpeg-cvslog mailing list