How to run test_pvauthorengine?

2009-05-18 Thread waterblood
Hi All, I can not find any document describe the parameters of this test_pvauthorengine. Here, I just want to run a basic test, which input file is video yuv file, and output is a 3gp file. Below is my command line which I assume from the source code of test_pvauthorengine. But failed to run.

Re: How to run test_pvauthorengine?

2009-05-18 Thread waterblood
can specify any valid number of frames per seconds) iframeinterval=15                (you can specify any valid frameinterval) Above command will generate an output amr file with specified name at current location. On Mon, May 18, 2009 at 3:59 PM, waterblood guoyin.c...@gmail.com wrote: Hi

How to add an API to handle multi int parameters as output in BnInterface and BpInterface

2009-04-28 Thread waterblood
Hi All, I just want to add a simple api into current Android framework's Interface. The API looks like as below: status_t getDestRect(int *left,int*right,int*top,int*bottom,int *rot); in which int *left,int*right,int*top,int*bottom,int *rot works as output parameters. I checked some

Re: About Overlay interface

2009-04-06 Thread waterblood
It should be a overlay engine in surfaceflinger which means a you should implment a overlay hardware HAL in hardware\libhardware\modules \overlay On 4月6日, 下午2时33分, pramod pramodkum...@gmail.com wrote: hi, I am implementing a custom MIO which makes use of Overlay interface. my MIO calls the

Re: Does OpenCORE supported more than three nodes in a pipeline?

