mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 01:40:22 +01:00
radv/video: Remove disabled slice header code for field encoding
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36353>
This commit is contained in:
parent
cefd4cfd83
commit
df42301531
1 changed files with 0 additions and 12 deletions
|
|
@ -956,18 +956,6 @@ radv_enc_slice_header(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInf
|
|||
|
||||
unsigned int max_frame_num_bits = sps->log2_max_frame_num_minus4 + 4;
|
||||
radv_enc_code_fixed_bits(cmd_buffer, pic->frame_num % (1 << max_frame_num_bits), max_frame_num_bits);
|
||||
#if 0
|
||||
if (enc->enc_pic.h264_enc_params.input_picture_structure !=
|
||||
RENCODE_H264_PICTURE_STRUCTURE_FRAME) {
|
||||
radv_enc_code_fixed_bits(cmd_buffer, 0x1, 1);
|
||||
radv_enc_code_fixed_bits(cmd_buffer,
|
||||
enc->enc_pic.h264_enc_params.input_picture_structure ==
|
||||
RENCODE_H264_PICTURE_STRUCTURE_BOTTOM_FIELD
|
||||
? 1
|
||||
: 0,
|
||||
1);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (pic->flags.IdrPicFlag)
|
||||
radv_enc_code_ue(cmd_buffer, pic->idr_pic_id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue