comparison aactab.c @ 10141:69d79f51b8ce libavcodec

ff_swb_offset_* tables should be const.
author reimar
date Sun, 06 Sep 2009 08:48:45 +0000
parents 4cac4001dd23
children 76132409af55
comparison
equal deleted inserted replaced
10140:420728852dc0 10141:69d79f51b8ce
1001 static const uint16_t swb_offset_128_8[] = { 1001 static const uint16_t swb_offset_128_8[] = {
1002 0, 4, 8, 12, 16, 20, 24, 28, 1002 0, 4, 8, 12, 16, 20, 24, 28,
1003 36, 44, 52, 60, 72, 88, 108, 128 1003 36, 44, 52, 60, 72, 88, 108, 128
1004 }; 1004 };
1005 1005
1006 const uint16_t *ff_swb_offset_1024[] = { 1006 const uint16_t * const ff_swb_offset_1024[] = {
1007 swb_offset_1024_96, swb_offset_1024_96, swb_offset_1024_64, 1007 swb_offset_1024_96, swb_offset_1024_96, swb_offset_1024_64,
1008 swb_offset_1024_48, swb_offset_1024_48, swb_offset_1024_32, 1008 swb_offset_1024_48, swb_offset_1024_48, swb_offset_1024_32,
1009 swb_offset_1024_24, swb_offset_1024_24, swb_offset_1024_16, 1009 swb_offset_1024_24, swb_offset_1024_24, swb_offset_1024_16,
1010 swb_offset_1024_16, swb_offset_1024_16, swb_offset_1024_8, 1010 swb_offset_1024_16, swb_offset_1024_16, swb_offset_1024_8,
1011 swb_offset_1024_8 1011 swb_offset_1024_8
1012 }; 1012 };
1013 1013
1014 const uint16_t *ff_swb_offset_128[] = { 1014 const uint16_t * const ff_swb_offset_128[] = {
1015 /* The last entry on the following row is swb_offset_128_64 but is a 1015 /* The last entry on the following row is swb_offset_128_64 but is a
1016 duplicate of swb_offset_128_96. */ 1016 duplicate of swb_offset_128_96. */
1017 swb_offset_128_96, swb_offset_128_96, swb_offset_128_96, 1017 swb_offset_128_96, swb_offset_128_96, swb_offset_128_96,
1018 swb_offset_128_48, swb_offset_128_48, swb_offset_128_48, 1018 swb_offset_128_48, swb_offset_128_48, swb_offset_128_48,
1019 swb_offset_128_24, swb_offset_128_24, swb_offset_128_16, 1019 swb_offset_128_24, swb_offset_128_24, swb_offset_128_16,