FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
a64colors.h
Go to the documentation of this file.
1 /*
2  * a64 video encoder - c64 colors in rgb (Pepto)
3  * Copyright (c) 2009 Tobias Bindhammer
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * FFmpeg is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 /**
23  * @file
24  * a64 video encoder - c64 colors in rgb
25  */
26 
27 #ifndef AVCODEC_A64COLORS_H
28 #define AVCODEC_A64COLORS_H
29 
30 #include <stdint.h>
31 
32 /* c64 palette in RGB */
33 static const uint8_t a64_palette[16][3] = {
34  {0x00, 0x00, 0x00},
35  {0xff, 0xff, 0xff},
36  {0x68, 0x37, 0x2b},
37  {0x70, 0xa4, 0xb2},
38  {0x6f, 0x3d, 0x86},
39  {0x58, 0x8d, 0x43},
40  {0x35, 0x28, 0x79},
41  {0xb8, 0xc7, 0x6f},
42  {0x6f, 0x4f, 0x25},
43  {0x43, 0x39, 0x00},
44  {0x9a, 0x67, 0x59},
45  {0x44, 0x44, 0x44},
46  {0x6c, 0x6c, 0x6c},
47  {0x9a, 0xd2, 0x84},
48  {0x6c, 0x5e, 0xb5},
49  {0x95, 0x95, 0x95},
50 };
51 
52 #endif /* AVCODEC_A64COLORS_H */