How to convert YUV format to bitmap format
| Mon, 2007-09-17 02:16 | |
|
Hi, I want to use StartVideoCapture() on SonyE P990i and EFormatYUV420SemiPlanar is the So here's my question, is there a way to convert the non-bitmap frame to a bitmap so i can print it out to the Any suggestion is appreciated. |
|






Forum posts: 8
How do you get any data ?
I get 115200 bytes for the first frame and 0 for the rest.
I am using MCameraObserve2 so i wait in VideoBufferReady.
If you could pot some source code i would appreciate it.
Regarding yout question, if you want to process the video there are some 3'rd party libraries to convert from YUV to a bitmap. If you just want to have a viewfinder , P990 support StartViewFinderDirectL, like in the example : MyP990Camera
Forum posts: 8
Never Mind
I found the problme, the documentation and example program was missleading.
I was using
aFrameBuffer->DataL(aCameraBuffer.iIndexOfFirstFrameInBuffer)instead ofaFrameBuffer->DataL(0)Forum posts: 8
Never Mind
I found the problme, the documentation and example program was missleading.
I was using
aFrameBuffer->DataL(aCameraBuffer.iIndexOfFirstFrameInBuffer)instead ofaFrameBuffer->DataL(0)Forum posts: 5
Did you find any way to convert video frames buffer (MCameraBuffer) to RGB format?? I am looking for a solution and it would be great if you could help me out.
Thanks,
Shivam
Forum posts: 8
https://developer.uiq.com/forum/click.jspa?searchID=231731&messageID=9168