From: Matt Porter <mporter@kernel.crashing.org>
To: video4linux-list@redhat.com
Subject: output overlay driver and pix format
Date: Mon, 27 Oct 2008 16:18:37 -0500 [thread overview]
Message-ID: <20081027211837.GA20197@gate.crashing.org> (raw)
I'm working on a driver for an internal image processing block in an
SoC. This functionality can combine a buffer stream in various YUV/RGB
formats (selectable) with the framebuffer (or any arbitrary buffer one
wishes to overlay).
This fits quite well into the OUTPUT_OVERLAY support for the most part.
However, the driver will not have OUTPUT capability at all. That is, there is
not a direct external output from the image processor so it doesn't not make
sense to define OUTPUT capability. The results of the image processing
are left in a target buffer that may be used for tv/lcd encoding or fed
back in for additional image processing operations.
So the idea is to set the OUTPUT_OVERLAY pix format to one of the supported
formats, set cropping/scaling/blending. Feed it buffers and it blends
with the framebuffer, shoving the result to the internal target buffer.
The problem is that the V4L2 spec seems to imply that an OUTPUT_OVERLAY
device should not touch the fmtdesc pix fields. In my case, the user needs
to configure 1 of N pixelformat types that can be fed to the OUTPUT_OVERLAY
device. Is this allowed or am I using OUTPUT_OVERLAY differently than
intended? It seems that overlay devices may only be intended to be used
with an associated OUTPUT (or INPUT) device that defines the pix format.
The bottom line is: does it make sense to have a driver with only
OUTPUT_OVERLAY capability?
Any clues here are appreciated.
Thanks,
Matt
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2008-10-27 21:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 21:18 Matt Porter [this message]
2008-10-27 21:59 ` output overlay driver and pix format Hans Verkuil
2008-10-28 2:00 ` Matt Porter
2008-10-28 7:20 ` Hans Verkuil
2008-10-28 15:28 ` Matt Porter
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=20081027211837.GA20197@gate.crashing.org \
--to=mporter@kernel.crashing.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