diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-26 00:18:40 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-12-19 23:21:59 +0000 |
commit | 2fcb0090115f7fc7648ad241a5903f866760d4b6 (patch) | |
tree | 720375d0c7be01d847b47ad58c254363c281af74 /libavcodec/qsvdec_h2645.c | |
parent | 720cf4e6e7dcaa4032b9448cb6b6cc4671a6f108 (diff) |
lavc: Add hardware config metadata for decoders supporting hardware output
This includes a pointer to the associated hwaccel for decoders using
hwaccels - these will be used later to implement the hwaccel setup
without needing a global list.
Also added is a new file listing all hwaccels as external declarations -
this will be used later to generate the hwaccel list at configure time.
Diffstat (limited to 'libavcodec/qsvdec_h2645.c')
-rw-r--r-- | libavcodec/qsvdec_h2645.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c index 03ba303c95..a7b39da6bf 100644 --- a/libavcodec/qsvdec_h2645.c +++ b/libavcodec/qsvdec_h2645.c @@ -226,6 +226,7 @@ AVCodec ff_hevc_qsv_decoder = { AV_PIX_FMT_P010, AV_PIX_FMT_QSV, AV_PIX_FMT_NONE }, + .hw_configs = ff_qsv_hw_configs, .bsfs = "hevc_mp4toannexb", .wrapper_name = "qsv", }; @@ -269,6 +270,7 @@ AVCodec ff_h264_qsv_decoder = { AV_PIX_FMT_P010, AV_PIX_FMT_QSV, AV_PIX_FMT_NONE }, + .hw_configs = ff_qsv_hw_configs, .bsfs = "h264_mp4toannexb", .wrapper_name = "qsv", }; |