libavcodec/a64colors.h
Go to the documentation of this file.
00001 /*
00002  * a64 video encoder - c64 colors in rgb (Pepto)
00003  * Copyright (c) 2009 Tobias Bindhammer
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 
00027 #ifndef AVCODEC_A64COLORS_H
00028 #define AVCODEC_A64COLORS_H
00029 
00030 #include <stdint.h>
00031 
00032 /* c64 palette in RGB */
00033 static const uint8_t a64_palette[16][3] = {
00034     {0x00, 0x00, 0x00},
00035     {0xff, 0xff, 0xff},
00036     {0x68, 0x37, 0x2b},
00037     {0x70, 0xa4, 0xb2},
00038     {0x6f, 0x3d, 0x86},
00039     {0x58, 0x8d, 0x43},
00040     {0x35, 0x28, 0x79},
00041     {0xb8, 0xc7, 0x6f},
00042     {0x6f, 0x4f, 0x25},
00043     {0x43, 0x39, 0x00},
00044     {0x9a, 0x67, 0x59},
00045     {0x44, 0x44, 0x44},
00046     {0x6c, 0x6c, 0x6c},
00047     {0x9a, 0xd2, 0x84},
00048     {0x6c, 0x5e, 0xb5},
00049     {0x95, 0x95, 0x95},
00050 };
00051 
00052 #endif /* AVCODEC_A64COLORS_H */