summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-17 13:32:27 +0100
committerwm4 <wm4@nowhere>2017-02-17 13:32:27 +0100
commit1e4fd996bb249a773bad5d57ac5b724be52a09af (patch)
treeb8d866473894b8087b941b4fee21bbfd317a8d92 /TOOLS
parente8137ee88154b496b2370bbdd93cd3cb3564dc86 (diff)
downloadmpv-1e4fd996bb249a773bad5d57ac5b724be52a09af.tar.bz2
mpv-1e4fd996bb249a773bad5d57ac5b724be52a09af.tar.xz
videotoolbox: factor some duplicated code
The code for copying a videotoolbox surface to mp_image was duplicated (with some minor differences - I picked the hw_videotoolbox.c version, because it was "better"). mp_imgfmt_from_cvpixelformat() is somewhat duplicated with the vt_formats[] table, but this will be fixed in a later commit, and moving the function to shared code is preparation.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions