diff options
author | wm4 <wm4@nowhere> | 2017-06-29 20:51:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-29 20:52:05 +0200 |
commit | 1dffcb01678c20294fa60a0402b02acaeab65606 (patch) | |
tree | d2ab7190c8a4305c741c81fb81ca0ec9060995e5 /test/test_helpers.h | |
parent | 016c9a1d8f1fe2078d3aa1d6d4ebb31616e10f09 (diff) | |
download | mpv-1dffcb01678c20294fa60a0402b02acaeab65606.tar.bz2 mpv-1dffcb01678c20294fa60a0402b02acaeab65606.tar.xz |
vo_opengl: rely on FFmpeg pixdesc a bit more
Add something that allows is to extract the component order from various
RGBA formats. In fact, also handle YUV, GBRP, and XYZ formats with this.
It introduces a new struct mp_regular_imgfmt, that hopefully will
eventually replace struct mp_imgfmt_desc. The latter is still needed by
a lot of code though, especially generic code. Also vo_opengl still uses
the old one, so this commit is sort of incomplete.
Due to its genericness, it's also possible that this commit introduces
rendering bugs, or accepts formats it shouldn't accept.
Diffstat (limited to 'test/test_helpers.h')
0 files changed, 0 insertions, 0 deletions