From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Smith Subject: Re: Adding overlays Date: Thu, 10 Feb 2005 11:23:32 -0800 Message-ID: <420BB4B4.9060804@comcast.net> References: <20050210145634.34525.qmail@web53606.mail.yahoo.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CzH6c-0000T4-QG for linux-fbdev-devel@lists.sourceforge.net; Thu, 10 Feb 2005 08:23:50 -0800 Received: from sccrmhc12.comcast.net ([204.127.202.56]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1CzH6a-00057A-B1 for linux-fbdev-devel@lists.sourceforge.net; Thu, 10 Feb 2005 08:23:50 -0800 In-Reply-To: <20050210145634.34525.qmail@web53606.mail.yahoo.com> Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-fbdev-devel@lists.sourceforge.net Which display controller is this that you're speaking of? Komal Shah wrote: > 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 > _______________________________________________ > Linux-fbdev-devel mailing list > Linux-fbdev-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel > > ------------------------------------------------------- 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