Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: DirectShow VDIG & RAW compression format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DirectShow VDIG & RAW compression format



Steve

Many thanks. The confusion is gone, and the color is perfect! I just did this and the proxy VDIG works like a charm (with a Hauppage Win TV's WDM drivers).

The confusion arose because on the Mac OS, one uses k32ARGBPixelFormat as the pixel depth, and kRawCodecType as the cType for uncompressed data. On Windows, we use k32BGRAPixelFormat as the cType!

Cheers

Tim

At 12:57 AM -0500 11/29/00, The VDIG maestro Steve Sisak wrote:
At 6:23 PM -0800 11/28/00, Kevin Marks wrote:
If I use kWindowsRawCodecType I die deep inside quicktime. Using kRawCodecType works, but the colors are terrible.

use the types specified in ice floe 20

http://developer.apple.com/quicktime/icefloe/dispatch020.html

This is not possible because the pixel depth on an image description is a short. These are four char codes which are 32 bits. Is there some later version of the Image Description which allows these as pixel depths?

These values go in the cType field, not the depth field -- the depth field s/b set to the number of bits per pixel.

So you want:

cType = '24BG'
depth = 24

cType = 'BGRA'
depth = 32

etc.

--
Dr Tim Molteno
VideoScript Inc.
email@hidden
ph (877) 655 8366


References: 
 >DirectShow VDIG & RAW compression format (From: Tim Molteno <email@hidden>)
 >Re: DirectShow VDIG & RAW compression format (From: Kevin Marks <email@hidden>)
 >Re: DirectShow VDIG & RAW compression format (From: Tim Molteno <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.