summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-02 18:11:02 +0100
committerwm4 <wm4@nowhere>2019-11-02 18:11:02 +0100
commitd26c1c68141d7e45f94786831fd7bdf7e2a05040 (patch)
treecf5be2fda81e1afe52dac42dc3ec8eae17be17c5 /TOOLS
parent20c1bd8a5e0bdddab016363489406220ce415128 (diff)
downloadmpv-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 'TOOLS')
0 files changed, 0 insertions, 0 deletions