diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-09-05 18:08:41 +0300 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-09-15 22:48:28 +0300 |
commit | 140da8e810b2221922b800b4b0be8a5a8e08e0b6 (patch) | |
tree | 2ee429915c3a564f17f7799a27c87ae52b2f2ded /libavcodec/mediacodecdec.c | |
parent | b82c1a377a2b11663561189208f57c6c639f8ec6 (diff) |
lavc: add hevc mediacodec decoder
Diffstat (limited to 'libavcodec/mediacodecdec.c')
-rw-r--r-- | libavcodec/mediacodecdec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index df60104e16..0faa4cf3ef 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -758,3 +758,10 @@ AVHWAccel ff_h264_mediacodec_hwaccel = { .id = AV_CODEC_ID_H264, .pix_fmt = AV_PIX_FMT_MEDIACODEC, }; + +AVHWAccel ff_hevc_mediacodec_hwaccel = { + .name = "mediacodec", + .type = AVMEDIA_TYPE_VIDEO, + .id = AV_CODEC_ID_HEVC, + .pix_fmt = AV_PIX_FMT_MEDIACODEC, +}; |