mirror of https://github.com/mpv-player/mpv
1e4fd996bb
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. |
||
---|---|---|
.. | ||
d3d.c | ||
d3d.h | ||
dec_video.c | ||
dec_video.h | ||
hw_cuda.c | ||
hw_d3d11va.c | ||
hw_dxva2.c | ||
hw_vaapi.c | ||
hw_vaapi_old.c | ||
hw_vdpau.c | ||
hw_videotoolbox.c | ||
lavc.h | ||
vd.h | ||
vd_lavc.c |