Commit 5ccf011a authored by Nan Hu's avatar Nan Hu

memory address fix in encoder

parent add8aa46
......@@ -4015,12 +4015,10 @@ void EncAdaptiveLoopFilter::getBlkStatsCcAlf(AlfCovariance &alfCovariance, const
{
int vbDistance = ((i << getComponentScaleY(compID, m_chromaFormat)) % vbCTUHeight) - vbPos;
#if JVET_R0233_CCALF_LINE_BUFFER_REDUCTION
if ((getComponentScaleY(compID, m_chromaFormat) == 0) && (vbDistance == 0 || vbDistance == 1))
{
continue;
}
#endif
for (int j = 0; j < compArea.width && (!((getComponentScaleY(compID, m_chromaFormat) == 0) && (vbDistance == 0 || vbDistance == 1))); j++)
#else
for (int j = 0; j < compArea.width; j++)
#endif
{
std::memset(ELocal, 0, sizeof(ELocal));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment