Page 1 of 1

Play 320*240 video on VGA PPC full screen

PostPosted: Mar 29, 2007 @ 12:40pm
by pytyj

PostPosted: Mar 29, 2007 @ 3:12pm
by Nomad

PostPosted: Mar 30, 2007 @ 2:14am
by pytyj
I am a beginner.
PPC use windows mobile 5.0
I used the project in the File of GledPlay.
GledPlay->projects->Single State Game Template->WM2005

add
if(video.open(TEXT("001.mpg"))==ReturnCode::OK)
{//Ok, ready to decode.}
else{shutdown();}
to
InitialApplication::onInit(Surface* pBackBuffer, Application* application)
add
HRESULT hr = video.getNextFrame(&surface);
switch(hr){case ReturnCode::OK:pBackBuffer->bltFast(0, 0, &surface); break;
case ReturnCode::END_OF_VIDEO:shutdown(); break;
default:shutdown(); break;}
to
InitialApplication::onNextFrame(Surface* pBackBuffer, Panel* panel)

Just all!

I can't find CEUX in MSDN.
Can you explain it to me? :oops:
Thanks!