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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 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 | 120 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 |
121 | 121 |
122 PIX_FMT_YUV420P16LE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x
2 Y samples), little-endian | 122 PIX_FMT_YUV420P16LE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x
2 Y samples), little-endian |
123 PIX_FMT_YUV420P16BE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x
2 Y samples), big-endian | 123 PIX_FMT_YUV420P16BE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x
2 Y samples), big-endian |
124 PIX_FMT_YUV422P16LE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x
1 Y samples), little-endian | 124 PIX_FMT_YUV422P16LE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x
1 Y samples), little-endian |
125 PIX_FMT_YUV422P16BE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x
1 Y samples), big-endian | 125 PIX_FMT_YUV422P16BE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x
1 Y samples), big-endian |
126 PIX_FMT_YUV444P16LE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x
1 Y samples), little-endian | 126 PIX_FMT_YUV444P16LE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x
1 Y samples), little-endian |
127 PIX_FMT_YUV444P16BE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x
1 Y samples), big-endian | 127 PIX_FMT_YUV444P16BE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x
1 Y samples), big-endian |
128 PIX_FMT_VDPAU_MPEG4, ///< MPEG4 HW decoding with VDPAU, data[0] contains a
vdpau_render_state struct which contains the bitstream of the slices as well as
various fields extracted from headers | 128 PIX_FMT_VDPAU_MPEG4, ///< MPEG4 HW decoding with VDPAU, data[0] contains a
vdpau_render_state struct which contains the bitstream of the slices as well as
various fields extracted from headers |
129 PIX_FMT_DXVA2_VLD, ///< HW decoding through DXVA2, Picture.data[3] contai
ns a LPDIRECT3DSURFACE9 pointer | 129 PIX_FMT_DXVA2_VLD, ///< HW decoding through DXVA2, Picture.data[3] contai
ns a LPDIRECT3DSURFACE9 pointer |
| 130 |
| 131 PIX_FMT_RGB444BE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-
endian, most significant bits to 0 |
| 132 PIX_FMT_RGB444LE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), litt
le-endian, most significant bits to 0 |
| 133 PIX_FMT_BGR444BE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-
endian, most significant bits to 1 |
| 134 PIX_FMT_BGR444LE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), litt
le-endian, most significant bits to 1 |
130 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 | 135 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 |
131 }; | 136 }; |
132 | 137 |
133 #if AV_HAVE_BIGENDIAN | 138 #if AV_HAVE_BIGENDIAN |
134 # define PIX_FMT_NE(be, le) PIX_FMT_##be | 139 # define PIX_FMT_NE(be, le) PIX_FMT_##be |
135 #else | 140 #else |
136 # define PIX_FMT_NE(be, le) PIX_FMT_##le | 141 # define PIX_FMT_NE(be, le) PIX_FMT_##le |
137 #endif | 142 #endif |
138 | 143 |
139 #define PIX_FMT_RGB32 PIX_FMT_NE(ARGB, BGRA) | 144 #define PIX_FMT_RGB32 PIX_FMT_NE(ARGB, BGRA) |
140 #define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR) | 145 #define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR) |
141 #define PIX_FMT_BGR32 PIX_FMT_NE(ABGR, RGBA) | 146 #define PIX_FMT_BGR32 PIX_FMT_NE(ABGR, RGBA) |
142 #define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB) | 147 #define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB) |
143 | 148 |
144 #define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE) | 149 #define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE) |
145 #define PIX_FMT_RGB48 PIX_FMT_NE(RGB48BE, RGB48LE) | 150 #define PIX_FMT_RGB48 PIX_FMT_NE(RGB48BE, RGB48LE) |
146 #define PIX_FMT_RGB565 PIX_FMT_NE(RGB565BE, RGB565LE) | 151 #define PIX_FMT_RGB565 PIX_FMT_NE(RGB565BE, RGB565LE) |
147 #define PIX_FMT_RGB555 PIX_FMT_NE(RGB555BE, RGB555LE) | 152 #define PIX_FMT_RGB555 PIX_FMT_NE(RGB555BE, RGB555LE) |
| 153 #define PIX_FMT_RGB444 PIX_FMT_NE(RGB444BE, RGB444LE) |
148 #define PIX_FMT_BGR565 PIX_FMT_NE(BGR565BE, BGR565LE) | 154 #define PIX_FMT_BGR565 PIX_FMT_NE(BGR565BE, BGR565LE) |
149 #define PIX_FMT_BGR555 PIX_FMT_NE(BGR555BE, BGR555LE) | 155 #define PIX_FMT_BGR555 PIX_FMT_NE(BGR555BE, BGR555LE) |
| 156 #define PIX_FMT_BGR444 PIX_FMT_NE(BGR444BE, BGR444LE) |
150 | 157 |
151 #define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420P16BE, YUV420P16LE) | 158 #define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420P16BE, YUV420P16LE) |
152 #define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422P16BE, YUV422P16LE) | 159 #define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422P16BE, YUV422P16LE) |
153 #define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444P16BE, YUV444P16LE) | 160 #define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444P16BE, YUV444P16LE) |
154 | 161 |
155 #endif /* AVUTIL_PIXFMT_H */ | 162 #endif /* AVUTIL_PIXFMT_H */ |
OLD | NEW |