summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-06-01 18:21:28 +0800
committerZhong Li <zhong.li@intel.com>2018-08-07 11:26:37 +0800
commit6088b7b0373faad7a8e62a8c4eb4ced9084ad2d9 (patch)
tree952ea48d9babc081de71e398d4e1b3c908a5bdfa /libavcodec/qsvenc.h
parentaa8e5eecac97dd3c87518e0accfb96dea05066c8 (diff)
lavc/qsvenc: expose qp of encoded frames
Requirement from ticket #7254. Currently only H264 supported by MSDK. Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index bb175c5df8..d1c8a0c998 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -103,6 +103,8 @@ typedef struct QSVEncContext {
int width_align;
int height_align;
+ int sum_frame_qp;
+
mfxVideoParam param;
mfxFrameAllocRequest req;