Dear Experts,
I’m trying to compile ffplay for my Windows Mobile phone (HTC Dash 3G). I use the latest version of cegcc in linux.
I patched the latest svn code with Andrey’s patch. I tried four renderers: gdi, software, gapi, and raw, to play a 320x240 H.264 raw stream. The first two renderers gives black windows, gapi gives a transparent window, and raw crashes. I note that, the audio part works fine with MP4 files (so I think I successfully compiled most of libSDL and ffplay).
Since other users reported black window issues with gdi renderer, I decided to try gapi.
I looked into ffplay: right after vp->bmp = SDL_CreateYUVOverlay(vp->width, vp->height, SDL_YV12_OVERLAY, screen);
I dumped (“vp->bmp->pixels: %08x, %08x, %08x”, vp->bmp->pixels[0], vp->bmp->pixels[2],vp->bmp->pixels[1]), which gives:
vp->bmp->pixels: ffffffe0, 0066005c, 33780030
My understanding is, these three pointers point to Y, U, V array, respectively. But, they look random to me.
I also checked SDL_compact.c, where we have
overlay->pixels = overlay->hwdata->planes;
I, however, cannot find out where the hwdata->planes being set. Any hints are highly appreciated.
Thanks,
Cheng