OLD | NEW |
1 /* | 1 /* |
2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> | 2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> |
3 * | 3 * |
4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
5 * | 5 * |
6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 PIX_FMT_RGB555LE, ///< packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), litt
le-endian, most significant bit to 0 | 109 PIX_FMT_RGB555LE, ///< packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), litt
le-endian, most significant bit to 0 |
110 | 110 |
111 PIX_FMT_BGR565BE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-
endian | 111 PIX_FMT_BGR565BE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-
endian |
112 PIX_FMT_BGR565LE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), litt
le-endian | 112 PIX_FMT_BGR565LE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), litt
le-endian |
113 PIX_FMT_BGR555BE, ///< packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-
endian, most significant bit to 1 | 113 PIX_FMT_BGR555BE, ///< packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-
endian, most significant bit to 1 |
114 PIX_FMT_BGR555LE, ///< packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), litt
le-endian, most significant bit to 1 | 114 PIX_FMT_BGR555LE, ///< packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), litt
le-endian, most significant bit to 1 |
115 | 115 |
116 PIX_FMT_VAAPI_MOCO, ///< HW acceleration through VA API at motion compensati
on entry-point, Picture.data[3] contains a vaapi_render_state struct which conta
ins macroblocks as well as various fields extracted from headers | 116 PIX_FMT_VAAPI_MOCO, ///< HW acceleration through VA API at motion compensati
on entry-point, Picture.data[3] contains a vaapi_render_state struct which conta
ins macroblocks as well as various fields extracted from headers |
117 PIX_FMT_VAAPI_IDCT, ///< HW acceleration through VA API at IDCT entry-point,
Picture.data[3] contains a vaapi_render_state struct which contains fields extr
acted from headers | 117 PIX_FMT_VAAPI_IDCT, ///< HW acceleration through VA API at IDCT entry-point,
Picture.data[3] contains a vaapi_render_state struct which contains fields extr
acted from headers |
118 PIX_FMT_VAAPI_VLD, ///< HW decoding through VA API, Picture.data[3] contain
s a vaapi_render_state struct which contains the bitstream of the slices as well
as various fields extracted from headers | 118 PIX_FMT_VAAPI_VLD, ///< HW decoding through VA API, Picture.data[3] contain
s a vaapi_render_state struct which contains the bitstream of the slices as well
as various fields extracted from headers |
| 119 |
| 120 PIX_FMT_YUV420PLE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x2
Y samples), little-endian |
| 121 PIX_FMT_YUV420PBE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x2
Y samples), big-endian |
| 122 PIX_FMT_YUV422PLE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1
Y samples), little-endian |
| 123 PIX_FMT_YUV422PBE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1
Y samples), big-endian |
| 124 PIX_FMT_YUV444PLE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1
Y samples), little-endian |
| 125 PIX_FMT_YUV444PBE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1
Y samples), big-endian |
119 PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want
to link with shared libav* because the number of formats might differ between v
ersions | 126 PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want
to link with shared libav* because the number of formats might differ between v
ersions |
120 }; | 127 }; |
121 | 128 |
122 #ifdef WORDS_BIGENDIAN | 129 #ifdef WORDS_BIGENDIAN |
123 # define PIX_FMT_NE(be, le) PIX_FMT_##be | 130 # define PIX_FMT_NE(be, le) PIX_FMT_##be |
124 #else | 131 #else |
125 # define PIX_FMT_NE(be, le) PIX_FMT_##le | 132 # define PIX_FMT_NE(be, le) PIX_FMT_##le |
126 #endif | 133 #endif |
127 | 134 |
128 #define PIX_FMT_RGB32 PIX_FMT_NE(ARGB, BGRA) | 135 #define PIX_FMT_RGB32 PIX_FMT_NE(ARGB, BGRA) |
129 #define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR) | 136 #define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR) |
130 #define PIX_FMT_BGR32 PIX_FMT_NE(ABGR, RGBA) | 137 #define PIX_FMT_BGR32 PIX_FMT_NE(ABGR, RGBA) |
131 #define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB) | 138 #define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB) |
132 | 139 |
133 #define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE) | 140 #define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE) |
134 #define PIX_FMT_RGB48 PIX_FMT_NE(RGB48BE, RGB48LE) | 141 #define PIX_FMT_RGB48 PIX_FMT_NE(RGB48BE, RGB48LE) |
135 #define PIX_FMT_RGB565 PIX_FMT_NE(RGB565BE, RGB565LE) | 142 #define PIX_FMT_RGB565 PIX_FMT_NE(RGB565BE, RGB565LE) |
136 #define PIX_FMT_RGB555 PIX_FMT_NE(RGB555BE, RGB555LE) | 143 #define PIX_FMT_RGB555 PIX_FMT_NE(RGB555BE, RGB555LE) |
137 #define PIX_FMT_BGR565 PIX_FMT_NE(BGR565BE, BGR565LE) | 144 #define PIX_FMT_BGR565 PIX_FMT_NE(BGR565BE, BGR565LE) |
138 #define PIX_FMT_BGR555 PIX_FMT_NE(BGR555BE, BGR555LE) | 145 #define PIX_FMT_BGR555 PIX_FMT_NE(BGR555BE, BGR555LE) |
139 | 146 |
| 147 #define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420PBE, YUV420PLE) |
| 148 #define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422PBE, YUV422PLE) |
| 149 #define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444PBE, YUV444PLE) |
| 150 |
140 #endif /* AVUTIL_PIXFMT_H */ | 151 #endif /* AVUTIL_PIXFMT_H */ |
OLD | NEW |