Fix SSIM of chroma samples
This commit is contained in:
1 file changed
+1
-1
@@ -1440,7 +1440,7 @@ Double PlaYUVerFrame::getSSIM( PlaYUVerFrame* Org, Int component )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dSSIM = compute_ssim( d->m_pppcInputPel[component], Org->getPelBufferYUV()[component],
|
dSSIM = compute_ssim( d->m_pppcInputPel[component], Org->getPelBufferYUV()[component],
|
||||||
getChromaWidth(), getChromaHeight(), 4, 4, 255, 8 );
|
getChromaWidth(), getChromaHeight(), 4, 4, 255, 4 );
|
||||||
}
|
}
|
||||||
return dSSIM;
|
return dSSIM;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user