All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.qtcomponents.DataCodecDecompressor

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.qtcomponents.DataCodecDecompressor

public class DataCodecDecompressor
extends Component
implements QuickTimeLib
This class is used to decompress data given an appropriate compressor type which is the compressor used to compress the data.


Constructor Index

 o DataCodecDecompressor(ComponentIdentifier)
Given a component identifier it opens the specified component.
 o DataCodecDecompressor(int)
Opens the specified data codec decompressor component, 'ddec', with the given subType.

Method Index

 o decompress(QTPointerRef, QTPointerRef)
The DataCodecDecompress function decompresses data using the specified compressor component.

Constructors

 o DataCodecDecompressor
 public DataCodecDecompressor(int subType) throws QTException
Opens the specified data codec decompressor component, 'ddec', with the given subType.

QuickTime::OpenADefaultComponent

Parameters:
subType - compressor type used to compress the data that will be decompressed
 o DataCodecDecompressor
 public DataCodecDecompressor(ComponentIdentifier comp) throws QTException
Given a component identifier it opens the specified component. The component type must be 'ddec' or an exception will be thrown as it is not a DataCodecDecompressor.

QuickTime::OpenAComponent

Parameters:
comp - the component identifier to open

Methods

 o decompress
 public void decompress(QTPointerRef srcData,
                        QTPointerRef dstData) throws StdQTException
The DataCodecDecompress function decompresses data using the specified compressor component. Before you decompress the data the size required to store the data should be retrieved, which is normally stored at the beginning of the file.

QuickTime::DataCodecDecompress

Parameters:
srcData - Contains a pointer to the data to be decompressed.
dstData - Contains a pointer to the buffer in which to store the decompressed data.

All Packages  Class Hierarchy  This Package  Previous  Next  Index