Re: [android-developers] Re: How to display a raw YUV frame in an Android OpenGL program?

2010-12-06 Thread 袁堂夫
I have not fixed it now.I think that the driver maybe change Liumince to BGRA when Upload texture,so it is very slow. 在 2010年12月5日 上午2:12,Nilly ni...@oriolesoftware.com 写道: Yes same thing is happening for me. I have also written program in opengles 2.0 and uploading texture yuv is taking

[android-developers] Re: How to display a raw YUV frame in an Android OpenGL program?

2010-12-04 Thread Nilly
Yes same thing is happening for me. I have also written program in opengles 2.0 and uploading texture yuv is taking around 54ms and rendering is taking 20 ms. 640*480. But what i feel is this is blocking cpu but i dont know how to do all of that in gpu or second option is that all this is

Re: [android-developers] Re: How to display a raw YUV frame in an Android OpenGL program?

2010-11-05 Thread 袁堂夫
thanks for your response, yes, our frame is from a live camera, so it changes dynamically. as what you said, we passed YUV frame to the GPU, and do the YUV to RGB convert in the GPU side (we used matrix-vector multiplication). My questions are: 1) Does the GPU convert blocks the CPU? 2) if the

[android-developers] Re: How to display a raw YUV frame in an Android OpenGL program?

2010-11-04 Thread ChrisAR
I need a little bit more of information before I can answer this properly. Is your raw YUV frame being passed to the GPU as an OpenGL ES texture? Is this YUV frame a static image, or it changes dynamically (like, is it being captured from a live videocamera in real time)? Doing the math to (a)