diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-06-10 20:25:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-10 21:46:51 +0200 |
commit | 0fd82fedc9b279cd12f71dd7de954cfb60fa9dea (patch) | |
tree | 5eb5bc43bb2976fcd9097d1b100347c82a255b4d /libavutil/pixfmt.h | |
parent | 16c9e6717e8b9524bf9126153e336db2f386514c (diff) | |
download | ffmpeg-0fd82fedc9b279cd12f71dd7de954cfb60fa9dea.tar.gz |
pixfmt: Replace 9/10bit deprecation by a technical explanation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixfmt.h')
-rw-r--r-- | libavutil/pixfmt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 95972f9373..6e4f1610d7 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -136,7 +136,9 @@ enum PixelFormat { PIX_FMT_BGR48BE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian PIX_FMT_BGR48LE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian - //the following 6 formats are deprecated and should be replaced by PIX_FMT_YUV420P16* with the bpp stored seperately + //the following 6 formats have the disadvantage of needing 1 format for each bit depth, thus + //If you want to support multiple bit depths, then using PIX_FMT_YUV420P16* with the bpp stored seperately + //is better PIX_FMT_YUV420P9BE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian 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 |