[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-video
Subject:    Re: [video4linux] Pixel formats/byte swap
From:       Bill Dirks <dirks () rendition ! com>
Date:       1998-07-28 18:45:53
[Download RAW message or body]

Richard Guenther wrote:
> No, I dont agree with you both. Rather than defining tons of
> variants of YUYV32,

How many do you need? How many byte-swapped variants of the other
formats do you need? You're scheme makes, like, 150 new formats right
away. How many are needed? I bet its something really small, like 3.
You're bits come out of the Bt848. Other hardware may not implement byte
swapping that way.

> I would define the swap-constants and
> pass something like YUYV32|SWAP_12

Flags in the pixel format field?

> to get YYUV32 which would
> be very useful if you do color-based object recognition!
> (you would have a 8x8-bit UV-lookup-table - no needs to
> shift bits around with YYUV).

Sounds good. I'll add PIX_FMT_YYUV.

Bill.
------------
To unsubscribe from this list send mail to majordomo@phunk.org with the
line "unsubscribe video4linux" without the quotes in the body of the
message.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic