summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodecdec.c
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-05 17:08:41 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-15 21:48:28 +0200
commit140da8e810b2221922b800b4b0be8a5a8e08e0b6 (patch)
tree2ee429915c3a564f17f7799a27c87ae52b2f2ded /libavcodec/mediacodecdec.c
parentb82c1a377a2b11663561189208f57c6c639f8ec6 (diff)
lavc: add hevc mediacodec decoder
Diffstat (limited to 'libavcodec/mediacodecdec.c')
-rw-r--r--libavcodec/mediacodecdec.c7
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,
+};