diff options
author | wm4 <wm4@nowhere> | 2017-01-12 12:51:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-12 13:58:28 +0100 |
commit | 06b30cc81f86ce31ad35399ccfc432a316a09e0d (patch) | |
tree | cb008b92b49e1eed3e52ae9d26e7bd159ce0c9f1 /video/out/opengl/hwdec_cuda.c | |
parent | 162c2e2d00c46c989fdf116181a21f8701ad99be (diff) | |
download | mpv-06b30cc81f86ce31ad35399ccfc432a316a09e0d.tar.bz2 mpv-06b30cc81f86ce31ad35399ccfc432a316a09e0d.tar.xz |
vaapi: use libavutil functions for copying hw surfaces to memory
Makes va_surface_download() call mp_image_hw_download() for
libavutil-allocated surfaces, which in turn calls
av_hwframe_transfer_data().
mp_image_hw_download() is actually not specific to vaapi, and can be
used for any hw surface allocated by libavutil.
Diffstat (limited to 'video/out/opengl/hwdec_cuda.c')
0 files changed, 0 insertions, 0 deletions