mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
Fixed intra chroma mode selection
This commit is contained in:
parent
f0e990905e
commit
b08047cce9
|
@ -719,7 +719,7 @@ static int search_cu_intra(encoder_state * const encoder_state,
|
||||||
cur_cu->intra[pu_index].cost = cost;
|
cur_cu->intra[pu_index].cost = cost;
|
||||||
cur_cu->intra[pu_index].bitcost = bitcost;
|
cur_cu->intra[pu_index].bitcost = bitcost;
|
||||||
|
|
||||||
cur_cu->intra[0].mode = cur_cu->intra[pu_index].mode;
|
cur_cu->intra[0].mode_chroma = cur_cu->intra[0].mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
return cur_cu->intra[PU_INDEX(x_px >> 2, y_px >> 2)].cost;
|
return cur_cu->intra[PU_INDEX(x_px >> 2, y_px >> 2)].cost;
|
||||||
|
|
Loading…
Reference in a new issue