summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-25 20:49:52 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-26 00:56:06 +0200
commit7dc303a60ef7205d88a11ddbcb251f3237a3945e (patch)
tree0f3e736869148829aed51852766a949d2e26ca75 /libswscale/rgb2rgb.h
parent8c51620f219db0f408d2833c3e5d56cedaf0d95a (diff)
downloadffmpeg-7dc303a60ef7205d88a11ddbcb251f3237a3945e.tar.gz
swscale: Eliminate rgb24toyv12_c() duplication.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libswscale/rgb2rgb.h')
-rw-r--r--libswscale/rgb2rgb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb.h b/libswscale/rgb2rgb.h
index a8d5531cb8..4dd0d95674 100644
--- a/libswscale/rgb2rgb.h
+++ b/libswscale/rgb2rgb.h
@@ -68,6 +68,10 @@ void shuffle_bytes_1230(const uint8_t *src, uint8_t *dst, long src_size);
void shuffle_bytes_3012(const uint8_t *src, uint8_t *dst, long src_size);
void shuffle_bytes_3210(const uint8_t *src, uint8_t *dst, long src_size);
+void rgb24toyv12_c(const uint8_t *src, uint8_t *ydst, uint8_t *udst,
+ uint8_t *vdst, long width, long height, long lumStride,
+ long chromStride, long srcStride);
+
/**
* Height should be a multiple of 2 and width should be a multiple of 16.
* (If this is a problem for anyone then tell me, and I will fix it.)