From linux-video Tue Jul 28 09:20:22 1998 From: Richard Guenther Date: Tue, 28 Jul 1998 09:20:22 +0000 To: linux-video Subject: Re: [video4linux] Pixel formats/byte swap X-MARC-Message: https://marc.info/?l=linux-video&m=90222361031195 No, I dont agree with you both. Rather than defining tons of variants of YUYV32, I would define the swap-constants and pass something like YUYV32|SWAP_12 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). Richard. On Mon, 27 Jul 1998, Bill Dirks wrote: > I agree with Alex. Let's explicitly define the pixel formats we want to > be available, rather than make 16 variations of every format, many of > which don't make sense. > > Bill. > > Alex Bakaev wrote: > > > > Yep, > > this could be useful and very easy to do with bt848. Except it should be > > specified with the pixel format, so there is no need for 4 #defines. > > > > Alex > > > > Richard Guenther wrote: > > > > > > Hi! > > > > > > I completely agree with you - compatibility is not an issue > > > (if its not easy to achieve). > > > > > > One thing apout the proposal: > > > It would be nice to have the bt848 capability to swap bytes > > > of the PIX_FMT included in the FMT_FLAGS, i.e. > > > FMT_FLAG_WSWAP_EVEN, FMT_FLAG_WSWAP_ODD, > > > FMT_FLAG_BSWAP_EVEN, FMT_FLAG_BSWAP_ODD > > > > > > Richard. > ------------ > 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. > -- Richard Guenther PGP: 2E829319 - 2F 83 FC 93 E9 E4 19 E2 93 7A 32 42 45 37 23 57 WWW: http://www.anatom.uni-tuebingen.de/~richi/ ------------ 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.