diff options
author | wm4 <wm4@nowhere> | 2019-11-02 18:11:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-02 18:11:02 +0100 |
commit | d26c1c68141d7e45f94786831fd7bdf7e2a05040 (patch) | |
tree | cf5be2fda81e1afe52dac42dc3ec8eae17be17c5 /video/out/vo_tct.c | |
parent | 20c1bd8a5e0bdddab016363489406220ce415128 (diff) | |
download | mpv-d26c1c68141d7e45f94786831fd7bdf7e2a05040.tar.bz2 mpv-d26c1c68141d7e45f94786831fd7bdf7e2a05040.tar.xz |
zinmg: stop using GBRP for RGB
Instead, use a YUV planar format. It doesn't matter, since we use the
format only internally and for "management" purposes. We're only
interested in the physical layout, not what colorspace FFmpeg "forcibly"
associates with it.
Also get rid of using the old and slightly sketchy mp_imgfmt_find()
function. Yep, the IMGFMT_RGB30 now "constructs" the planar format,
instead of using a pixfmt constant. Slightly inconvenient, tricky, and
fragile, but I like it, so bugger off.
This whole thing gets rid of some of the strange plane permutations that
were needed earlier.
Diffstat (limited to 'video/out/vo_tct.c')
0 files changed, 0 insertions, 0 deletions