Viewing the Camera Preview frames .......

by Radhika » Wed, 04 Mar 2009 08:28:15 GMT

Sponsored Links
 Hello all,
   I understand that the Camera preview frames can be obtained in the
Framework by using the PreviewCallback method. Is there any player to
view these YUV Semiplanar data?

Thanks and Regards,

Viewing the Camera Preview frames .......

by hanchao3c » Thu, 05 Mar 2009 19:19:38 GMT

 The preview is used for encoder and viewfinder.
I think no player will view it , It is raw data , so it should be sent
to ISurface.
But if using overlay, no need do it.

Sponsored Links

Other Threads

1. about the 'has an earlier definition' and acquire_partial_wake_lock

Hi,I have 2 questions
when use logcat to see it:
D/dalvikvm(  644): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
D/dalvikvm(  658): DexOpt: 'Lcom/android/server/AlarmManagerService
$1;' has an earlier definition; blocking out
D/dalvikvm(  658): DexOpt: 'Lcom/android/server/AlarmManagerService
$Alarm;' has an earlier definition; blocking out
D/dalvikvm(  658): DexOpt: 'Lcom/android/server/AlarmManagerService
$AlarmHandler;' has an earlier definition; blocking

what does this mean?and why? thanks!
BTW,the service.jar was not the original one ,it  was my own
service.jar(just modified a little in Battery.cpp)

when i add some LOG in EventHub.cpp,I found that:when open
acquire_partial_wake_lock ,it return permission denied
I/power   (  679): *** set_screen_state 1
I/power   (  679): go_to_sleep  now=44106449000 g_error=Permission
so I changed the mod in init.rc
chmod  0666 /sys/android_power/acquire_partial_wake_lock
this time it can be open but the ts has no response now ,it has top
bar slide before the mod being changed

it is said that the files are the ones connect kernel and app
but I just want to know "who" generate the files?and how does it work?


2. listview selector problem with g1

Hi all,
I have listview with custom selector for it. On nexus 1 is working
fine but on g1 when i am scrolling it set the default background for
all items during scroll. The strange thing is that on nexus is working
but this is happening only on g1. Here is the code of the selector -
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="">
        <item android:state_focused="true" android:state_pressed="true"
                android:drawable="@drawable/custom_background" />
        <item android:state_focused="false" android:state_pressed="true"
                android:drawable="@drawable/custom_background" />
        <item android:state_focused="true"
                android:drawable="@drawable/custom_background" />

Any ideas ?


3. OpenGL Thread suddenly dead? (onDrawFrame no more called)

4. Android on OMAP3EVM

5. RESOLVED: Porting to CompuLab CM_T3530. Android kernel booting problem.

6. bootanimation problem

7. read-only contact