What is your SoC?

Depends on your soc, you can use copybit module for color conversion

or overlay module for overlay yuv video directly(you mention it)

On 1월10일, 오후4시09분, sivaramkrishna neeruganti <[email protected]>
wrote:
> hi all,
>
> I am trying to do Camera Capture and displaying the captured data. i
> have successfully captured and able to display on the framebuffer
> device (/dev/fb0).the problem is the format of the data ,my camera can
> send only UYVY or YUV420sp(NV12) data out ,so i have do the conversion
> of pixel format from UYVY to RGB565 . I have implemented this
> Conversion module in the Camera HAL and that involves software
> overhead. there is a delay or latency of 4 to 5 sec for the Camera
> Preview or display. its clear that this conversion module is consuming
> the resources and delaying the preview by 4 or 5 sec.
>
> I want to avoid this delay by directly displaying UYVY data .when i am
> directly displaying UYVY data ,i can only see Y component ,the color
> components are missing .
>
> is there any way that i can directly UYVY data without the doing
> software conversion .my SOC chip supports V4l2 devices (Video windows)
> which i can use for direct Video Display and which support UYVY and
> NV12 data .
>
> can i overcome the delay by directly routing captured data to v4l2
> devices,if so how can i implement the controls on the preview
> display ,since v4l2 devices(video windows) wont support graphics ?
>
> i see there is Overlay HAL on android froyo version ,how can i use
> this Overlay HAL in android to achieve the purpose of direct display
> of captured data without software conversion module ,and in case if i
> use v4l2 devices how can i have both controls (graphics) and camera
> display at a time.
>
> i am stuck at this thing,any help is appreciated .
>
> thanks

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

Reply via email to