[android-porting] Testing for memory leaks in kernel driver code

2010-10-06 Thread Elvis Dowson
Hi, What tools can we use for testing memory leaks in the android linux kernel driver code? Elvis Dowson -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: camcorder prepare failed

2010-10-06 Thread carter_wang
I have changed hardware encoder to PV software encode, but, still failed... On 10月4日, 下午4時21分, Deva R wrote: > hope preview in genreal is working good. > > > I found that preview function on "Camera" or "Camcorder" inHALis the same. > >Cameracan work fine, but Camcorder can't... Do you occur this

[android-porting] Need to get videoframes on android

2010-10-06 Thread kalyan
Hi, I need to get video frames and the frame rate of the videos stored on the sdcard. I need to supply these frames and the framerate to the UI to do further processing. Is there any way to get video frames from the application??.. One possible way to get the video frames would be to add my own AP

[android-porting] Re: Making the graphic layer transparent, for video playback

2010-10-06 Thread Sunil Deshpande
Hi Anil/Deva, I am working on QualComm based chip set and I am trying to port the froyo to the new qc board. My video playback is working. Now I am getting the issue in progressive bar and control key's like pause, stop, seek. Video playback is overlapping these bar and controls. Could you please

[android-porting] How to get Video frames from the application in android

2010-10-06 Thread kalyan
Hi , Can anyone tell me how to get the individual video frames and the frame rate from the application code so that i can use those frames to do further processing in the UI. One way to get the video frames would be to add an API to capture the video frames from the decoder. But in that case i woul

[android-porting] AudioTrack - incorrect playback sample rate

2010-10-06 Thread Alexey Roslyakov
Hello, I'm trying to play raw PCM data from file and got double speed playback when I pass actual sample rate to AudioTrack constructor. int main() { using namespace android; inFile = open("/dlpcm.s16", O_RDONLY); if (!inFile) { LOGE("inFile open failed: %s", strerror(errno));

Re: [android-porting] Need to get videoframes on android

2010-10-06 Thread Deva R
You can refer how various stagefright drivers work with decoder instance., and handle to decoded buffers. - player drvier http://git.omapzoom.org/?p=platform/frameworks/base.git;a=blob;f=media/libstagefright/AwesomePlayer.cpp;hb=refs/heads/p-froyo#l1017 decodes a buffer, once ready -> posts i

[android-porting] Re: Running Froyo on 2.6.35 kernel

2010-10-06 Thread andrew_esh
I see you don't have CONFIG_YAFFS_DISABLE_TAGS_ECC set in your kernel config. I'm not sure if that is your problem, but it doesn't seem like you're getting yaffs2 partitions mounted, and I have CONFIG_YAFFS_DISABLE_TAGS_ECC set in my Froyo/2.6.34.5 kernel. On Oct 5, 5:11 am, Praveen Paneri wrote:

[android-porting] Re: Running Froyo on 2.6.35 kernel

2010-10-06 Thread andrew_esh
Another thing you could do is insert some echoes in the top of your init.rc to turn on yaffs debugging flags: http://www.yaffs.net/yaffs-debugging Then watch what gets printed later when the mount of /system and /data take place. -- unsubscribe: android-porting+unsubscr...@googlegroups.com webs