2009-03-31 Thread waterblood
of post-processing, maybe the MIO itself can deal with it. We can discuss more if you provide further details. -Ravi On Mar 31, 12:42 am, waterblood guoyin.c...@gmail.com wrote: Hi All, Currently, all playback pipelines in OpenCORE Engine are three nodes mode(ParserNode--DecNode

Re: Question about android graphics.

2009-03-31 Thread waterblood
On 4月1日, 上午10时10分, Dianne Hackborn hack...@android.com wrote: 2009/3/31 waterblood guoyin.c...@gmail.com 1. As a multi windows systems, each window whill hold two buffers (front buffer, back buffer in surface). Is all the buffer size determined by the windows size or the display pannel

Question about android graphics.

2009-03-27 Thread waterblood
Hi All, I am tring to analyse the android graphics. After reading the source in android, I still have no idea how it works. Here I list a few questions. Any reply will be welcome. 1. what is the relationship between ViewRoot and View class. As my understanding, in each window, there is only

How to enable Overlay features in Android

2009-03-18 Thread waterblood
Hi All, Below is my understanding about how to enable the Overlay in a new hardware platform. Correct me if I am wrong. 1. Implement the stub funtions in hardware\libhardware\modules\overlay \overlay.cpp, this will generate a share library liboverlay.trout.so. 2. In SurfaceFlinger, it will

Re: SoundRecorder app breaks in MediaRecorder.prepare()

2009-03-16 Thread waterblood
the same issue? Best Regards Guoyin Chen On Mar 13, 12:21 pm, waterblood guoyin.c...@gmail.com wrote: The call path should be as below: MediaRecorder::prepare()PVMediaRecorder::prepare()--- AuthorDriver::handlePrepare()---PVAuthorEngine::Init() On Mar 13, 6:53 am, Misael Lopez mesa

Re: SoundRecorder app breaks in MediaRecorder.prepare()

2009-03-16 Thread waterblood
2.01 Release On Mar 16, 9:40 pm, rktb yend...@pv.com wrote: Which codebase are you looking at? -Ravi On Mar 16, 3:59 am, waterblood guoyin.c...@gmail.com wrote: I also get the same failed error code in prepare. I trace the cause is in PVMFOMXEncNode::NegotiateAudioComponentParameters

Re: SoundRecorder app breaks in MediaRecorder.prepare()

2009-03-12 Thread waterblood
The call path should be as below: MediaRecorder::prepare()PVMediaRecorder::prepare()--- AuthorDriver::handlePrepare()---PVAuthorEngine::Init() On Mar 13, 6:53 am, Misael Lopez mesa...@gmail.com wrote: Hi, I used to record audio using SoundRecorder application, but in latest pull it

How to set the video display to the horizon or vertical of display panel in video playing

2009-03-12 Thread waterblood
Hi All, We want change our video displaying direction when we use Gallery or video playing in Android. But cannot find any setting or code for this. If you know that , please point me how i can do it. Thanks advance. Guoyin --~--~-~--~~~---~--~~ You

how to set mutex can be shared between different process.

2009-03-03 Thread waterblood
Hi All, Usually we use pthread_mutexattr_setpshared to share different mutex with different process. But I have checked the bionic libc implementation. It only support PTHREAD_PROCESS_PRIVATE setting. Does it mean android does not support mutex shared between different processes? pthread.c

Re: Questions about useMemoryAllocators and video frame dropping in Opencore

2009-02-19 Thread waterblood
as they wanted? If so opencore will not care where the buffer come from, just take and use it. Thanks Guoyin Chen On Feb 20, 12:39 pm, rktb yend...@pv.com wrote: On Feb 19, 7:57 pm, waterblood guoyin.c...@gmail.com wrote: Hi All,    I have below two questions about opencore: 1. useMemoryAllocators

How automatically install a 3rd-party static lib or so in Android.mk

2009-02-16 Thread waterblood
Hi All, I just want to write a Android.mk to automatically install a 3rd- party lib to target lib directory, so in other Android.mk can link them. Below is my make file. But it cannot work LOCAL_PATH := $(my-dir) include $(CLEAR_VARS) LOCAL_PREBUILT_LIBS := \ libmy.a

Re: How automatically install a 3rd-party static lib or so in Android.mk

2009-02-16 Thread waterblood
? On Feb 16, 7:31 pm, rktb yend...@pv.com wrote: Please try include $(BUILD_MULTI_PREBUILT). -Ravi On Feb 16, 6:38 am, waterblood guoyin.c...@gmail.com wrote: Hi All,    I just want to write a Android.mk to automatically install a 3rd- party lib to target lib directory, so

Re: ThirdParty OMX IL 1.1 Compliant Component Shared Library

2009-02-16 Thread waterblood
I am trying to do it. So correct me if i am wrong, 1. Derive a class MyOMXInterface from OMXInterface, just as the way the class PVOMXInterface do. 2. Register MyOMXInterface in system/etc/pvplayer.cfg (0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a, 0x19,0xd4,0x5f),libmyomx_interface.so

Re: ThirdParty OMX IL 1.1 Compliant Component Shared Library

2009-02-16 Thread waterblood
 am, waterblood guoyin.c...@gmail.com wrote: I am trying to do it. So correct me if i am wrong, 1. Derive a class MyOMXInterface from OMXInterface, just as the way the class PVOMXInterface do. 2. Register MyOMXInterface in system/etc/pvplayer.cfg (0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c

gdb cannot get thread info in a arm device

2009-01-07 Thread waterblood
Hi All, I am using a gdb in android arm device. But cannot do theards' debugging. When i type info thread, i get nothing out. And I am very sure there are some threads in my debugging pid. Below is my message with 'gdb -v'. I just wonder whether it due to the 'libthread_db.so.1' missing.

Re: whether prelink-linux-arm.map should be updated when adding a new so?

2008-12-28 Thread waterblood
the shared library: LOCAL_PRELINK_MODULE := false -Ravi On Dec 29, 7:11 am, waterblood guoyin.c...@gmail.com wrote: Hello all,     There are so files entry defined in /build/core/prelink-linux- arm.map. my question is when I add a new dynamic library, should i also add an entry

Re: whether prelink-linux-arm.map should be updated when adding a new so?

2008-12-28 Thread waterblood
executable to see if that works? -Ravi On Dec 29, 7:55 am, waterblood guoyin.c...@gmail.com wrote: Thanks for your reply. I have set the LOCAL_PRELINK_MODULE := false and include $ (BUILD_SHARED_LIBRARY) in my android.mk to build my.so But when I use a dlopen() in a test c app to open