summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c')
-rw-r--r--lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c b/lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c
index f46b34255..abfd39633 100644
--- a/lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c
+++ b/lib/mesa/src/gallium/state_trackers/va/picture_h264_enc.c
@@ -127,14 +127,6 @@ vlVaHandleVAEncSequenceParameterBufferTypeH264(vlVaDriver *drv, vlVaContext *con
context->desc.h264enc.rate_ctrl.frame_rate_num = h264->time_scale / 2;
context->desc.h264enc.rate_ctrl.frame_rate_den = h264->num_units_in_tick;
context->desc.h264enc.pic_order_cnt_type = h264->seq_fields.bits.pic_order_cnt_type;
-
- if (h264->frame_cropping_flag) {
- context->desc.h264enc.pic_ctrl.enc_frame_cropping_flag = h264->frame_cropping_flag;
- context->desc.h264enc.pic_ctrl.enc_frame_crop_left_offset = h264->frame_crop_left_offset;
- context->desc.h264enc.pic_ctrl.enc_frame_crop_right_offset = h264->frame_crop_right_offset;
- context->desc.h264enc.pic_ctrl.enc_frame_crop_top_offset = h264->frame_crop_top_offset;
- context->desc.h264enc.pic_ctrl.enc_frame_crop_bottom_offset = h264->frame_crop_bottom_offset;
- }
return VA_STATUS_SUCCESS;
}