diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-05-11 10:00:50 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-05-11 14:38:14 +0200 |
commit | 5c511ad4ce20aff96ec587de1a8be6f28aed4544 (patch) | |
tree | 48c337fd8823c5707fbe3fa5be0f51ba88bed2db /libavutil/pixfmt.h | |
parent | b437f5b055497fc81b8061de593f3ef27657c1e3 (diff) | |
download | ffmpeg-5c511ad4ce20aff96ec587de1a8be6f28aed4544.tar.gz |
swscale: extend YUV422p support to 10bits depth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixfmt.h')
-rw-r--r-- | libavutil/pixfmt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index fafbf9be1a..533eb9f706 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -139,6 +139,8 @@ enum PixelFormat { PIX_FMT_YUV420P9LE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian PIX_FMT_YUV420P10BE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian PIX_FMT_YUV420P10LE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian + PIX_FMT_YUV422P10BE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian + PIX_FMT_YUV422P10LE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian 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 }; @@ -165,6 +167,7 @@ enum PixelFormat { #define PIX_FMT_YUV420P9 PIX_FMT_NE(YUV420P9BE , YUV420P9LE) #define PIX_FMT_YUV420P10 PIX_FMT_NE(YUV420P10BE, YUV420P10LE) +#define PIX_FMT_YUV422P10 PIX_FMT_NE(YUV422P10BE, YUV422P10LE) #define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420P16BE, YUV420P16LE) #define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422P16BE, YUV422P16LE) #define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444P16BE, YUV444P16LE) |