Skip to content

Refactor write_tile_info_max_tile - #5221

Merged
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
wantehchang:write_tile_params
Aug 6, 2026
Merged

Refactor write_tile_info_max_tile#5221
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
wantehchang:write_tile_params

Conversation

@wantehchang

Copy link
Copy Markdown
Member

This PR ports the read_tile_params() changes in PR #5187 to the encoder side.

write_tile_info_max_tile() does not need to recalculate width_sb and height_sb. They are equal to tiles->sb_cols and tiles->sb_rows, respectively. See av2_get_tile_limits().

Rename write_tile_info_max_tile() to write_tile_params().

Replace write_tile_syntax_info() by write_tile_params().

This PR ports the read_tile_params() changes in PR AOMediaCodec#5187 to the encoder
side.

write_tile_info_max_tile() does not need to recalculate width_sb and
height_sb. They are equal to tiles->sb_cols and tiles->sb_rows,
respectively. See av2_get_tile_limits().

Rename write_tile_info_max_tile() to write_tile_params().

Replace write_tile_syntax_info() by write_tile_params().
Comment thread av2/encoder/bitstream.c
@urvangjoshi
urvangjoshi merged commit 4b04e73 into AOMediaCodec:main Aug 6, 2026
107 checks passed
@wantehchang
wantehchang deleted the write_tile_params branch August 6, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants