From 6faa4625cdf3e16cfb47b506566f490a8b9ae6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 11 Oct 2005 15:42:07 +0000 Subject: flag the output (Gem) images as upside-down (but they really should be converted to be upsideup) svn path=/trunk/externals/gem2pdp/; revision=3694 --- pdp2gem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pdp2gem.cpp b/pdp2gem.cpp index 8cac998..2dc51de 100644 --- a/pdp2gem.cpp +++ b/pdp2gem.cpp @@ -112,6 +112,7 @@ void pdp2gem :: createBuffer() m_pixBlock.image.ysize = neededYSize; m_pixBlock.image.csize = m_csize; m_pixBlock.image.format= m_format; + m_pixBlock.image.upsidedown=1; // +4 from MPEG dataSize = (m_pixBlock.image.xsize * m_pixBlock.image.ysize * m_pixBlock.image.csize)+4; -- cgit v1.2.1