Skip to content

set_params_rd_pick_inter_mode: Remove dead code. - #5230

Open
urvangjoshi wants to merge 1 commit into
AOMediaCodec:av2-encfrom
urvangjoshi:dead_prune_code_cleanup
Open

set_params_rd_pick_inter_mode: Remove dead code.#5230
urvangjoshi wants to merge 1 commit into
AOMediaCodec:av2-encfrom
urvangjoshi:dead_prune_code_cleanup

Conversation

@urvangjoshi

Copy link
Copy Markdown
Contributor

This function is only called through the call chain: pick_sb_modes() -->
av2_rd_pick_inter_mode_sb() --> set_params_rd_pick_inter_mode().

In this call chain, mbmi->partition is always set to PARTITION_NONE.

So, the 2 set of code snippets were dead code.

This function is only called through the call chain: pick_sb_modes() -->
av2_rd_pick_inter_mode_sb() --> set_params_rd_pick_inter_mode().

In this call chain, `mbmi->partition` is always set to `PARTITION_NONE`.

So, the 2 set of code snippets were dead code.
@urvangjoshi
urvangjoshi force-pushed the dead_prune_code_cleanup branch from fd57c39 to e044c61 Compare August 7, 2026 23:18
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.

2 participants