mirror of https://github.com/mpv-player/mpv
c82ffb6670
Upstream libplacebo got refactored to use byte-sized strides rather than texel-sized strides. This commit makes mpv's ra_pl wrapper take advantage of that, rather than forcing a stride-fixing memcpy. Note that, technically, we would still need a stride fixing memcpy in cases when the true stride is not a multiple of the format's texel *alignment*, however this is a much rarer case and extremely unlikely to occur in practice, since all relevant formats use power-of-two texel alignments. |
||
---|---|---|
.. | ||
ra_pl.c | ||
ra_pl.h | ||
utils.c | ||
utils.h |