For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2006 > drawing raw format (RGB/YUV) to Pocket PC









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author drawing raw format (RGB/YUV) to Pocket PC
Amy

2006-01-18, 7:07 pm

Hi

I am sing the possible way in displaying a RGB/YUV array from a unsigned
char pointer. Actually, the purpose is for rendering a live video.
GAME API is a good choice in Pocket PC 2003, however, I've just found out
that it is not supported in Windows Mobile 5.0. So I am finding way to
drawing the decoded video to the screen.
Currently, I am trying to use the GDI, but with no luck, I cannot find a
sample which using it in C++ (using C++ is the requirement). Can any of you
point me the right way in using the GDI for displaying the RGB/YUV?

Thanks a lot
riki

2006-01-21, 9:57 pm

Amy wrote:
> Hi
>
> I am sing the possible way in displaying a RGB/YUV array from a unsigned
> char pointer. Actually, the purpose is for rendering a live video.
> GAME API is a good choice in Pocket PC 2003, however, I've just found out
> that it is not supported in Windows Mobile 5.0. So I am finding way to
> drawing the decoded video to the screen.
> Currently, I am trying to use the GDI, but with no luck, I cannot find a
> sample which using it in C++ (using C++ is the requirement). Can any of you
> point me the right way in using the GDI for displaying the RGB/YUV?


for RGB you should be able to do a CreateBitmap(). samples that apply to
'Big Windows', aka Win32 will apply for this. not sure about YUV,
nothing comes to mind. For high performance you should be using
DirectShow Mobile.

riki

It does take a perverse form of optimism to have any faith in the news
media when almost every time they cover something you _know_ about, they
get it wrong.
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com