video format and inversion
Steve Sisak
steve.sisak at ioxperts.com
Tue May 8 08:57:04 GMT 2007
At 3:50 PM -0400 5/7/07, Mike Travisano wrote:
>It appears that the driver only wants to return 2yuv, as confirmed
>through both the VDGetDigitizerInfo call (looking at VDIG
>outputcapabilities flags) and the VDGetImageDescription() call.
>
>The VDGetCompressionTypes() function only returns one item in a list
>"Component Video CCIR - 601 uyuv"
That would be the Apple driver, not ours.
For IIDC cameras, we support 'yuv2' "Component Video" and 'raw ' 24- and 32-bit
>I've tried to set all of the following using the VDSetCompression(...)
>function, but they all get rejected.
>
>k16LE555PixelFormat = 16 bit LE rgb 555
>k16LE5551PixelFormat = 16 bit LE rgb 5551
>k16BE565PixelFormat = 16 bit BE rgb 565
>k16LE565PixelFormat = 16 bit LE rgb 565
>k24BGRPixelFormat = 24 bit bgr
>k32BGRAPixelFormat = 32 bit bgra (Matrox)
>k32ABGRPixelFormat = 32 bit abgr
>k32RGBAPixelFormat = 32 bit rgba
None of the littel-endian formats are supported on Mac OS -- the RGB
formats would be cType = 'raw ', depth = 16, 24, or 32
Corresponding to :
16-bit ARGB 1555
24-bit RGB
32-bit ARGB
These are the only MacOS RGB formats -- the others are used for
import/export from/to foreign operating systems.
>I'll look into the using a Decompression Sequence/GWorld solution.
That's probably the most portable.
-Steve
--
_________________________________________________________________________
Steve Sisak, CTO steve.sisak at ioxperts.com
IOXperts, Inc. voice: +1 617 876-2572
87 Bristol St #3A fax: +1 617 876-2337
Cambridge, MA 02139 mobile: +1 617 388-6476
More information about the Video-Developers
mailing list