Mercurial > libavutil.hg
comparison avutil.h @ 669:d832fcef8bb8 libavutil
Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
author | pross |
---|---|
date | Sun, 22 Feb 2009 00:55:49 +0000 |
parents | 6780cc679b76 |
children | 69e93bca7fd3 |
comparison
equal
deleted
inserted
replaced
668:8adb1d368c25 | 669:d832fcef8bb8 |
---|---|
33 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) | 33 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) |
34 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c | 34 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c |
35 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) | 35 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) |
36 | 36 |
37 #define LIBAVUTIL_VERSION_MAJOR 49 | 37 #define LIBAVUTIL_VERSION_MAJOR 49 |
38 #define LIBAVUTIL_VERSION_MINOR 14 | 38 #define LIBAVUTIL_VERSION_MINOR 15 |
39 #define LIBAVUTIL_VERSION_MICRO 0 | 39 #define LIBAVUTIL_VERSION_MICRO 0 |
40 | 40 |
41 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ | 41 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
42 LIBAVUTIL_VERSION_MINOR, \ | 42 LIBAVUTIL_VERSION_MINOR, \ |
43 LIBAVUTIL_VERSION_MICRO) | 43 LIBAVUTIL_VERSION_MICRO) |
128 PIX_FMT_VDPAU_H264,///< H.264 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_H264,///< H.264 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_VDPAU_MPEG1,///< MPEG-1 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_VDPAU_MPEG1,///< MPEG-1 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 |
130 PIX_FMT_VDPAU_MPEG2,///< MPEG-2 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 | 130 PIX_FMT_VDPAU_MPEG2,///< MPEG-2 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 |
131 PIX_FMT_VDPAU_WMV3,///< WMV3 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 | 131 PIX_FMT_VDPAU_WMV3,///< WMV3 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 |
132 PIX_FMT_VDPAU_VC1, ///< VC-1 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 | 132 PIX_FMT_VDPAU_VC1, ///< VC-1 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 |
133 PIX_FMT_RGB48BE, ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, big-endian | |
134 PIX_FMT_RGB48LE, ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, little-endian | |
133 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 versions | 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 versions |
134 }; | 136 }; |
135 | 137 |
136 #ifdef WORDS_BIGENDIAN | 138 #ifdef WORDS_BIGENDIAN |
137 #define PIX_FMT_RGBA PIX_FMT_RGB32_1 | 139 #define PIX_FMT_RGBA PIX_FMT_RGB32_1 |
138 #define PIX_FMT_BGRA PIX_FMT_BGR32_1 | 140 #define PIX_FMT_BGRA PIX_FMT_BGR32_1 |
139 #define PIX_FMT_ARGB PIX_FMT_RGB32 | 141 #define PIX_FMT_ARGB PIX_FMT_RGB32 |
140 #define PIX_FMT_ABGR PIX_FMT_BGR32 | 142 #define PIX_FMT_ABGR PIX_FMT_BGR32 |
141 #define PIX_FMT_GRAY16 PIX_FMT_GRAY16BE | 143 #define PIX_FMT_GRAY16 PIX_FMT_GRAY16BE |
144 #define PIX_FMT_RGB48 PIX_FMT_RGB48BE | |
142 #else | 145 #else |
143 #define PIX_FMT_RGBA PIX_FMT_BGR32 | 146 #define PIX_FMT_RGBA PIX_FMT_BGR32 |
144 #define PIX_FMT_BGRA PIX_FMT_RGB32 | 147 #define PIX_FMT_BGRA PIX_FMT_RGB32 |
145 #define PIX_FMT_ARGB PIX_FMT_BGR32_1 | 148 #define PIX_FMT_ARGB PIX_FMT_BGR32_1 |
146 #define PIX_FMT_ABGR PIX_FMT_RGB32_1 | 149 #define PIX_FMT_ABGR PIX_FMT_RGB32_1 |
147 #define PIX_FMT_GRAY16 PIX_FMT_GRAY16LE | 150 #define PIX_FMT_GRAY16 PIX_FMT_GRAY16LE |
151 #define PIX_FMT_RGB48 PIX_FMT_RGB48LE | |
148 #endif | 152 #endif |
149 | 153 |
150 #if LIBAVUTIL_VERSION_INT < (50<<16) | 154 #if LIBAVUTIL_VERSION_INT < (50<<16) |
151 #define PIX_FMT_UYVY411 PIX_FMT_UYYVYY411 | 155 #define PIX_FMT_UYVY411 PIX_FMT_UYYVYY411 |
152 #define PIX_FMT_RGBA32 PIX_FMT_RGB32 | 156 #define PIX_FMT_RGBA32 PIX_FMT_RGB32 |