mpv/DOCS/man/en
wm4 ac266da658 vo_opengl: handle chroma location
Use the video decoder chroma location flags and render chroma locations
other than centered. Until now, we've always used the intuitive and
obvious centered chroma location, but H.264 uses something else.

FFmpeg provides a small overview in libavcodec/avcodec.h:

-----------
/**
 *  X   X      3 4 X      X are luma samples,
 *             1 2        1-6 are possible chroma positions
 *  X   X      5 6 X      0 is undefined/unknown position
 */
enum AVChromaLocation{
    AVCHROMA_LOC_UNSPECIFIED = 0,
    AVCHROMA_LOC_LEFT        = 1, ///< mpeg2/4, h264 default
    AVCHROMA_LOC_CENTER      = 2, ///< mpeg1, jpeg, h263
    AVCHROMA_LOC_TOPLEFT     = 3, ///< DV
    AVCHROMA_LOC_TOP         = 4,
    AVCHROMA_LOC_BOTTOMLEFT  = 5,
    AVCHROMA_LOC_BOTTOM      = 6,
    AVCHROMA_LOC_NB             , ///< Not part of ABI
};
-----------

The visual difference is literally minimal, but since videophiles
apparently consider this detail as quality mark of a video renderer,
support it anyway. We don't bother with chroma locations other than
centered and left, though.

Not sure about correctness, but it's probably ok.
2013-06-28 21:20:41 +02:00
..
af.rst af_lavfi: add libavfilter bridge 2013-05-23 17:44:06 +02:00
ao.rst ao_jack: add (no-)connect suboption 2013-06-04 01:31:20 +02:00
changes.rst options: rename --rawvideo to --demuxer-rawvideo, same with --rawaudio 2013-06-28 15:14:51 +02:00
encode.rst Option -omaxfps: limit fps when encoding 2013-06-09 15:37:28 +02:00
input.rst core: add libquvi 0.9 support 2013-06-28 15:47:35 +02:00
mpv.rst core: add playback resume feature (manual/opt-in) 2013-05-05 20:08:11 +02:00
options.rst core: add libquvi 0.9 support 2013-06-28 15:47:35 +02:00
vf.rst manpage: mark some filters as deprecated in favor of libavfilter 2013-05-26 17:31:21 +02:00
vo.rst vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00