From 8becf5b46d3a97bafcc6df602d3a17069967ae9d Mon Sep 17 00:00:00 2001 From: suresh guttula Date: Thu, 11 Apr 2019 10:09:10 +0530 Subject: [PATCH] vl: Add cropping flags for H264 This patch adds cropping flags for H264 in pipe_h264_enc_pic_control. Signed-off-by: Satyajit Sahu Reviewed-by: Leo Liu --- src/gallium/include/pipe/p_video_state.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 05855a3..1369f1a 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -395,6 +395,11 @@ struct pipe_h264_enc_pic_control { unsigned enc_cabac_enable; unsigned enc_constraint_set_flags; + unsigned enc_frame_cropping_flag; + unsigned enc_frame_crop_left_offset; + unsigned enc_frame_crop_right_offset; + unsigned enc_frame_crop_top_offset; + unsigned enc_frame_crop_bottom_offset; }; struct pipe_h264_enc_picture_desc -- 2.7.4