Platforms to show: All Mac Windows Linux Cross-Platform

QTKitSampleBufferMBS.attributeForKey(key as string) as variant
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns a sample buffer attribute for the given key.
Notes:
key: The key of the returned attribute.

An object for the given attribute key, or nil if the sample buffer does not have the given attribute.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.bytesForAllSamples as MemoryBlock
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns a pointer to the bytes of media data contained in the sample buffer.
Notes:
This method returns a pointer to the data for the media samples contained within the sample buffer. Clients reading bytes from this pointer should check the total length of the buffer using lengthForAllSamples. Applications can interpret the media data returned by this method using the infomation from the sample buffer's formatDescription. This method will throw an NSInternalInconsistencyException if called after decrementSampleUseCount has been used to invalidate the media data contained in the sample buffer.
Mac OS X v10.5 and later.
QTKitSampleBufferMBS.Constructor
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 13.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The private constructor.
QTKitSampleBufferMBS.decodeTime as QTKitTimeMBS
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the decode time of the buffer.
Notes:
A QTTime representing the decode time of the buffer. For B-frame video media, the decode time may be different from the presentationTime.
Mac OS X v10.5 and later.
QTKitSampleBufferMBS.decrementSampleUseCount
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Decrements the use count of the sample data owned by the receiver, allowing the sample data to be invalidated after a matching call to incrementSampleUseCount.
Notes:
This method allows clients to control when the potentially large memory buffers owned by the receiver are deallocated. A newly allocated QTSampleBuffer has a sample use count of 1. When the sample use count drops to 0, the memory allocated for the samples will be freed and the bytesForAllSamples, lengthForAllSamples, andaudioBufferListWithOptions methods will each throw an NSInternalInconsistencyException when called.

This method is analogous to the NSObject release method in that it allows clients to relinquish ownership over data contained within the sample buffer. In particular, clients that have called incrementSampleUseCount because they were interested in the sample data of QTSampleBuffer objects returned by other APIs in QTKit should call this method when they no longer need that data. It is particularly important that clients using garbage collection ensure that the sample use count is 0 when they no longer require the sample data owned by a QTSampleBuffer, so that memory can be deallocated promptly rather than when the object is finalized.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.duration as QTKitTimeMBS
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the duration of the buffer.
Notes:
Returns a QTTime representing the duration of the buffer.
Mac OS X v10.5 and later.
QTKitSampleBufferMBS.formatDescription as QTKitFormatDescriptionMBS
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the format description of the buffer.
Notes:
A QTFormatDescription object describing the media format of the buffer.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.incrementSampleUseCount
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Increments the use count of the sample data owned by the receiver, preventing the sample data from being invalidated until a matching call to decrementSampleUseCount.
Notes:
This method allows clients to control when the potentially large memory buffers owned by the receiver are deallocated. A newly allocated QTSampleBuffer has a sample use count of 1. When the sample use count drops to 0, the memory allocated for the samples will be freed and the bytesForAllSamples, lengthForAllSamples, and audioBufferListWithOptions methods will each throw an NSInternalInconsistencyException when called.

This method is analogous to the NSObject retain method in that it allows clients to declare ownership over data contained within the sample buffer. In particular, clients interested in the sample data of QTSampleBuffer objects returned by other APIs in QTKit should call this method to ensure that they have acceess to the sample data, and later call decrementSampleUseCount when they no longer need that data. It is particularly important that clients using garbage collection ensure that the sample use count is 0 when they no longer require the sample data owned by a QTSampleBuffer, so that memory can be deallocated promptly rather than when the object is finalized.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.lengthForAllSamples as integer
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the length of the buffer returned by bytesForAllSamples.
Notes:
Clients reading bytes from the pointer returned by bytesForAllSamples should use this method to check the total length of the buffer. This method will throw an NSInternalInconsistencyException if called after decrementSampleUseCount has been used to invalidate the media data contained in the sample buffer.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.numberOfSamples as integer
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 8.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the number of media samples contained in the buffer.
Notes: In general, video buffers will always contain one sample (a single frame), while audio buffers may contain multiple samples. Applications that need to interpret variable bit-rate audio can get the individual sample lengths with the getAudioStreamPacketDescriptionsInRange method.
QTKitSampleBufferMBS.presentationTime as QTKitTimeMBS
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the presentation time of the buffer.
Notes:
A QTTime representing the presentation time of the buffer. For B-frame video media, the presentation time may be different from the decodeTime.

Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferDateRecordedAttribute as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
Returns the date on which the media in the buffer was originally recorded.
The value is an NSDate. This string value can be used in key paths for key-value coding, key-value observing, and bindings.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferExplicitSceneChange as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
Indicates that a scene change was explicitly marked in the sample buffer's metadata.
This constant is returned by QTSampleBufferSceneChangeTypeAttribute specifying what kind of scene change, if any, is marked by a sample buffer.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferHostTimeAttribute as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
Returns the buffer's host time, if the buffer is from a real time source.
The value returned by this attribute can be compared with the return value of CVGetCurrentHostTime() or AudioGetCurrentHostTime() to determine whether or not it is too late for the buffer to be processed in real time. Value is an NSNumber interpreted as a UInt64. This string value can be used in key paths for key-value coding, key-value observing, and bindings.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferSceneChangeTypeAttribute as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
If the buffer marks a scene change in the input content, returns a constant.
The returned constant specifies the type of scene change. This string value can be used in key paths for key-value coding, key-value observing, and bindings.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferSMPTETimeAttribute as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
Returns the SMPTE timecode of the sample buffer, if it has one.
The value is an NSValue interpreted as a SMPTETime (defined in CoreAudio/CoreAudioTypes.h). This string value can be used in key paths for key-value coding, key-value observing, and bindings.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.QTSampleBufferTimeStampDiscontinuitySceneChange as string
shared method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: One of the keys for the attributes dictionary.
Notes:
Indicates that the scene changed due to a discontinuity in time stamps between the current sample buffer and the previous sample buffer.
This constant is returned by QTSampleBufferSceneChangeTypeAttribute specifying what kind of scene chnage, if any, is marked by a sample buffer.
Available in Mac OS X v10.5 and later.
QTKitSampleBufferMBS.sampleBufferAttributes as dictionary
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns a dictionary of the sample buffer's current attirbutes.
Notes:
Returns a dictionary of attributes attached to the sample buffer. Attribute keys are described in the Constants section that discusses the attributes.

Applications can use this method to determine what attributes a specific sample buffer supports.
Mac OS X v10.5 and later.
QTKitSampleBufferMBS.sampleUseCount as integer
method, QTKit, MBS Real Studio QTKit Plugin (QTKit), class QTKitSampleBufferMBS,
Plugin version: 11.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Returns the use count of the sample data owned by the receiver.
Notes:
This method returns the use count of the data owned by the reciever, as determined buy the number of invocations of incrementSampleUseCount and decrementSampleUseCount. If the value retunred by this method is 0, then the data owned by the reciever has been invalidated and the bytesForAllSamples, lengthForAllSamples, and audioBufferListWithOptions methods wil throw an NSInternalInconsistencyException. Clients should rarely need to call this method. It is generally only useful for debugging purposes.

Mac OS X v10.5 and later.

The items on this page are in the following plugins: MBS Real Studio QTKit Plugin.




Links
Christians Software aus Nickenich