summaryrefslogtreecommitdiff
path: root/src/gen6_mfc.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2016-10-27 22:41:46 +0800
committerSean V Kelley <seanvk@posteo.de>2016-10-27 11:48:42 -0700
commit972c1c67fbfb83f37a6aef7af7be32ffbdc7f7f8 (patch)
tree4651e7dfd8f5a54b67865d9d41fc72d24744e2dc /src/gen6_mfc.h
parentf4656a78b80d9cf402ddc86b2d0261359623e180 (diff)
downloadlibva-intel-driver-972c1c67fbfb83f37a6aef7af7be32ffbdc7f7f8.tar.gz
svct: hrd check per layer
Hence we can use separate parameters to estimate QP per layer and get more accurate QP for next frame in the same layer. Tested-by: Wang, Fei W <fei.w.wang@intel.com> 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h
index 025858d7..30b5fd9d 100644
--- a/src/gen6_mfc.h
+++ b/src/gen6_mfc.h
@@ -244,10 +244,10 @@ struct gen6_mfc_context
} brc;
struct {
- double current_buffer_fullness;
- double target_buffer_fullness;
- double buffer_capacity;
- unsigned int buffer_size;
+ double current_buffer_fullness[MAX_TEMPORAL_LAYERS];
+ double target_buffer_fullness[MAX_TEMPORAL_LAYERS];
+ double buffer_capacity[MAX_TEMPORAL_LAYERS];
+ unsigned int buffer_size[MAX_TEMPORAL_LAYERS];
unsigned int violation_noted;
} hrd;