summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-29 20:51:37 +0200
committerwm4 <wm4@nowhere>2017-06-29 20:52:05 +0200
commit1dffcb01678c20294fa60a0402b02acaeab65606 (patch)
treed2ab7190c8a4305c741c81fb81ca0ec9060995e5 /video/out/vo_direct3d.c
parent016c9a1d8f1fe2078d3aa1d6d4ebb31616e10f09 (diff)
downloadmpv-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 'video/out/vo_direct3d.c')
0 files changed, 0 insertions, 0 deletions