mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
[isp] Do not filter references if ISP is used.
This commit is contained in:
parent
ae4092a5ca
commit
fcbdf01a25
|
@ -928,7 +928,7 @@ static void intra_predict_regular(
|
||||||
uint8_t multi_ref_index = color == COLOR_Y ? multi_ref_idx : 0;
|
uint8_t multi_ref_index = color == COLOR_Y ? multi_ref_idx : 0;
|
||||||
|
|
||||||
const uvg_intra_ref *used_ref = &refs->ref;
|
const uvg_intra_ref *used_ref = &refs->ref;
|
||||||
if (cfg->intra_smoothing_disabled || color != COLOR_Y || mode == 1 || (width == 4 && height == 4) || multi_ref_index) {
|
if (cfg->intra_smoothing_disabled || color != COLOR_Y || mode == 1 || (width == 4 && height == 4) || multi_ref_index || width != height /*Fake ISP*/) {
|
||||||
// For chroma, DC and 4x4 blocks, always use unfiltered reference.
|
// For chroma, DC and 4x4 blocks, always use unfiltered reference.
|
||||||
} else if (mode == 0) {
|
} else if (mode == 0) {
|
||||||
// Otherwise, use filtered for planar.
|
// Otherwise, use filtered for planar.
|
||||||
|
|
Loading…
Reference in a new issue