Hi all!
It is possible to play a movie on Symbian with Edge?
If not, do you know any way to do it?
Thanks.
It is possible to play a movie on Symbian with Edge?
If not, do you know any way to do it?
Thanks.
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
E2DSURFACEINFO lockinfo;
unsigned char *bufptr;
bufptr = display->buffer.Lock(&lockinfo);
if (bufptr)
{
int x, y;
bufptr += lockinfo.bufferoffset;
for (y = 0; y < display->buffer.GetHeight(); y++)
{
for (x = 0; x < display->buffer.GetWidth(); x++)
{
if (lockinfo.pixelformat == EDSP_INDEXED8)
*bufptr = 0;
else if (lockinfo.pixelformat == EDSP_TRUE12 || lockinfo.pixelformat == EDSP_TRUE16)
*((unsigned short *)(bufptr)) = 0;
else if (lockinfo.pixelformat == EDSP_TRUE32)
*((unsigned long *)(bufptr)) = 0;
bufptr += lockinfo.xpitch;
}
bufptr += lockinfo.ypitch - display->buffer.GetWidth() * lockinfo.xpitch;
}
display->buffer.Unlock();
}