projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624789e
)
vl: Add cropping flags for H264
author
suresh guttula
<suresh.guttula@amd.com>
Thu, 11 Apr 2019 04:39:10 +0000
(10:09 +0530)
committer
Leo Liu
<leo.liu@amd.com>
Tue, 16 Apr 2019 14:15:09 +0000
(10:15 -0400)
This patch adds cropping flags for H264 in pipe_h264_enc_pic_control.
Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/include/pipe/p_video_state.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_video_state.h
b/src/gallium/include/pipe/p_video_state.h
index 05855a36e2389c264dc14d92b5b5e853cd600210..1369f1a8ca6c2d749741a62d26794b7b1de82d95 100644
(file)
--- 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