diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-08 23:06:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-09 02:04:23 +0200 |
commit | bd141af460d744240788e9ab3993d7f391fa17b3 (patch) | |
tree | 0e134087fcc02b29e87209c8fa583eb0ba9ef94b /libswscale/swscale_internal.h | |
parent | a3e11fa43ce144fc1f4d1c9f81b7de8f18ff628f (diff) |
swscale: Fix prototypes of *toyv12 so they can be used with planar rgb input.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 07ae72b236..1c9e62a79f 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -418,12 +418,12 @@ typedef struct SwsContext { yuv2packed2_fn yuv2packed2; yuv2packedX_fn yuv2packedX; - void (*lumToYV12)(uint8_t *dst, const uint8_t *src, + void (*lumToYV12)(uint8_t *dst, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal); ///< Unscaled conversion of luma plane to YV12 for horizontal scaler. - void (*alpToYV12)(uint8_t *dst, const uint8_t *src, + void (*alpToYV12)(uint8_t *dst, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal); ///< Unscaled conversion of alpha plane to YV12 for horizontal scaler. void (*chrToYV12)(uint8_t *dstU, uint8_t *dstV, - const uint8_t *src1, const uint8_t *src2, + const uint8_t *src1, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal); ///< Unscaled conversion of chroma planes to YV12 for horizontal scaler. /** * Scale one horizontal line of input data using a bilinear filter |