aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2022-11-21 10:31:24 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-12-01 09:36:58 +0800
commit71cded6aa3c8b572e575f3d88b5c9d9094fa735d (patch)
tree0c616af3d0c083b181acb583c38a3ba3134b5013 /libavcodec/qsv_internal.h
parentf52963b48e14e4c1e1762a71b9f0bf257d5e78d1 (diff)
downloadffmpeg-71cded6aa3c8b572e575f3d88b5c9d9094fa735d.tar.gz
lavc/qsvdec: update HDR side data on output AVFrame
The SDK may provides HDR metadata for HDR streams via mfxExtBuffer attached on output mfxFrameSurface1 Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r--libavcodec/qsv_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index f6e739a686..5119ef4dff 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -85,6 +85,12 @@ typedef struct QSVFrame {
#if QSV_VERSION_ATLEAST(1, 34)
mfxExtAV1FilmGrainParam av1_film_grain_param;
#endif
+
+#if QSV_VERSION_ATLEAST(1, 35)
+ mfxExtMasteringDisplayColourVolume mdcv;
+ mfxExtContentLightLevelInfo clli;
+#endif
+
mfxExtBuffer *ext_param[QSV_MAX_FRAME_EXT_PARAMS];
int num_ext_params;