diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-16 15:01:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-16 16:06:59 +0200 |
commit | c62801270f3ec32f97966b0593c9919a95394db1 (patch) | |
tree | 042093e1d2356ab6faa2ba15e620919f5cf173d0 | |
parent | 66f1de66b89d67675e28066bb2086f27c7535295 (diff) | |
download | ffmpeg-c62801270f3ec32f97966b0593c9919a95394db1.tar.gz |
swscale: change ff_dither_8x8_128 dimensions to be consistent with the others
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale.c | 3 | ||||
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1ca6934981..c61989f8a6 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -35,7 +35,7 @@ #include "swscale_internal.h" #include "swscale.h" -DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[][8] = { +DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[9][8] = { { 36, 68, 60, 92, 34, 66, 58, 90, }, { 100, 4, 124, 28, 98, 2, 122, 26, }, { 52, 84, 44, 76, 50, 82, 42, 74, }, @@ -44,6 +44,7 @@ DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[][8] = { { 96, 0, 120, 24, 102, 6, 126, 30, }, { 48, 80, 40, 72, 54, 86, 46, 78, }, { 112, 16, 104, 8, 118, 22, 110, 14, }, + { 36, 68, 60, 92, 34, 66, 58, 90, }, }; DECLARE_ALIGNED(8, static const uint8_t, sws_pb_64)[8] = { diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 8f614d3f13..eaaed0e3c5 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -820,7 +820,7 @@ extern const uint8_t ff_dither_2x2_8[3][8]; extern const uint8_t ff_dither_4x4_16[5][8]; extern const uint8_t ff_dither_8x8_32[9][8]; extern const uint8_t ff_dither_8x8_73[9][8]; -extern const uint8_t ff_dither_8x8_128[8][8]; +extern const uint8_t ff_dither_8x8_128[9][8]; extern const uint8_t ff_dither_8x8_220[9][8]; extern const int32_t ff_yuv2rgb_coeffs[8][4]; |