From e08e03bec0269ecb8d25ed5f4d83da61183e87a0 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 17 Aug 2026 00:59:20 +1000 Subject: [PATCH] [idd] postprocess: normalize downsample layout --- idd/LGIdd/postprocess/effect/CDownsampleEffect.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/idd/LGIdd/postprocess/effect/CDownsampleEffect.cpp b/idd/LGIdd/postprocess/effect/CDownsampleEffect.cpp index ede8fdb6..ceb3107e 100644 --- a/idd/LGIdd/postprocess/effect/CDownsampleEffect.cpp +++ b/idd/LGIdd/postprocess/effect/CDownsampleEffect.cpp @@ -214,9 +214,12 @@ PostProcessStatus CDownsampleEffect::Set( m_width = (unsigned)desc.Width; m_height = desc.Height; - dst.desc = desc; - dst.width = (unsigned)desc.Width; - dst.height = desc.Height; + dst.desc = desc; + dst.dataWidth = (unsigned)desc.Width; + dst.dataHeight = desc.Height; + dst.pitch = 0; + dst.width = (unsigned)desc.Width; + dst.height = desc.Height; return PostProcessStatus::SUCCESS; }