Dear Community,

I am here to ask your help on how to design a proper solution for the 
following issue: 

We are porting Android ICS (4.0.4) to our custom board, which has four 
different 'cameras': a digital webcam (front-facing), two analogic cameras 
and a digital television module. The DTV module and the analogic cameras 
are connected to a video codec chip (ADV7180). ADV7180 and the WebCam share 
the bus connected to the processor (a Freescale i.MX535). We can consider 
that we have kernel drivers for these cameras and codec connected properly 
to V4L2 at kernel space.

We need to develop a Camera HAL which is able to handle these devices. As 
far as I have seen searching the Android source tree, Android supports 2 
cameras: front and rear. Thus, I have seen two options (if anyone has a 
better one, you are invited to share as well):

   1. Use the WebCam as the front-facing camera and the ADV7180 as the 
   "rear" camera. We can select which output we want (one of two analogic 
   cameras or DTV) by setting CameraParameters properly.
   2. We can extend the Android SDK to support more cameras.


Now, I have some questions:

   1. Which solution is the best?
   2. How can it be implemented? Is there any V4L2 generic HAL for Android 
   cameras?
   3. I have seen some JPEG definitions at Android camera HAL. Is it 
   required? How JPEG should be handled by Camera HAL?

Thanks in advance,

Mauricio

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to