summaryrefslogtreecommitdiff
path: root/src/gen6_mfc.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2016-10-24 12:49:38 +0800
committerSean V Kelley <seanvk@posteo.de>2016-10-24 15:45:47 -0700
commit755bed214e30b1ea96f88f3f5011bdff228ee3c8 (patch)
treecb21eb63cc0a6755b022f00d7b2654c511ff3869 /src/gen6_mfc.h
parent78b6841fa3e247f15005ea3450d8404c59938ac3 (diff)
downloadlibva-intel-driver-755bed214e30b1ea96f88f3f5011bdff228ee3c8.tar.gz
svct: Usa an array to store QP rounding accumulator
We can do QP compensation per 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h
index 02591a3d..e0972bb7 100644
--- a/src/gen6_mfc.h
+++ b/src/gen6_mfc.h
@@ -232,7 +232,7 @@ struct gen6_mfc_context
int target_frame_size[MAX_TEMPORAL_LAYERS][3]; // I,P,B
int qp_prime_y[MAX_TEMPORAL_LAYERS][3];
double bits_per_frame[MAX_TEMPORAL_LAYERS];
- double qpf_rounding_accumulator;
+ double qpf_rounding_accumulator[MAX_TEMPORAL_LAYERS];
double saved_bps;
double saved_fps;