mpv/DOCS
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
..
OUTDATED-tech core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
man/en vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
crosscompile-mingw.txt configure: make check for stream cache verbose 2013-06-16 22:12:56 +02:00
edl.rst DOCS: document EDL format 2012-12-28 13:43:59 +01:00
encoding.rst encoding-example-profiles and manpage: prefer libvorbis over vorbis 2013-03-31 19:13:06 +02:00
tech-overview.txt DOCS: update tech-overview.txt to reflect some subtitle related changes 2013-06-25 00:34:58 +02:00