mirror of https://github.com/mpv-player/mpv
cda31b71de
In a way it can be reused. For now, sw_format and initial_pool_size determination are still vaapi-specific. I'm hoping this can be eventally moved to libavcodec in some way. Checking the supported_formats array is not really vaapi-specific, and could be moved to the generic code path too, but for now it would make things more complex. hw_cuda.c can't use this, but hw_vdpau.c will in the following commit. |
||
---|---|---|
.. | ||
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 |