Mercurial > mplayer.hg
changeset 27704:e7527860105b
Mark dither_2x2_{8,4} static to swscale.c
These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.
author | flameeyes |
---|---|
date | Thu, 09 Oct 2008 11:12:38 +0000 |
parents | 3815517f49d4 |
children | ad1d056da559 |
files | libswscale/swscale.c libswscale/yuv2rgb.c |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Thu Oct 09 11:11:35 2008 +0000 +++ b/libswscale/swscale.c Thu Oct 09 11:12:38 2008 +0000 @@ -264,12 +264,12 @@ static SwsVector *sws_getConvVec(SwsVector *a, SwsVector *b); -const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={ +static const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={ { 1, 3, 1, 3, 1, 3, 1, 3, }, { 2, 0, 2, 0, 2, 0, 2, 0, }, }; -const uint8_t __attribute__((aligned(8))) dither_2x2_8[2][8]={ +static const uint8_t __attribute__((aligned(8))) dither_2x2_8[2][8]={ { 6, 2, 6, 2, 6, 2, 6, 2, }, { 0, 4, 0, 4, 0, 4, 0, 4, }, };
--- a/libswscale/yuv2rgb.c Thu Oct 09 11:11:35 2008 +0000 +++ b/libswscale/yuv2rgb.c Thu Oct 09 11:12:38 2008 +0000 @@ -41,8 +41,6 @@ #define DITHER1XBPP // only for MMX -extern const uint8_t dither_2x2_4[2][8]; -extern const uint8_t dither_2x2_8[2][8]; extern const uint8_t dither_8x8_32[8][8]; extern const uint8_t dither_8x8_73[8][8]; extern const uint8_t dither_8x8_220[8][8];