diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2018-10-22 23:07:20 +0200 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2018-10-24 21:21:20 +0200 |
commit | 156120fcf8fa7326e7ade2c2478c8be6536e69ad (patch) | |
tree | 3e00dbf243ef88f0559a0916b8ba5a9ad895aeea | |
parent | 26bf4a40507dd8d313073c33c2696413eb63d2c5 (diff) | |
download | ffmpeg-156120fcf8fa7326e7ade2c2478c8be6536e69ad.tar.gz |
swscale/swscale_unscaled : rename packed_16bpc_bswap
is used for packed and planar format
-rw-r--r-- | libswscale/swscale_unscaled.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 54f27e0ac2..058f2b94db 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -423,7 +423,7 @@ static void gray8aToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, } } -static int packed_16bpc_bswap(SwsContext *c, const uint8_t *src[], +static int bswap_16bpc(SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) { @@ -2023,7 +2023,7 @@ void ff_get_unscaled_swscale(SwsContext *c) IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P12) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P14) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P16)) - c->swscale = packed_16bpc_bswap; + c->swscale = bswap_16bpc; if (usePal(srcFormat) && isByteRGB(dstFormat)) c->swscale = palToRgbWrapper; |