SGGetVideoCompressorType
TheSGGetVideoCompressorTypefunction allows you to determine the type of image compression that is being applied to a channel's video data.
pascal ComponentResult SGGetVideoCompressorType (SGChannel c, OSType *compressorType);
c- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannelfunction, described on page 5-29.compressorType- Contains a pointer to an
OSTypefield that is to receive information about the type of image compression to use. The returned value must correspond to one of the image compressor types supported by the Image Compression Manager. Currently, sixCodecTypevalues are provided by Apple. You should use theGetCodecNameListfunction to retrieve these names, so that your application can take advantage of new compressor types that may be added in the future. For eachCodecTypevalue in the following list, the corresponding compression method is also identified by its text string name.
Compressor type Compressor name 'rpza' video compressor 'jpeg' photo compressor 'rle ' animation compressor 'raw ' raw compressor 'smc ' graphics compressor 'cvid' compact video compressor - See the chapter "Image Compression Manager" in Inside Macintosh: QuickTime for information about valid compressor types.
SEE ALSO
You can set the image-compression type by calling theSGSetVideoCompressorTypefunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help