annotate a64colors.h @ 12503:3fff0806404a libavcodec

Support deinterlacing of YUVJ420P.
author banan
date Mon, 20 Sep 2010 11:34:27 +0000
parents c4be22c976b6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12409
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
1 /*
12410
7cf900245fce added interlacing option and compression option for colorram (lut)
bindhammer
parents: 12409
diff changeset
2 * a64 video encoder - c64 colors in rgb (Pepto)
12409
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
3 * Copyright (c) 2009 Tobias Bindhammer
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
4 *
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
5 * This file is part of FFmpeg.
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
6 *
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
11 *
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
15 * Lesser General Public License for more details.
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
16 *
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
20 */
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
21
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
22 /**
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
23 * @file
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
24 * a64 video encoder - c64 colors in rgb
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
25 */
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
26
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
27 #ifndef AVCODEC_A64COLORS_H
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
28 #define AVCODEC_A64COLORS_H
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
29
12476
c4be22c976b6 Add missing stdint.h #include; necessary to pass 'make checkheaders'.
diego
parents: 12410
diff changeset
30 #include <stdint.h>
c4be22c976b6 Add missing stdint.h #include; necessary to pass 'make checkheaders'.
diego
parents: 12410
diff changeset
31
12409
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
32 /* c64 palette in RGB */
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
33 static const uint8_t a64_palette[16][3] = {
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
34 {0x00, 0x00, 0x00},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
35 {0xff, 0xff, 0xff},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
36 {0x68, 0x37, 0x2b},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
37 {0x70, 0xa4, 0xb2},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
38 {0x6f, 0x3d, 0x86},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
39 {0x58, 0x8d, 0x43},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
40 {0x35, 0x28, 0x79},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
41 {0xb8, 0xc7, 0x6f},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
42 {0x6f, 0x4f, 0x25},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
43 {0x43, 0x39, 0x00},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
44 {0x9a, 0x67, 0x59},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
45 {0x44, 0x44, 0x44},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
46 {0x6c, 0x6c, 0x6c},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
47 {0x9a, 0xd2, 0x84},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
48 {0x6c, 0x5e, 0xb5},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
49 {0x95, 0x95, 0x95},
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
50 };
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
51
91db982aaaad fixed some return values and deprecated CODEC_TYPE_VIDEO.
bindhammer
parents:
diff changeset
52 #endif /* AVCODEC_A64COLORS_H */