build: new vaapi hwaccel API does not use av_image_copy_uc_from()

Not even Libav does. Whoops. The developer who wrote the FFmpeg code for
this said he could not find any improvements when using the "GPU memcpy"
; instead, it made it actually slower on some hardware.

It's not clear to what extent the "GPU memcpy" was needed for vaapi, but
hopefully not very much (see #2317).

This commit enables use of the new vaapi API by default with FFmpeg.
This commit is contained in:
wm4 2017-01-24 08:22:10 +01:00
parent c06fd19d8f
commit d16ba1f7f6
1 changed files with 1 additions and 1 deletions

View File

@ -824,7 +824,7 @@ hwaccel_features = [
}, {
'name': '--vaapi-hwaccel-new',
'desc': 'libavcodec VAAPI hwaccel (new)',
'deps': [ 'vaapi-hwaccel', 'avutil-imgcpy-uc' ],
'deps': [ 'vaapi-hwaccel' ],
'func': check_statement('libavcodec/version.h',
'int x[(LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 26, 0) && '
' LIBAVCODEC_VERSION_MICRO < 100) ||'