summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 1588901442..898b035361 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -15,7 +15,9 @@ enum hwdec_type {
HWDEC_VAAPI_COPY = 5,
HWDEC_DXVA2 = 6,
HWDEC_DXVA2_COPY = 7,
- HWDEC_RPI = 8,
+ HWDEC_D3D11VA_COPY = 8,
+ HWDEC_RPI = 9,
+ HWDEC_MEDIACODEC = 10,
};
// hwdec_type names (options.c)
@@ -30,6 +32,7 @@ struct mp_hwdec_ctx {
struct mp_vdpau_ctx *vdpau_ctx;
struct mp_vaapi_ctx *vaapi_ctx;
struct mp_d3d_ctx *d3d_ctx;
+ uint32_t (*get_vt_fmt)(struct mp_hwdec_ctx *ctx);
// Optional.
// Allocates a software image from the pool, downloads the hw image from