[idd] postprocess: normalize downsample layout

This commit is contained in:
Geoffrey McRae
2026-08-17 00:59:20 +10:00
parent 10c4366594
commit e08e03bec0

View File

@@ -214,9 +214,12 @@ PostProcessStatus CDownsampleEffect::Set(
m_width = (unsigned)desc.Width; m_width = (unsigned)desc.Width;
m_height = desc.Height; m_height = desc.Height;
dst.desc = desc; dst.desc = desc;
dst.width = (unsigned)desc.Width; dst.dataWidth = (unsigned)desc.Width;
dst.height = desc.Height; dst.dataHeight = desc.Height;
dst.pitch = 0;
dst.width = (unsigned)desc.Width;
dst.height = desc.Height;
return PostProcessStatus::SUCCESS; return PostProcessStatus::SUCCESS;
} }