org.rococoa.cocoa.quicktime
Interface QuickTimeLibrary.ICMEncodedFrameOutputCallback

All Superinterfaces:
Callback
Enclosing interface:
QuickTimeLibrary

public static interface QuickTimeLibrary.ICMEncodedFrameOutputCallback
extends Callback

ICMEncodedFrameOutputCallback

Summary:
The callback through which a client of an ICM compression session
receives encoded frames.

Discussion:
During the encoded frame output callback, the ICM has a reference
to the passed ICMEncodedFrame, but the ICM will release that
reference afterwards; the callback should retain the encoded
frame if the client wants to keep it after the callback returns.

Parameters:

encodedFrameOutputRefCon:
The callback's reference value, copied from the
encodedFrameOutputRefCon field of the
ICMEncodedFrameOutputRecord.

session:
The compression session.

error:
Indicates whether there was an error.

frame:
The encoded frame.

reserved:
Reserved for future use. Ignore the value of this parameter.

Result:
If the callback returns an error, the compressor and ICM will
stop emitting frames so that the error can be propogated back to
the caller of ICMCompressionSessionEncodeFrame or
ICMCompressionSessionCompleteFrames.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Callback
Callback.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Callback
FORBIDDEN_NAMES, METHOD_NAME