aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsuresh guttula <[email protected]>2019-04-11 10:09:10 +0530
committerLeo Liu <[email protected]>2019-04-16 10:15:09 -0400
commit8becf5b46d3a97bafcc6df602d3a17069967ae9d (patch)
treedbe97cf1e5800391df03b2e780cdc8ff49cfe2cd
parent624789e3708c87ea2a4c8d2266266b489b421cba (diff)
vl: Add cropping flags for H264
This patch adds cropping flags for H264 in pipe_h264_enc_pic_control. Signed-off-by: Satyajit Sahu <[email protected]> Reviewed-by: Leo Liu <[email protected]>
-rw-r--r--src/gallium/include/pipe/p_video_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index 05855a36e23..1369f1a8ca6 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