summaryrefslogtreecommitdiff
path: root/include/amlogic/color.h (plain)
blob: 9839d119997eff39eeff9afaba8178145e91494c
1/*
2 * include/linux/amlogic/vout/color.h
3 *
4 * Copyright (C) 2015 Amlogic, Inc. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16*/
17
18
19#ifndef _COLOR_H_
20#define _COLOR_H_
21
22enum color_index_e {
23 COLOR_INDEX_NULL = 0,
24 COLOR_INDEX_02_PAL4 = 2,
25 COLOR_INDEX_04_PAL16 = 4,
26 COLOR_INDEX_08_PAL256 = 8,
27 COLOR_INDEX_16_655 = 9,
28 COLOR_INDEX_16_844 = 10,
29 COLOR_INDEX_16_6442 = 11 ,
30 COLOR_INDEX_16_4444_R = 12,
31 COLOR_INDEX_16_4642_R = 13,
32 COLOR_INDEX_16_1555_A = 14,
33 COLOR_INDEX_16_4444_A = 15,
34 COLOR_INDEX_16_565 = 16,
35
36 COLOR_INDEX_24_6666_A = 19,
37 COLOR_INDEX_24_6666_R = 20,
38 COLOR_INDEX_24_8565 = 21,
39 COLOR_INDEX_24_5658 = 22,
40 COLOR_INDEX_24_888_B = 23,
41 COLOR_INDEX_24_RGB = 24,
42
43 COLOR_INDEX_32_BGRA = 29,
44 COLOR_INDEX_32_ABGR = 30,
45 COLOR_INDEX_32_RGBA = 31,
46 COLOR_INDEX_32_ARGB = 32,
47
48 COLOR_INDEX_YUV_422 = 33,
49};
50
51#endif
52