mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Add missing sort to intra transform split search so mode at 0 is the best
This commit is contained in:
parent
da6f21d47c
commit
0d5972bf03
|
@ -623,6 +623,9 @@ static int8_t search_intra_rdo(encoder_state_t * const state,
|
|||
costs[rdo_mode] += mode_cost;
|
||||
}
|
||||
|
||||
// Update order according to new costs
|
||||
sort_modes(modes, costs, modes_to_check);
|
||||
|
||||
// The best transform split hierarchy is not saved anywhere, so to get the
|
||||
// transform split hierarchy the search has to be performed again with the
|
||||
// best mode.
|
||||
|
|
Loading…
Reference in a new issue