summaryrefslogtreecommitdiffstats
path: root/video/vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-17 10:56:16 +0100
committerwm4 <wm4@nowhere>2017-01-17 15:48:56 +0100
commitcda31b71debdd52cfe9a36e8eea318899acdd0d2 (patch)
tree76f4abd393b15075b7922b1c02dd5c5cf5bfc1f9 /video/vdpau.c
parenta4cdd8bb823dbb8f981a4b5efcfcb0f9d118844e (diff)
downloadmpv-cda31b71debdd52cfe9a36e8eea318899acdd0d2.tar.bz2
mpv-cda31b71debdd52cfe9a36e8eea318899acdd0d2.tar.xz
vaapi: move AVHWFramesContext setup code to common code
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.
Diffstat (limited to 'video/vdpau.c')
0 files changed, 0 insertions, 0 deletions