[Libva] [PATCH Libva-intel-driver V2 1/2] Encoding: Update the comment for the data structure about the packed rawdata/slice_header data
Zhao, Yakui
yakui.zhao at intel.com
Wed Jun 11 17:56:26 PDT 2014
From: "Zhao, Yakui" <yakui.zhao at intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
src/i965_drv_video.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h
index 6d7d0fb..a46fbdd 100644
--- a/src/i965_drv_video.h
+++ b/src/i965_drv_video.h
@@ -155,7 +155,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;
@@ -167,7 +167,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 */
--
1.7.12-rc1
More information about the Libva
mailing list