summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao, Yakui <yakui.zhao@intel.com>2014-06-12 08:54:38 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-06-16 11:59:57 +0800
commit773525af39331df7a9d3178037320734774fc8be (patch)
treed35499fd698a60c653ab4956d0b729e0775a3514
parent45481435f93b52f944c5f876e95fb7bfba56ed4f (diff)
downloadlibva-intel-driver-773525af39331df7a9d3178037320734774fc8be.tar.gz
libva-intel-driver-773525af39331df7a9d3178037320734774fc8be.tar.bz2
libva-intel-driver-773525af39331df7a9d3178037320734774fc8be.zip
Encoding: Update the comment for the data structure about the packed rawdata/slice_header data
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 56715c893fa87e2d3af2938b9202d75cdc79a8fd)
-rw-r--r--src/i965_drv_video.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h
index 29e550f..dfa2a7a 100644
--- a/src/i965_drv_video.h
+++ b/src/i965_drv_video.h
@@ -150,7 +150,7 @@ struct encode_state
int num_slice_params_ext;
/* For the packed data that needs to be inserted into video clip */
- /* currently it is mainly for packed raw data */
+ /* currently it is mainly to track packed raw data and packed slice_header data. */
struct buffer_store **packed_header_params_ext;
int max_packed_header_params_ext;
int num_packed_header_params_ext;
@@ -162,7 +162,11 @@ struct encode_state
int slice_num;
/* This is to store the first index of packed data for one slice */
int *slice_rawdata_index;
- /* This is to store the number of packed data for one slice */
+ /* This is to store the number of packed data for one slice.
+ * Both packed rawdata and slice_header data are tracked by this
+ * this variable. That is to say: When one packed slice_header is parsed,
+ * this variable will also be increased.
+ */
int *slice_rawdata_count;
/* This is to store the index of packed slice header for one slice */