diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-09-04 13:28:10 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-09-08 21:58:22 +0100 |
commit | a9fb134730da1f9642eb5a2baa50943b8a4aa245 (patch) | |
tree | 2a35d778c66354fb5b87e97dbaaeca5c2ba69784 /libavcodec/vp8.c | |
parent | 4e528206bc4d968706401206cf54471739250ec7 (diff) | |
download | ffmpeg-streaming-a9fb134730da1f9642eb5a2baa50943b8a4aa245.zip ffmpeg-streaming-a9fb134730da1f9642eb5a2baa50943b8a4aa245.tar.gz |
lavc/vaapi: Add VP8 decode hwaccel
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r-- | libavcodec/vp8.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index ced4979..bf1b03e 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -2516,6 +2516,9 @@ int vp78_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, if (!is_vp7 && s->pix_fmt == AV_PIX_FMT_NONE) { enum AVPixelFormat pix_fmts[] = { +#if CONFIG_VP8_VAAPI_HWACCEL + AV_PIX_FMT_VAAPI, +#endif AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE, }; |