How to resolve the video record issue?

2 views
Skip to first unread message

leon

unread,
Sep 18, 2009, 12:38:16 PM9/18/09
to android-platform
All,

I am focusing on the video record . Now the record case is working
normally. But the performance is too bad. Could you help me on this?

Step1, In camerahardwarestub.cpp we create a recordthread to get
data from sensor and display this data to LCD
Step2, By using the callback to send the data to
android_camera_input.cpp
Step3, The opencore will handle this data to encode and write the
encoded data to file

The video's resolution is 320x240.
Before starting the recording , the display will take 25ms to LCD.
After starting the recording, the display will take 55ms to LCD.

Whether is it related to the priority of these threads? Or
others?
Could you give some solutions?

Thanks a lot!

Jean-Baptiste Queru

unread,
Sep 18, 2009, 12:54:36 PM9/18/09
to android-...@googlegroups.com
This question (which appears to be specific to the device you're
working with) would get better answers in android-porting, where
people are more familiar with the process to port Android to different
kinds of hardware.

Thanks,
JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

leon

unread,
Sep 19, 2009, 12:01:33 AM9/19/09
to android-platform
Thanks!

I will apply my question to android-porting.

Regards
Leon

leon

unread,
Sep 20, 2009, 11:45:12 AM9/20/09
to android-platform
There is no any response about this issue, too.



On 9月19日, 下午12时01分, leon <leon.ku...@live.cn> wrote:
> Thanks!
>
> I will apply my questiontoandroid-porting.
>
> Regards
> Leon
>
> On 9月19日, 上午12时54分, Jean-Baptiste Queru <j...@android.com> wrote:
>
>
>
> > This question (which appearstobe specifictothe device you're
> > working with) would get better answers in android-porting, where
> > people are more familiar with the processtoport Androidtodifferent
> > kinds of hardware.
>
> > Thanks,
> > JBQ
>
> > On Fri, Sep 18, 2009 at 9:38 AM, leon <leon.ku...@live.cn> wrote:
>
> > > All,
>
> > > I am focusing on the video record . Now the record case is working
> > > normally. But the performance is too bad. Could you help me on this?
>
> > > Step1, In camerahardwarestub.cpp we create a recordthreadtoget
> > > data from sensor and display this datatoLCD
> > > Step2, By using the callbacktosend the datato
> > > android_camera_input.cpp
> > > Step3, The opencore will handle this datatoencode and write the
> > > encoded datatofile
>
> > > The video's resolution is 320x240.
> > > Before starting the recording , the display will take 25mstoLCD.
> > > After starting the recording, the display will take 55mstoLCD.
>
> > > Whether is it relatedtothe priority of these threads? Or
> > > others?
> > > Could you give some solutions?
>
> > > Thanks a lot!
>
> > --
> > Jean-Baptiste M. "JBQ" Queru
> > Software Engineer, Android Open-Source Project, Google.
>
> > Questions sent directlytome that have no reason for being private
> > will likely get ignored or forwardedtoa public forum with no further
> > warning.
Reply all
Reply to author
Forward
0 new messages