summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-07-06 10:54:40 -0700
committerwm4 <wm4@nowhere>2017-10-09 18:36:54 +0200
commit61a1612de9c18d497c3be01f10b0fabc2066d76f (patch)
treeb7956550a0583226e26d76748734d8d19848a1a0 /video/img_format.h
parent6f0fdac6f16880ef46cbcfb399fd6beec5afe735 (diff)
downloadmpv-61a1612de9c18d497c3be01f10b0fabc2066d76f.tar.bz2
mpv-61a1612de9c18d497c3be01f10b0fabc2066d76f.tar.xz
hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h
index 7f0330d55b..01d101aa8e 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -203,6 +203,7 @@ enum mp_imgfmt {
IMGFMT_DXVA2, // IDirect3DSurface9 (NV12/P010/P016)
IMGFMT_MMAL, // MMAL_BUFFER_HEADER_T
IMGFMT_VIDEOTOOLBOX, // CVPixelBufferRef
+ IMGFMT_MEDIACODEC, // AVMediaCodecBuffer
IMGFMT_CUDA, // CUDA Buffer
// Generic pass-through of AV_PIX_FMT_*. Used for formats which don't have