mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Remove now unnecessary state store/restore
This commit is contained in:
parent
3a219146ed
commit
2b9b398524
|
@ -1232,9 +1232,6 @@ static void search_pu_inter_ref(inter_search_info_t *info,
|
|||
|
||||
int LX_idx = ref_list_idx[ref_list];
|
||||
|
||||
// store temp values to be stored back later
|
||||
int8_t temp_ref_idx = cur_cu->inter.mv_ref[ref_list];
|
||||
|
||||
// Get MV candidates
|
||||
cur_cu->inter.mv_ref[ref_list] = ref_list_idx[ref_list];
|
||||
|
||||
|
@ -1248,9 +1245,6 @@ static void search_pu_inter_ref(inter_search_info_t *info,
|
|||
lcu,
|
||||
ref_list);
|
||||
|
||||
// store old values back
|
||||
cur_cu->inter.mv_ref[ref_list] = temp_ref_idx;
|
||||
|
||||
vector2d_t best_mv = { 0, 0 };
|
||||
|
||||
// Take starting point for MV search from previous frame.
|
||||
|
|
Loading…
Reference in a new issue