diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-25 20:49:52 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-26 00:56:06 +0200 |
commit | 7dc303a60ef7205d88a11ddbcb251f3237a3945e (patch) | |
tree | 0f3e736869148829aed51852766a949d2e26ca75 /libswscale/rgb2rgb.h | |
parent | 8c51620f219db0f408d2833c3e5d56cedaf0d95a (diff) | |
download | ffmpeg-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.h | 4 |
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.) |