Revert "codecparsers: av1: Clip max tile rows and cols values"

This reverts commit b76a801f57.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5702>
This commit is contained in:
Benjamin Gaignard 2023-11-21 14:04:49 +01:00 committed by GStreamer Marge Bot
parent 7bfb9ea3eb
commit f525de6d00

View file

@ -2229,8 +2229,6 @@ gst_av1_parse_tile_info (GstAV1Parser * parser, GstBitReader * br,
((parser->state.mi_cols + 31) >> 5) : ((parser->state.mi_cols + 15) >> 4);
sb_rows = seq_header->use_128x128_superblock ? ((parser->state.mi_rows +
31) >> 5) : ((parser->state.mi_rows + 15) >> 4);
sb_cols = MIN (GST_AV1_MAX_TILE_COLS, sb_cols);
sb_rows = MIN (GST_AV1_MAX_TILE_ROWS, sb_rows);
sb_shift = seq_header->use_128x128_superblock ? 5 : 4;
sb_size = sb_shift + 2;
max_tile_width_sb = GST_AV1_MAX_TILE_WIDTH >> sb_size;