Mesa (master): vl: Add cropping flags for H264
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 16 14:16:54 UTC 2019
Module: Mesa
Branch: master
Commit: 8becf5b46d3a97bafcc6df602d3a17069967ae9d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8becf5b46d3a97bafcc6df602d3a17069967ae9d
Author: suresh guttula <suresh.guttula at amd.com>
Date: Thu Apr 11 10:27:10 2019 +0530
vl: Add cropping flags for H264
This patch adds cropping flags for H264 in pipe_h264_enc_pic_control.
Signed-off-by: Satyajit Sahu <satyajit.sahu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
---
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 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
More information about the mesa-commit
mailing list