mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
Revert "radeonsi/vcn: Limit size to target size in AV1 decode"
This is now done in frontend.
This reverts commit 3a6513d7c4.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33737>
This commit is contained in:
parent
c60e4f0004
commit
5461ed5808
1 changed files with 0 additions and 6 deletions
|
|
@ -891,12 +891,6 @@ static rvcn_dec_message_av1_t get_av1_msg(struct radeon_decoder *dec,
|
|||
result.superres_upscaled_width = pic->picture_parameter.frame_width;
|
||||
result.order_hint_bits = pic->picture_parameter.order_hint_bits_minus_1 + 1;
|
||||
|
||||
/* Limit to target size in case applications try to decode into smaller
|
||||
* target buffer. */
|
||||
result.width = MIN2(target->width, result.width);
|
||||
result.height = MIN2(target->height, result.height);
|
||||
result.superres_upscaled_width = MIN2(target->width, result.superres_upscaled_width);
|
||||
|
||||
result.curr_pic_idx = 0x7F;
|
||||
memset(result.ref_frame_map, 0x7F, sizeof(result.ref_frame_map));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue