comparison qtpalette.h @ 2794:b556182542cb libavformat

Make ff_qt_default_palette_* arrays "static const"
author reimar
date Sun, 02 Dec 2007 23:27:01 +0000
parents 792383dd085e
children dc492c84a747
comparison
equal deleted inserted replaced
2793:d5842afe8539 2794:b556182542cb
21 */ 21 */
22 22
23 #ifndef FFMPEG_QTPALETTE_H 23 #ifndef FFMPEG_QTPALETTE_H
24 #define FFMPEG_QTPALETTE_H 24 #define FFMPEG_QTPALETTE_H
25 25
26 unsigned char ff_qt_default_palette_4[4 * 4] = { 26 static const uint8_t ff_qt_default_palette_4[4 * 4] = {
27 0x93, 0x65, 0x5E, 0x00, 27 0x93, 0x65, 0x5E, 0x00,
28 0xFF, 0xFF, 0xFF, 0x00, 28 0xFF, 0xFF, 0xFF, 0x00,
29 0xDF, 0xD0, 0xAB, 0x00, 29 0xDF, 0xD0, 0xAB, 0x00,
30 0x00, 0x00, 0x00, 0x00 30 0x00, 0x00, 0x00, 0x00
31 }; 31 };
32 32
33 unsigned char ff_qt_default_palette_16[16 * 4] = { 33 static const uint8_t ff_qt_default_palette_16[16 * 4] = {
34 0xFF, 0xFB, 0xFF, 0x00, 34 0xFF, 0xFB, 0xFF, 0x00,
35 0xEF, 0xD9, 0xBB, 0x00, 35 0xEF, 0xD9, 0xBB, 0x00,
36 0xE8, 0xC9, 0xB1, 0x00, 36 0xE8, 0xC9, 0xB1, 0x00,
37 0x93, 0x65, 0x5E, 0x00, 37 0x93, 0x65, 0x5E, 0x00,
38 0xFC, 0xDE, 0xE8, 0x00, 38 0xFC, 0xDE, 0xE8, 0x00,
47 0xE8, 0xCA, 0xC5, 0x00, 47 0xE8, 0xCA, 0xC5, 0x00,
48 0x8A, 0x7C, 0x77, 0x00, 48 0x8A, 0x7C, 0x77, 0x00,
49 0x00, 0x00, 0x00, 0x00 49 0x00, 0x00, 0x00, 0x00
50 }; 50 };
51 51
52 unsigned char ff_qt_default_palette_256[256 * 4] = { 52 static const uint8_t ff_qt_default_palette_256[256 * 4] = {
53 /* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0x00, 53 /* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0x00,
54 /* 1, 0x01 */ 0xFF, 0xFF, 0xCC, 0x00, 54 /* 1, 0x01 */ 0xFF, 0xFF, 0xCC, 0x00,
55 /* 2, 0x02 */ 0xFF, 0xFF, 0x99, 0x00, 55 /* 2, 0x02 */ 0xFF, 0xFF, 0x99, 0x00,
56 /* 3, 0x03 */ 0xFF, 0xFF, 0x66, 0x00, 56 /* 3, 0x03 */ 0xFF, 0xFF, 0x66, 0x00,
57 /* 4, 0x04 */ 0xFF, 0xFF, 0x33, 0x00, 57 /* 4, 0x04 */ 0xFF, 0xFF, 0x33, 0x00,