[FFmpeg-cvslog] avutil/pixfmt: Clarify mpeg example comments for AVChromaLocation

Michael Niedermayer git at videolan.org
Thu May 21 12:46:50 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 21 12:40:29 2015 +0200| [b95df4c3710467f1b274b96d84208eb0e92da4e3] | committer: Michael Niedermayer

avutil/pixfmt: Clarify mpeg example comments for AVChromaLocation

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

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

 libavutil/pixfmt.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 9a6b74d..23b410b 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -541,8 +541,8 @@ enum AVColorRange {
  */
 enum AVChromaLocation {
     AVCHROMA_LOC_UNSPECIFIED = 0,
-    AVCHROMA_LOC_LEFT        = 1, ///< mpeg2/4, h264 default
-    AVCHROMA_LOC_CENTER      = 2, ///< mpeg1, jpeg, h263
+    AVCHROMA_LOC_LEFT        = 1, ///< mpeg2/4 4:2:0, h264 default for 4:2:0
+    AVCHROMA_LOC_CENTER      = 2, ///< mpeg1 4:2:0, jpeg 4:2:0, h263 4:2:0
     AVCHROMA_LOC_TOPLEFT     = 3, ///< DV
     AVCHROMA_LOC_TOP         = 4,
     AVCHROMA_LOC_BOTTOMLEFT  = 5,



More information about the ffmpeg-cvslog mailing list