| Framework | Frameworks/QuickTime.framework |
| Declared in | ImageCompression.h |
Applications can use the QuickTime image compression APIs to compress and decompress sounds, images, and image sequences, as well as to transcode sounds and images between compression formats.
ImageTranscoderBeginSequence
ImageTranscoderConvert
ImageTranscoderDisposeData
ImageTranscoderEndSequence
ICMCompressionSessionCompleteFrames
ICMCompressionSessionCreate
ICMCompressionSessionEncodeFrame
ICMCompressionSessionGetImageDescription
ICMCompressionSessionGetPixelBufferPool
ICMCompressionSessionGetProperty
QTOpenGLTextureContextCreate
QTVisualContextCopyImageForTime
QTVisualContextGetAttribute
QTVisualContextGetTypeID
QTVisualContextIsNewImageAvailable
QTVisualContextRelease
QTVisualContextRetain
QTVisualContextSetAttribute
QTVisualContextSetImageAvailableCallback
QTVisualContextTask
DisposeICMAlignmentUPP
DisposeICMCompletionUPP
DisposeICMConvertDataFormatUPP
DisposeICMCursorShieldedUPP
DisposeICMDataUPP
DisposeICMFlushUPP
DisposeICMMemoryDisposedUPP
DisposeICMProgressUPP
DisposeQDPixUPP
DisposeStdPixUPP
ICMCompressionFrameOptionsCreate
ICMCompressionFrameOptionsCreateCopy
ICMCompressionFrameOptionsGetForceKeyFrame
ICMCompressionFrameOptionsGetFrameType
ICMCompressionFrameOptionsGetProperty
ICMCompressionFrameOptionsGetPropertyInfo
ICMCompressionFrameOptionsGetTypeID
ICMCompressionFrameOptionsRelease
ICMCompressionFrameOptionsRetain
ICMCompressionFrameOptionsSetForceKeyFrame
ICMCompressionFrameOptionsSetFrameType
ICMCompressionFrameOptionsSetProperty
ICMCompressionSessionBeginPass
ICMCompressionSessionEndPass
ICMCompressionSessionGetPropertyInfo
ICMCompressionSessionGetTimeScale
ICMCompressionSessionGetTypeID
ICMCompressionSessionOptionsCreate
ICMCompressionSessionOptionsCreateCopy
ICMCompressionSessionOptionsGetAllowFrameReordering
ICMCompressionSessionOptionsGetAllowFrameTimeChanges
ICMCompressionSessionOptionsGetAllowTemporalCompression
ICMCompressionSessionOptionsGetDurationsNeeded
ICMCompressionSessionOptionsGetMaxKeyFrameInterval
ICMCompressionSessionOptionsGetProperty
ICMCompressionSessionOptionsGetPropertyInfo
ICMCompressionSessionOptionsGetTypeID
ICMCompressionSessionOptionsRelease
ICMCompressionSessionOptionsRetain
ICMCompressionSessionOptionsSetAllowFrameReordering
ICMCompressionSessionOptionsSetAllowFrameTimeChanges
ICMCompressionSessionOptionsSetAllowTemporalCompression
ICMCompressionSessionOptionsSetDurationsNeeded
ICMCompressionSessionOptionsSetMaxKeyFrameInterval
ICMCompressionSessionOptionsSetProperty
ICMCompressionSessionProcessBetweenPasses
ICMCompressionSessionRelease
ICMCompressionSessionRetain
ICMCompressionSessionSetProperty
ICMCompressionSessionSupportsMultiPassEncoding
ICMCompressorSessionDropFrame
ICMCompressorSessionEmitEncodedFrame
ICMCompressorSourceFrameGetDisplayNumber
ICMCompressorSourceFrameGetDisplayTimeStampAndDuration
ICMCompressorSourceFrameGetFrameOptions
ICMCompressorSourceFrameGetPixelBuffer
ICMCompressorSourceFrameGetTypeID
ICMCompressorSourceFrameRelease
ICMCompressorSourceFrameRetain
ICMDecompressionFrameOptionsCreate
ICMDecompressionFrameOptionsCreateCopy
ICMDecompressionFrameOptionsGetProperty
ICMDecompressionFrameOptionsGetPropertyInfo
ICMDecompressionFrameOptionsGetTypeID
ICMDecompressionFrameOptionsRelease
ICMDecompressionFrameOptionsRetain
ICMDecompressionFrameOptionsSetProperty
ICMDecompressionSessionCreate
ICMDecompressionSessionCreateForVisualContext
ICMDecompressionSessionDecodeFrame
ICMDecompressionSessionFlush
ICMDecompressionSessionGetProperty
ICMDecompressionSessionGetPropertyInfo
ICMDecompressionSessionGetTypeID
ICMDecompressionSessionOptionsCreate
ICMDecompressionSessionOptionsCreateCopy
ICMDecompressionSessionOptionsGetProperty
ICMDecompressionSessionOptionsGetPropertyInfo
ICMDecompressionSessionOptionsGetTypeID
ICMDecompressionSessionOptionsRelease
ICMDecompressionSessionOptionsRetain
ICMDecompressionSessionOptionsSetProperty
ICMDecompressionSessionRelease
ICMDecompressionSessionRetain
ICMDecompressionSessionSetNonScheduledDisplayDirection
ICMDecompressionSessionSetNonScheduledDisplayTime
ICMDecompressionSessionSetProperty
ICMEncodedFrameCreateMutable
ICMEncodedFrameGetBufferSize
ICMEncodedFrameGetDataPtr
ICMEncodedFrameGetDataSize
ICMEncodedFrameGetDecodeDuration
ICMEncodedFrameGetDecodeNumber
ICMEncodedFrameGetDecodeTimeStamp
ICMEncodedFrameGetDisplayDuration
ICMEncodedFrameGetDisplayOffset
ICMEncodedFrameGetDisplayTimeStamp
ICMEncodedFrameGetFrameType
ICMEncodedFrameGetImageDescription
ICMEncodedFrameGetMediaSampleFlags
ICMEncodedFrameGetSimilarity
ICMEncodedFrameGetSourceFrameRefCon
ICMEncodedFrameGetTimeScale
ICMEncodedFrameGetTypeID
ICMEncodedFrameGetValidTimeFlags
ICMEncodedFrameRelease
ICMEncodedFrameRetain
ICMEncodedFrameSetDataSize
ICMEncodedFrameSetDecodeDuration
ICMEncodedFrameSetDecodeTimeStamp
ICMEncodedFrameSetDisplayDuration
ICMEncodedFrameSetDisplayTimeStamp
ICMEncodedFrameSetFrameType
ICMEncodedFrameSetMediaSampleFlags
ICMEncodedFrameSetSimilarity
ICMEncodedFrameSetValidTimeFlags
ICMImageDescriptionGetProperty
ICMImageDescriptionGetPropertyInfo
ICMImageDescriptionSetProperty
ICMMultiPassStorageCopyDataAtTimeStamp
ICMMultiPassStorageCreateWithCallbacks
ICMMultiPassStorageCreateWithTemporaryFile
ICMMultiPassStorageGetTimeStamp
ICMMultiPassStorageGetTypeID
ICMMultiPassStorageRelease
ICMMultiPassStorageRetain
ICMMultiPassStorageSetDataAtTimeStamp
NewICMAlignmentUPP
NewICMCompletionUPP
NewICMConvertDataFormatUPP
NewICMCursorShieldedUPP
NewICMDataUPP
NewICMFlushUPP
NewICMMemoryDisposedUPP
NewICMProgressUPP
NewQDPixUPP
NewStdPixUPP
QTAddComponentPropertyListener
QTComponentPropertyListenerCollectionAddListener
QTComponentPropertyListenerCollectionCreate
QTComponentPropertyListenerCollectionHasListenersForProperty
QTComponentPropertyListenerCollectionIsEmpty
QTComponentPropertyListenerCollectionNotifyListeners
QTComponentPropertyListenerCollectionRemoveListener
QTGetComponentProperty
QTGetComponentPropertyInfo
QTPixelBufferContextCreate
QTRemoveComponentPropertyListener
QTSetComponentProperty
Disposes of an ICMAlignmentUPP pointer.
void DisposeICMAlignmentUPP ( ICMAlignmentUPP userUPP );
An ICMAlignmentUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMCompletionUPP pointer.
void DisposeICMCompletionUPP ( ICMCompletionUPP userUPP );
An ICMCompletionUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMConvertDataFormatUPP pointer.
void DisposeICMConvertDataFormatUPP ( ICMConvertDataFormatUPP userUPP );
An ICMConvertDataFormatUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMCursorShieldedUPP pointer.
void DisposeICMCursorShieldedUPP ( ICMCursorShieldedUPP userUPP );
An ICMCursorShieldedUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMDataUPP pointer.
void DisposeICMDataUPP ( ICMDataUPP userUPP );
An ICMDataUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMFlushUPP pointer.
void DisposeICMFlushUPP ( ICMFlushUPP userUPP );
An ICMFlushUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMMemoryDisposedUPP pointer.
void DisposeICMMemoryDisposedUPP ( ICMMemoryDisposedUPP userUPP );
An ICMMemoryDisposedUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of an ICMProgressUPP pointer.
void DisposeICMProgressUPP ( ICMProgressUPP userUPP );
An ICMProgressUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of a QDPixUPP pointer.
void DisposeQDPixUPP ( QDPixUPP userUPP );
A QDPixUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hDisposes of a StdPixUPP pointer.
void DisposeStdPixUPP ( StdPixUPP userUPP );
A StdPixUPP pointer. See Universal Procedure Pointers.
You can access this function's error returns through GetMoviesError and GetMoviesStickyError.
Introduced in QuickTime 4.1.
ImageCompression.hCreates a frame compression options object.
OSStatus ICMCompressionFrameOptionsCreate ( CFAllocatorRef allocator, ICMCompressionSessionRef session, ICMCompressionFrameOptionsRef *options );
An allocator. Pass NULL to use the default allocator.
A compression session reference. This reference is returned by ICMCompressionSessionCreate.
On return, a reference to a new frame compression options object.
An error code. Returns noErr if there is no error.
ImageCompression.hCopies a frame compression options object.
OSStatus ICMCompressionFrameOptionsCreateCopy ( CFAllocatorRef allocator, ICMCompressionFrameOptionsRef originalOptions, ICMCompressionFrameOptionsRef *copiedOptions );
An allocator. Pass NULL to use the default allocator.
A frame compression options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
On return, a reference to a copy of the frame compression options object passed in originalOptions.
An error code. Returns noErr if there is no error.
ImageCompression.hRetrieves the force key frame flag.
Boolean ICMCompressionFrameOptionsGetForceKeyFrame ( ICMCompressionFrameOptionsRef options );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
Returns TRUE if frames are forced to be compressed as key frames, FALSE otherwise.
ImageCompression.hRetrieves the frame type setting.
ICMFrameType ICMCompressionFrameOptionsGetFrameType ( ICMCompressionFrameOptionsRef options );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
On return, one of the frame types listed below.
This function can return one of these constants:
ImageCompression.hRetrieves the value of a specific property of a compression frame options object.
OSStatus ICMCompressionFrameOptionsGetProperty ( ICMCompressionFrameOptionsRef options, ComponentPropertyClass inPropClass, ComponentPropertyID inPropID, ByteCount inPropValueSize, ComponentValuePtr outPropValueAddress, ByteCount *outPropValueSizeUsed );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
Pass the following constant to define the property class: kComponentPropertyClassPropertyInfo = 'pnfo' The property information class. See these constants:
kComponentPropertyClassPropertyInfo
Pass one of these constants to define the property ID: kComponentPropertyInfoList = 'list' An array of CFData values, one for each property. kComponentPropertyCacheSeed = 'seed' A property cache seed value. kComponentPropertyCacheFlags = 'flgs' One of the kComponentPropertyCache flags: kComponentPropertyCacheFlagNotPersistentProperty metadata should not be saved in persistent cache. kComponentPropertyCacheFlagIsDynamicProperty metadata should not cached at all. kComponentPropertyExtendedInfo = 'meta' A CFDictionary with extended property information. See these constants:
kComponentPropertyInfoList
kComponentPropertyCacheSeed
kComponentPropertyCacheFlags
kComponentPropertyExtendedInfo
A pointer to the type of the returned property's value.
A pointer to a variable to receive the returned property's value.
On return, a pointer to the number of bytes actually used to store the property.
An error code. Returns noErr if there is no error.
ImageCompression.hRetrieves information about properties of a compression frame options object.
OSStatus ICMCompressionFrameOptionsGetPropertyInfo ( ICMCompressionFrameOptionsRef options, ComponentPropertyClass inPropClass, ComponentPropertyID inPropID, ComponentValueType *outPropType, ByteCount *outPropValueSize, UInt32 *outPropertyFlags );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
Pass the following constant to define the property class: kComponentPropertyClassPropertyInfo = 'pnfo' The property information class. See these constants:
kComponentPropertyClassPropertyInfo
Pass one of these constants to define the property ID: kComponentPropertyInfoList = 'list' An array of CFData values, one for each property. kComponentPropertyCacheSeed = 'seed' A property cache seed value. kComponentPropertyCacheFlags = 'flgs' One of the kComponentPropertyCache flags: kComponentPropertyCacheFlagNotPersistentProperty metadata should not be saved in persistent cache. kComponentPropertyCacheFlagIsDynamicProperty metadata should not cached at all. kComponentPropertyExtendedInfo = 'meta' A CFDictionary with extended property information. See these constants:
kComponentPropertyInfoList
kComponentPropertyCacheSeed
kComponentPropertyCacheFlags
kComponentPropertyExtendedInfo
A pointer to the type of the returned property's value.
A pointer to the size of the returned property's value.
On return, a pointer to flags representing the requested information about the property.
An error code. Returns noErr if there is no error.
ImageCompression.hReturns the type ID for the current frame compression options object.
CFTypeID ICMCompressionFrameOptionsGetTypeID ( void );
A CFTypeID value.
ImageCompression.hDecrements the retain count of a frame compression options object.
void ICMCompressionFrameOptionsRelease ( ICMCompressionFrameOptionsRef options );
A reference to a frame compression options object. This reference is returned by ICMCompressionFrameOptionsCreate. If you pass NULL, nothing happens.
If the retain count drops to 0, the object is disposed.
ImageCompression.hIncrements the retain count of a frame compression options object.
ICMCompressionFrameOptionsRef ICMCompressionFrameOptionsRetain ( ICMCompressionFrameOptionsRef options );
A reference to a frame compression options object. This reference is returned by ICMCompressionFrameOptionsCreate. If you pass NULL, nothing happens.
A copy of the object reference passed in options, for convenience.
ImageCompression.hForces frames to be compressed as key frames.
OSStatus ICMCompressionFrameOptionsSetForceKeyFrame ( ICMCompressionFrameOptionsRef options, Boolean forceKeyFrame );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
Pass TRUE to force frames to be compressed as key frames, FALSE otherwise.
An error code. Returns noErr if there is no error.
The compressor must obey this flag if set. By default it is set FALSE.
ImageCompression.hRequests a frame be compressed as a particular frame type.
OSStatus ICMCompressionFrameOptionsSetFrameType ( ICMCompressionFrameOptionsRef options, ICMFrameType frameType );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
A constant that identifies a frame type. Pass one of the following but do not assume that there are no other frame types: kICMFrameType_I = 'I' An I frame. kICMFrameType_P = 'P' A P frame. kICMFrameType_B = 'B' A B frame. kICMFrameType_Unknown = 0 A frame of unknown type. See these constants:
kICMFrameType_I
kICMFrameType_P
kICMFrameType_B
kICMFrameType_Unknown
An error code. Returns noErr if there is no error.
The frame type setting may be ignored by the compressor if it is not appropriate. By default it is set to kICMFrameType_Unknown.
ImageCompression.hSets the value of a specific property of a compression frame options object.
OSStatus ICMCompressionFrameOptionsSetProperty ( ICMCompressionFrameOptionsRef options, ComponentPropertyClass inPropClass, ComponentPropertyID inPropID, ByteCount inPropValueSize, ConstComponentValuePtr inPropValueAddress );
A compression frame options reference. This reference is returned by ICMCompressionFrameOptionsCreate.
Pass the following constant to define the property class: kComponentPropertyClassPropertyInfo = 'pnfo' The property information class. See these constants:
kComponentPropertyClassPropertyInfo
Pass one of these constants to define the property ID: kComponentPropertyInfoList = 'list' An array of CFData values, one for each property. kComponentPropertyCacheSeed = 'seed' A property cache seed value. kComponentPropertyCacheFlags = 'flgs' One of the kComponentPropertyCache flags: kComponentPropertyCacheFlagNotPersistentProperty metadata should not be saved in persistent cache. kComponentPropertyCacheFlagIsDynamicProperty metadata should not cached at all. kComponentPropertyExtendedInfo = 'meta' A CFDictionary with extended property information. See these constants:
kComponentPropertyInfoList
kComponentPropertyCacheSeed
kComponentPropertyCacheFlags
kComponentPropertyExtendedInfo
The size of the property value to be set.
A pointer to the value of the property to be set.
An error code. Returns noErr if there is no error.
ImageCompression.hAnnounces the start of a specific compression pass.
OSStatus ICMCompressionSessionBeginPass ( ICMCompressionSessionRef session, ICMCompressionPassModeFlags passModeFlags, UInt32 flags );
A compression session reference. This reference is returned by ICMCompressionSessionCreate.
Flags that describe how the compressor should behave in this pass of multipass encoding: kICMCompressionPassMode_OutputEncodedFrames = 1L<<0 Output encoded frames. kICMCompressionPassMode_NoSourceFrames = 1L<<1 The client need not provide source frame buffers. kICMCompressionPassMode_WriteToMultiPassStorage = 1L<<2 The compressor may write private data to multipass storage. kICMCompressionPassMode_ReadFromMultiPassStorage = 1L<<3 The compressor may read private data from multipass storage. See these constants: