mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radeonsi/vcn: Don't try to override HEVC SPS conformance window
No point doing this as the padding is set according to the conformance window anyway. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31975>
This commit is contained in:
parent
ef8772e9bf
commit
41964a5f2b
1 changed files with 0 additions and 7 deletions
|
|
@ -332,13 +332,6 @@ unsigned int radeon_enc_write_sps_hevc(struct radeon_encoder *enc, uint8_t *out)
|
|||
radeon_enc_code_ue(enc, sps->conf_win_right_offset);
|
||||
radeon_enc_code_ue(enc, sps->conf_win_top_offset);
|
||||
radeon_enc_code_ue(enc, sps->conf_win_bottom_offset);
|
||||
} else if (pic->session_init.padding_width != 0 ||
|
||||
pic->session_init.padding_height != 0) {
|
||||
radeon_enc_code_fixed_bits(enc, 0x1, 1);
|
||||
radeon_enc_code_ue(enc, 0);
|
||||
radeon_enc_code_ue(enc, pic->session_init.padding_width / 2);
|
||||
radeon_enc_code_ue(enc, 0);
|
||||
radeon_enc_code_ue(enc, pic->session_init.padding_height / 2);
|
||||
} else
|
||||
radeon_enc_code_fixed_bits(enc, 0x0, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue