[FFmpeg-cvslog] avutil/pixfmt: Document the duplicated AV_PIX_FMT_GBRAP* formats

Michael Niedermayer git at videolan.org
Thu Jan 15 18:02:45 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 15 16:41:15 2015 +0100| [46b0fce627d6ac2a79e8327ca21b476a90b486bc] | committer: Michael Niedermayer

avutil/pixfmt: Document the duplicated AV_PIX_FMT_GBRAP* formats

This is similar to the other duplicated cases

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46b0fce627d6ac2a79e8327ca21b476a90b486bc
---

 libavutil/pixfmt.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index d82051a..bf74e5a 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -239,6 +239,11 @@ enum AVPixelFormat {
     AV_PIX_FMT_YA16BE,       ///< 16bit gray, 16bit alpha (big-endian)
     AV_PIX_FMT_YA16LE,       ///< 16bit gray, 16bit alpha (little-endian)
 
+    /**
+     * duplicated pixel formats for compatibility with libav.
+     * FFmpeg supports these formats since May 3 2013 (commit e6d4e687558d08187e7a415a7725e4b1a416f782)
+     * Libav added them Jan 14 2015 with incompatible values (commit 0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a)
+     */
     AV_PIX_FMT_GBRAP_LIBAV,        ///< planar GBRA 4:4:4:4 32bpp
     AV_PIX_FMT_GBRAP16BE_LIBAV,    ///< planar GBRA 4:4:4:4 64bpp, big-endian
     AV_PIX_FMT_GBRAP16LE_LIBAV,    ///< planar GBRA 4:4:4:4 64bpp, little-endian



More information about the ffmpeg-cvslog mailing list