public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryan Raasch <ryan.raasch@gmail.com>
To: "Dongsoo, Nathaniel Kim" <dongsoo.kim@gmail.com>
Cc: video4linux-list@redhat.com, v4l2_linux <linux-media@vger.kernel.org>
Subject: Re: framebuffer overlay
Date: Wed, 12 Aug 2009 10:56:41 +0200	[thread overview]
Message-ID: <4A8283C9.6020105@gmail.com> (raw)
In-Reply-To: <5e9665e10908120143h268a7210kb6bfa215cbfbe6de@mail.gmail.com>

Thanks for the reply!

Dongsoo, Nathaniel Kim wrote:
> On Wed, Aug 12, 2009 at 5:25 PM, Ryan Raasch<ryan.raasch@gmail.com> wrote:
>> Hello,
>>
>> I am trying to write a driver for a camera using the new soc_camera in the
>> mainline kernel the output is the overlay framebuffer (pxa270) and i would
>> like to use the overlay output feature of v4l2 framework, but the
>> framebuffer does not expose itself as a output device (not yet).
>>
> Hi Ryan,
> 
> As far as I know the framebuffer of PXA2 even PXA3 can't be
> categorized in a overlay device.

The pxa2 and pxa3 both have 3 framebuffers (4 if hardware curser 
included). There is the main fb, and 2 overlay framebuffers.

The overlay 2 has hardware accelerated ycbcr decoding (which i use now 
with a camera using dma). And the overlay 1 can be used only with the 
various types of RGB.

We have a solution which uses dma to copy the captured video from the 
camera sensor (mmap'd), directly to the mmap'd memory of the overlay. 
All occuring without user intervention.


> To be able to get used as overlay device by camera interface, I think
> there should be a direct FIFO between camera and framebuffer which
> means there is no need to copy memory from camera to fb. But
> unfortunately PXA architecture is not supporting this kind of feature.

With the above there is no need for FIFO, the dma is directly copying 
the received camera data to the selected framebuffer.

Ryan

> Cheers,
> 


> Nate
> 
>> Are there any fb that i can use as an example for this?
>>
>> From looking at the driver code, it seems like the generic code of fbmem.c
>> needs a v4l2 device. Is this in the right ballpark?
>>
>> Thanks,
>> Ryan
>>
>> --
>> video4linux-list mailing list
>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
> 
> 
> 

  reply	other threads:[~2009-08-12  8:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12  8:25 framebuffer overlay Ryan Raasch
2009-08-12  8:43 ` Dongsoo, Nathaniel Kim
2009-08-12  8:56   ` Ryan Raasch [this message]
2009-08-12 10:44     ` Dongsoo, Nathaniel Kim
2009-08-17 14:50       ` Ryan Raasch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A8283C9.6020105@gmail.com \
    --to=ryan.raasch@gmail.com \
    --cc=dongsoo.kim@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox