Hi ,

I'm facing a problem in video resolution.

In surfaceflinger/LayerBase.cpp, i've substituted the texture creation
procedure of using glTexImage2D and glTexSubImage2D APIs.  These were
blocking in the h/w graphics libraries provided by the vendor.

Now , I'm creating texture using eglCreateImageKHR and
glEGLTargetTexture2DOES APIs and I'm successfully able to bring up
Android screen and workaround most of the things.  But when I play a
3gp or mp4 file using the pvplayer, my video size is seen in full
screen but, i see only part of the video in the full screen. Part of
video appears to be cut.


If I comment setMeasuredDimension API in VideoView.java I'm able to
see the video properly playing in its original size, which i believe
is prooving that there is no problem in texture creation method I used
in LayerBase.cpp


Also If I revert back the texture creation procedure in LayerBase.cpp,
I'm able to see a proper video in full screen too.

If anyone has any idea on this, please help


Regards,
Manjunath

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to