Mercurial > libavcodec.hg
comparison truemotion1data.h @ 7129:322023e630a6 libavcodec
mark read-only data as const
author | stefang |
---|---|
date | Tue, 24 Jun 2008 20:01:31 +0000 |
parents | 1d83e9c34641 |
children | c4a4495715dd |
comparison
equal
deleted
inserted
replaced
7128:614bc53e67a8 | 7129:322023e630a6 |
---|---|
44 /* NOTE: This table breaks the [+,-] pattern that the rest of the | 44 /* NOTE: This table breaks the [+,-] pattern that the rest of the |
45 * tables maintain. Is this intentional? */ | 45 * tables maintain. Is this intentional? */ |
46 static const int16_t fat_cdt3[8] = { 0, 40, 80, -76, 160, -154, 236, -236 }; | 46 static const int16_t fat_cdt3[8] = { 0, 40, 80, -76, 160, -154, 236, -236 }; |
47 | 47 |
48 /* all the delta tables to choose from, at all 4 delta levels */ | 48 /* all the delta tables to choose from, at all 4 delta levels */ |
49 static const int16_t *ydts[] = { ydt1, ydt2, ydt3, ydt4, NULL }; | 49 static const int16_t * const ydts[] = { ydt1, ydt2, ydt3, ydt4, NULL }; |
50 static const int16_t *fat_ydts[] = { fat_ydt3, fat_ydt3, fat_ydt3, fat_ydt4, NULL }; | 50 static const int16_t * const fat_ydts[] = { fat_ydt3, fat_ydt3, fat_ydt3, fat_ydt4, NULL }; |
51 static const int16_t *cdts[] = { cdt1, cdt1, cdt2, cdt3, NULL }; | 51 static const int16_t * const cdts[] = { cdt1, cdt1, cdt2, cdt3, NULL }; |
52 static const int16_t *fat_cdts[] = { fat_cdt2, fat_cdt2, fat_cdt2, fat_cdt3, NULL }; | 52 static const int16_t * const fat_cdts[] = { fat_cdt2, fat_cdt2, fat_cdt2, fat_cdt3, NULL }; |
53 | 53 |
54 static const uint8_t pc_tbl2[] = { | 54 static const uint8_t pc_tbl2[] = { |
55 0x8,0x00,0x00,0x00,0x00, | 55 0x8,0x00,0x00,0x00,0x00, |
56 0x8,0x00,0x00,0x00,0x00, | 56 0x8,0x00,0x00,0x00,0x00, |
57 0x8,0x10,0x00,0x00,0x00, | 57 0x8,0x10,0x00,0x00,0x00, |
826 0x2,0x57, | 826 0x2,0x57, |
827 0x2,0x67, | 827 0x2,0x67, |
828 0x2,0x77 | 828 0x2,0x77 |
829 }; | 829 }; |
830 | 830 |
831 static const uint8_t *tables[] = { pc_tbl2, pc_tbl3, pc_tbl4 }; | 831 static const uint8_t * const tables[] = { pc_tbl2, pc_tbl3, pc_tbl4 }; |
832 | 832 |
833 #endif /* FFMPEG_TRUEMOTION1DATA_H */ | 833 #endif /* FFMPEG_TRUEMOTION1DATA_H */ |