summaryrefslogtreecommitdiff
path: root/src/gen6_mfc.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2016-10-24 12:49:40 +0800
committerSean V Kelley <seanvk@posteo.de>2016-10-24 15:46:08 -0700
commit36003e66b46bdb740813c021fe61dcd5538f1e11 (patch)
tree4cd1f26552b1dafd2a62080aefc2ddd277ec051d /src/gen6_mfc.h
parent495e905a7c6e05c3b6a9c0c81f153f56aafcb759 (diff)
downloadlibva-intel-driver-36003e66b46bdb740813c021fe61dcd5538f1e11.tar.gz
svct: Save the current slice type per layer
Use the right previous slice type to estimate a QP for next frame in the same layer Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to 'src/gen6_mfc.h')
-rw-r--r--src/gen6_mfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h
index e68c5c59..bc3465fb 100644
--- a/src/gen6_mfc.h
+++ b/src/gen6_mfc.h
@@ -234,6 +234,7 @@ struct gen6_mfc_context
double bits_per_frame[MAX_TEMPORAL_LAYERS];
double qpf_rounding_accumulator[MAX_TEMPORAL_LAYERS];
int bits_prev_frame[MAX_TEMPORAL_LAYERS];
+ int prev_slice_type[MAX_TEMPORAL_LAYERS];
double saved_bps;
double saved_fps;