diff options
author | Boyuan Zhang <[email protected]> | 2017-11-07 15:46:43 -0500 |
---|---|---|
committer | Leo Liu <[email protected]> | 2017-11-17 12:25:47 -0500 |
commit | 76e0dcd5a98801e0bbf84f0c53509d4b2f4bbe9e (patch) | |
tree | 9736daa28faa04770df6785d7586d0ae102a1e90 /src/gallium/include/pipe | |
parent | c445cdf649da7fb9c6f463e4c24d2dc25bc5d2bf (diff) |
vl: add poc type
Different from vce encoding, vcn encoding requires driver side to encode
bitstream header, such as pps, sps and slice header. pic_order_cnt_type
is a required variable when encoding both sps and slice header, therefore
we need to add this new variable here, and hold the value passed from st,
e.g. vaapi interface
Signed-off-by: Boyuan Zhang <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_video_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index abd5d364d22..1d571653da7 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -400,6 +400,7 @@ struct pipe_h264_enc_picture_desc unsigned idr_pic_id; unsigned gop_cnt; unsigned pic_order_cnt; + unsigned pic_order_cnt_type; unsigned ref_idx_l0; unsigned ref_idx_l1; unsigned gop_size; |