diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2016-10-24 12:49:39 +0800 |
---|---|---|
committer | Sean V Kelley <seanvk@posteo.de> | 2016-10-24 15:46:03 -0700 |
commit | 495e905a7c6e05c3b6a9c0c81f153f56aafcb759 (patch) | |
tree | 505ef6945164dedfaf01a320b51f3f8ef534adcc /src/gen6_mfc.h | |
parent | 755bed214e30b1ea96f88f3f5011bdff228ee3c8 (diff) | |
download | libva-intel-driver-495e905a7c6e05c3b6a9c0c81f153f56aafcb759.tar.gz |
svct: Save the current frame size per layer
Use the the right previous frame size 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h index e0972bb7..e68c5c59 100644 --- a/src/gen6_mfc.h +++ b/src/gen6_mfc.h @@ -233,6 +233,7 @@ struct gen6_mfc_context int qp_prime_y[MAX_TEMPORAL_LAYERS][3]; double bits_per_frame[MAX_TEMPORAL_LAYERS]; double qpf_rounding_accumulator[MAX_TEMPORAL_LAYERS]; + int bits_prev_frame[MAX_TEMPORAL_LAYERS]; double saved_bps; double saved_fps; |