Adding overlays
flat view
From: Komal Shah <hidden>
Date: 2005-02-10 14:56:41
Hi All, I am a newbie into this overlay stuff. Let me explain my confusion first: 1. I have a display controller hardware which support "primary buffer window", "video1 window", "video2 window". video2 on top of -> video 1 on top of -> primary. Now primay buffer window is used by /dev/fb for normal framebuffer support. 2. Now I want to utilize overlay support given by "video1 and 2", to have two playbacks/previews. What should I do/use the interface to get this overlay support given my video1 and video2 windows?? Ofcourse I need to get around by setting lots of hardware specific values... 1. Should I modify the frambuffer driver and adding new ioctl to implement this overlay. 2. Should I implement separate character device driver and "mmap", "write" on the same?? e.g /dev/overlay1 /dev/overlay2 . So that a user application can give/write YUV 422 to the driver and overlay will handle its conversion to RGB 565 and display on the LCD in my case. 3. Should I implement /dev/video0 interace?? Here I am confused a much, because I am already having capture device - camera driver(v4l2), which implements the overlay stuff for previewing while capture. Means it supports the overlay and capture but *no* playback. Any pointers or drivers source code which will help me to device strategy and the get the implementation done. I am having working framebuffer and camera driver. Let me know if you want more information. Thanx. ===== ---Komal Shah __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click