org.rococoa.cocoa.quicktime
Interface QuickTimeLibrary.ICMDecompressionTrackingCallback
- All Superinterfaces:
- Callback
- Enclosing interface:
- QuickTimeLibrary
public static interface QuickTimeLibrary.ICMDecompressionTrackingCallback
- extends Callback
ICMDecompressionTrackingCallback
Summary:
The callback through which a client of an ICM decompression
session receives decoded frames and information about decoding.
Discussion:
The client may retain the emitted pixel buffers as long as it
needs; they will not be reused before the client releases them.
Parameters:
decompressionTrackingRefCon:
The callback's reference value, copied from the
decompressionTrackingRefCon field of the
ICMDecompressionTrackingCallbackRecord structure.
result:
Indicates whether there was an error in decompression.
decompressionTrackingFlags:
One or more flags describing the a frame's state transitions.
pixelBuffer:
When the kICMDecompressionTracking_EmittingFrame flag is set in
decompressionTrackingFlags, a pixel buffer containing the
decompressed frame. Otherwise, NULL.
displayTime:
If kICMValidTime_DisplayTimeStampIsValid is set in
validTimeFlags, the display time of the frame.
displayDuration:
If kICMValidTime_DisplayDurationIsValid is set in
validTimeFlags, the display duration of the frame.
validTimeFlags:
Indicates which of displayTime and displayDuration is valid.
reserved:
Reserved for future use. Ignore the value of this parameter.
sourceFrameRefCon:
The frame's reference value, copied from the sourceFrameRefCon
parameter to ICMDecompressionSessionDecodeFrame.