* YUV support
@ 2006-07-21 21:08 Dennis Munsie
2006-07-21 21:19 ` Antonino A. Daplas
0 siblings, 1 reply; 2+ messages in thread
From: Dennis Munsie @ 2006-07-21 21:08 UTC (permalink / raw)
To: linux-fbdev-devel
Hi again,
I'm starting to investigate adding YUV support to the intelfb driver,
and I was wondering what support is already in the framebuffer
subsystem for YUV. Doing a quick grep for YUV only yielded a handful
of references -- all in drivers. Nothing seems to be there for
generic YUV support.
Am I correct in this assumption? And, if so, what would be the best
way to expose YUV support? Driver specific ioctl's? Separate fb
device for the YUV overlay? Give up and use X? (just kidding on that
last one -- I hope).
dennis
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: YUV support
2006-07-21 21:08 YUV support Dennis Munsie
@ 2006-07-21 21:19 ` Antonino A. Daplas
0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2006-07-21 21:19 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Dennis Munsie
Dennis Munsie wrote:
> Hi again,
>
> I'm starting to investigate adding YUV support to the intelfb driver,
> and I was wondering what support is already in the framebuffer
> subsystem for YUV. Doing a quick grep for YUV only yielded a handful
> of references -- all in drivers. Nothing seems to be there for
> generic YUV support.
>
> Am I correct in this assumption?
Yes, you are correct.
> And, if so, what would be the best
> way to expose YUV support?
Create a new visual, FB_VISUAL_YUV_PACKED, then treat
var->{red,green,blue} as Y, U and V instead. This way, one can continue
to use the cfb_* generic drawing funtions.
For planar formats, it's pretty much the same except you have to provide
your own drawing functions.
> Driver specific ioctl's?
sysfs is probably better.
> Separate fb
> device for the YUV overlay?
Yes. Some drivers have fb0 for the primary, fb1 for the overlay, and fb2 for
the cursor.
> Give up and use X?
Or you can use directfb, I bet the i830 there has overlay support.
Tony
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-21 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-21 21:08 YUV support Dennis Munsie
2006-07-21 21:19 ` Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).