[android-developers] How to run CameraTests on Android?

2010-05-27 Thread sachinikam
I have built CameraTests present in packages/apps/Camera/tests and installed CameraTests.apk on device. From adb shell tried running below command: adb shell am instrument -w com.android.camera.tests/ com.android.camera.CameraStressTestRunner Got the following error:-

[android-developers] Shutdown from Android Kernel

2010-03-24 Thread sachinikam
I need an API which will shutdown/hibernate the device? This API needs to be called from the kernel driver. There is an API in pm.h device_power_down(PMSG_HIBERNATE); is this correct? Thanks, Sachin, Pune. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] How to disable USE_OMX_ENC_NODE for opencore

2010-02-17 Thread sachinikam
Hi, There is a autogenerated file pv_config.h under eclair/external/ opencore/build_config/opencore_dynamic which has #define USE_OMX_ENC_NODE 1 by default. I want to use software video encoder for my camera video recording. for that I need to set #define USE_OMX_ENC_NODE 0 Which file I need

[android-developers] Re: fd = open(/dev/video0, O_RDWR) fails

2010-01-31 Thread sachinikam
After enabling UVC config variables issue is solved. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Conversion routine: YUV422 to YUV420

2010-01-11 Thread sachinikam
// yuvconvert.c.cpp : Defines the entry point for the console application. // #include stdafx.h void convert_yuv422_to_yuv420(char *InBuff, char *OutBuff, int width, int height) { int i = 0, j = 0, k = 0; int UOffset = width * height; int VOffset = (width * height) * 5/4; int

[android-developers] Re: V4L2:/dev/video0 is not generated when USB Camera is connected

2009-12-25 Thread sachinikam
, On Tue, Dec 22, 2009 at 3:47 PM, sachinikam sachini...@gmail.com wrote: Looks like video_register_device(VFL_TYPE_GRABBER) is not called from anywhere that may be reason of not seeing /dev/video0 On Dec 22, 2:43 pm, sachinikam sachini...@gmail.com wrote: Hi, I have a Logitech USB camera

[android-developers] V4L2:/dev/video0 is not generated when USB Camera is connected

2009-12-22 Thread sachinikam
Hi, I have a Logitech USB camera connected on my board. I have also enabled the CONFIG variables for V4L2 by menuconfig. When I do fd = open(/dev/video0, O_RDWR) it fails saying that no such file or directory. Then through shell I checked for the file /dev/video0 but it wasn't present there.

[android-developers] Re: V4L2:/dev/video0 is not generated when USB Camera is connected

2009-12-22 Thread sachinikam
Looks like video_register_device(VFL_TYPE_GRABBER) is not called from anywhere that may be reason of not seeing /dev/video0 On Dec 22, 2:43 pm, sachinikam sachini...@gmail.com wrote: Hi, I have a Logitech USB camera connected on my board. I have also enabled the CONFIG variables for V4L2

[android-developers] fd = open(/dev/video0, O_RDWR) fails

2009-12-21 Thread sachinikam
Hi, I have a Logitech USB camera connected on my board. I have also enabled the CONFIG variables for V4L2 by menuconfig. When I do fd = open(device, O_RDWR) it fails saying that no such file or directory. Then through shell I checked for the file /dev/video0 but it wasn't there. When I connect