[Mesa-dev] [PATCH 3/4] vl: add parameters for VAAPI encode
Boyuan Zhang
boyuan.zhang at amd.com
Wed Jun 22 21:44:40 UTC 2016
Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
---
src/gallium/include/pipe/p_video_state.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index d353be6..2f2a4d9 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -369,11 +369,23 @@ struct pipe_h264_enc_picture_desc
enum pipe_h264_enc_picture_type picture_type;
unsigned frame_num;
+ unsigned frame_num_cnt;
+ unsigned p_remain;
+ unsigned i_remain;
+ unsigned idr_pic_id;
+ unsigned gop_cnt;
unsigned pic_order_cnt;
unsigned ref_idx_l0;
unsigned ref_idx_l1;
+ unsigned gop_size;
bool not_referenced;
+ bool is_idr;
+ bool has_ref_pic_list;
+ bool enable_low_level_control;
+ unsigned int ref_pic_list_0[32];
+ unsigned int ref_pic_list_1[32];
+ unsigned int frame_idx[32];
};
struct pipe_h265_sps
--
2.7.4
More information about the mesa-dev
mailing list