summaryrefslogtreecommitdiff
path: root/src/gen6_mfc.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2016-10-24 12:49:41 +0800
committerSean V Kelley <seanvk@posteo.de>2016-10-24 15:46:13 -0700
commit218cca1856bfae6090a842342522a9018d6a328a (patch)
tree6e747f7b8ba343bba1a7c2303d641c6e861395b5 /src/gen6_mfc.h
parent36003e66b46bdb740813c021fe61dcd5538f1e11 (diff)
downloadlibva-intel-driver-218cca1856bfae6090a842342522a9018d6a328a.tar.gz
svct: Save the frame numbers for each frame type in a GOP per layer
Use the right frame numbers in a GOP to estimate a QP for next frame 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 bc3465fb..025858d7 100644
--- a/src/gen6_mfc.h
+++ b/src/gen6_mfc.h
@@ -228,7 +228,7 @@ struct gen6_mfc_context
struct {
int mode;
- int gop_nums[3];
+ int gop_nums[MAX_MFC_REFERENCE_SURFACES][3];
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];