Package org.robovm.apple.coremedia
Class CMSampleBuffer
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coremedia.CMSampleBuffer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMSampleBuffer.CMSampleBufferPtr
static interface
CMSampleBuffer.ForEachCallback
static interface
CMSampleBuffer.InvalidateCallback
static interface
CMSampleBuffer.MakeDataReadyCallback
static class
CMSampleBuffer.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CMSampleBuffer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NSString
BufferConsumedConsumerNotification()
void
callForEachSample(CMSampleBuffer.ForEachCallback callback)
void
callForEachSample(org.robovm.objc.block.Block2<CMSampleBuffer,java.lang.Long,OSStatus> handler)
protected OSStatus
callForEachSample0(org.robovm.objc.block.Block2<CMSampleBuffer,java.lang.Long,OSStatus> handler)
protected OSStatus
callForEachSample0(org.robovm.rt.bro.ptr.FunctionPtr callback, long refcon)
void
copyPCMDataIntoAudioBufferList(int frameOffset, int numFrames, AudioBufferList bufferList)
protected OSStatus
copyPCMDataIntoAudioBufferList0(int frameOffset, int numFrames, AudioBufferList bufferList)
static CMSampleBuffer
create(CMBlockBuffer dataBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMFormatDescription formatDescription, long numSamples, CMSampleTimingInfo[] sampleTimingArray, long[] sampleSizeArray)
static CMSampleBuffer
create(CVImageBuffer imageBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming)
protected static OSStatus
create0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
static CMSampleBuffer
createAudioSampleBuffer(CMBlockBuffer dataBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMFormatDescription formatDescription, long numSamples, CMTime sbufPTS, AudioStreamPacketDescription[] packetDescriptions)
static CMSampleBuffer
createAudioSampleBuffer(CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMTime sbufPTS, AudioStreamPacketDescription[] packetDescriptions)
protected static OSStatus
createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
protected static OSStatus
createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
CMSampleBuffer
createCopy()
CMSampleBuffer
createCopy(CFRange sampleRange)
CMSampleBuffer
createCopy(CMSampleTimingInfo[] sampleTimingArray)
protected static OSStatus
createCopy0(CFAllocator allocator, CMSampleBuffer sbuf, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createCopyWithNewTiming0(CFAllocator allocator, CMSampleBuffer originalSBuf, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createForImageBuffer0(CFAllocator allocator, CVImageBuffer imageBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createForImageBufferWithMakeDataReadyHandler0(CFAllocator allocator, CVImageBuffer imageBuffer, boolean dataReady, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
protected static OSStatus
createForRange0(CFAllocator allocator, CMSampleBuffer sbuf, CFRange sampleRange, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
CMSampleBuffer
createReady(CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMSampleTimingInfo[] sampleTimingArray, long[] sampleSizeArray)
static CMSampleBuffer
createReady(CVImageBuffer imageBuffer, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming)
protected static OSStatus
createReady0(CFAllocator allocator, CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createReadyWithImageBuffer0(CFAllocator allocator, CVImageBuffer imageBuffer, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
protected static OSStatus
createWithMakeDataReadyHandler0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
static NSString
DataBecameReadyNotification()
static NSString
DataFailedNotification()
AudioBufferList
getAudioBufferList(long bufferListSize, CMSampleBufferFlags flags, CMBlockBuffer buffer)
protected OSStatus
getAudioBufferList0(org.robovm.rt.bro.ptr.MachineSizedUIntPtr bufferListSizeNeededOut, AudioBufferList bufferListOut, long bufferListSize, CFAllocator blockBufferStructureAllocator, CFAllocator blockBufferBlockAllocator, CMSampleBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
AudioStreamPacketDescription[]
getAudioStreamPacketDescriptions(long packetDescriptionsSize)
protected OSStatus
getAudioStreamPacketDescriptions0(long packetDescriptionsSize, AudioStreamPacketDescription packetDescriptionsOut, org.robovm.rt.bro.ptr.MachineSizedUIntPtr packetDescriptionsSizeNeededOut)
static long
getClassTypeID()
CMBlockBuffer
getDataBuffer()
CMTime
getDecodeTimeStamp()
CMTime
getDuration()
CMFormatDescription
getFormatDescription()
CVImageBuffer
getImageBuffer()
long
getNumSamples()
CMTime
getOutputDecodeTimeStamp()
CMTime
getOutputDuration()
CMTime
getOutputPresentationTimeStamp()
CMSampleTimingInfo[]
getOutputSampleTimingInfoArray(long timingArrayEntries)
protected OSStatus
getOutputSampleTimingInfoArray0(long timingArrayEntries, CMSampleTimingInfo timingArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr timingArrayEntriesNeededOut)
CVPixelBuffer
getPixelBuffer()
CMTime
getPresentationTimeStamp()
java.util.List<CMSampleAttachment>
getSampleAttachments(boolean createIfNecessary)
CMSampleBufferAttachment
getSampleBufferAttachments(CMAttachmentMode attachmentMode)
long
getSampleSize(long sampleIndex)
long[]
getSampleSizeArray(long sizeArrayEntries)
protected OSStatus
getSampleSizeArray0(long sizeArrayEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sizeArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr sizeArrayEntriesNeededOut)
CMSampleTimingInfo
getSampleTimingInfo(long sampleIndex)
protected OSStatus
getSampleTimingInfo0(long sampleIndex, CMSampleTimingInfo timingInfoOut)
CMSampleTimingInfo[]
getSampleTimingInfoArray(long timingArrayEntries)
protected OSStatus
getSampleTimingInfoArray0(long numSampleTimingEntries, CMSampleTimingInfo timingArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr timingArrayEntriesNeededOut)
long
getTotalSampleSize()
OSStatus
hasDataFailed()
protected boolean
hasDataFailed0(org.robovm.rt.bro.ptr.IntPtr statusOut)
static NSString
InhibitOutputUntilConduitNotification()
void
invalidate()
protected OSStatus
invalidate0()
boolean
isDataReady()
boolean
isValid()
void
makeDataReady()
protected OSStatus
makeDataReady0()
protected static NSString
MaxUpcomingOutputPTSConduitNotificationParameter()
protected static NSString
MinUpcomingOutputPTSConduitNotificationParameter()
protected static NSString
OSStatusNotificationParameter()
static NSString
ResetOutputConduitNotification()
protected static NSString
ResumeTagConduitNotificationParameter()
void
setAudioBufferList(AudioBufferList bufferList, CMSampleBufferFlags flags)
protected OSStatus
setAudioBufferList0(CFAllocator blockBufferStructureAllocator, CFAllocator blockBufferBlockAllocator, CMSampleBufferFlags flags, AudioBufferList bufferList)
void
setDataBuffer(CMBlockBuffer dataBuffer)
protected OSStatus
setDataBuffer0(CMBlockBuffer dataBuffer)
void
setDataFailed(OSStatus status)
protected OSStatus
setDataFailed0(OSStatus status)
void
setDataReady()
protected OSStatus
setDataReady0()
void
setInvalidateCallback(CMSampleBuffer.InvalidateCallback callback)
protected OSStatus
setInvalidateCallback0(org.robovm.rt.bro.ptr.FunctionPtr invalidateCallback, long invalidateRefCon)
void
setInvalidateHandler(org.robovm.objc.block.VoidBlock1<CMSampleBuffer> invalidateHandler)
protected OSStatus
setInvalidateHandler0(org.robovm.objc.block.VoidBlock1<CMSampleBuffer> invalidateHandler)
void
setOutputPresentationTimeStamp(CMTime outputPresentationTimeStamp)
protected OSStatus
setOutputPresentationTimeStamp0(CMTime outputPresentationTimeStamp)
void
setSampleBufferAttachments(CMSampleBufferAttachment attachment, CMAttachmentMode attachmentMode)
void
trackDataReadiness(CMSampleBuffer sbufToTrack)
protected OSStatus
trackDataReadiness0(CMSampleBuffer sampleBufferToTrack)
static NSString
UpcomingOutputPTSRangeChangedConduitNotification()
protected static NSString
UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRangeConduitNotificationParameter()
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
create
public static CMSampleBuffer create(CMBlockBuffer dataBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMFormatDescription formatDescription, long numSamples, CMSampleTimingInfo[] sampleTimingArray, long[] sampleSizeArray) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createReady
public CMSampleBuffer createReady(CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMSampleTimingInfo[] sampleTimingArray, long[] sampleSizeArray) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
createAudioSampleBuffer
public static CMSampleBuffer createAudioSampleBuffer(CMBlockBuffer dataBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMFormatDescription formatDescription, long numSamples, CMTime sbufPTS, AudioStreamPacketDescription[] packetDescriptions) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createAudioSampleBuffer
public static CMSampleBuffer createAudioSampleBuffer(CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMTime sbufPTS, AudioStreamPacketDescription[] packetDescriptions) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
createReady
public static CMSampleBuffer createReady(CVImageBuffer imageBuffer, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
create
public static CMSampleBuffer create(CVImageBuffer imageBuffer, boolean dataReady, CMSampleBuffer.MakeDataReadyCallback callback, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createCopy
public CMSampleBuffer createCopy() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createCopy
public CMSampleBuffer createCopy(CMSampleTimingInfo[] sampleTimingArray) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createCopy
public CMSampleBuffer createCopy(CFRange sampleRange) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
setDataBuffer
public void setDataBuffer(CMBlockBuffer dataBuffer) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
setAudioBufferList
public void setAudioBufferList(AudioBufferList bufferList, CMSampleBufferFlags flags) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getAudioBufferList
public AudioBufferList getAudioBufferList(long bufferListSize, CMSampleBufferFlags flags, CMBlockBuffer buffer) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getAudioStreamPacketDescriptions
public AudioStreamPacketDescription[] getAudioStreamPacketDescriptions(long packetDescriptionsSize) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
copyPCMDataIntoAudioBufferList
public void copyPCMDataIntoAudioBufferList(int frameOffset, int numFrames, AudioBufferList bufferList) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 7.0 and later.
-
setDataReady
public void setDataReady() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
setDataFailed
public void setDataFailed(OSStatus status) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
hasDataFailed
public OSStatus hasDataFailed()
- Since:
- Available in iOS 8.0 and later.
-
makeDataReady
public void makeDataReady() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
trackDataReadiness
public void trackDataReadiness(CMSampleBuffer sbufToTrack) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
invalidate
public void invalidate() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
setInvalidateCallback
public void setInvalidateCallback(CMSampleBuffer.InvalidateCallback callback) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
setInvalidateHandler
public void setInvalidateHandler(org.robovm.objc.block.VoidBlock1<CMSampleBuffer> invalidateHandler) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
setOutputPresentationTimeStamp
public void setOutputPresentationTimeStamp(CMTime outputPresentationTimeStamp) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getSampleTimingInfoArray
public CMSampleTimingInfo[] getSampleTimingInfoArray(long timingArrayEntries) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getOutputSampleTimingInfoArray
public CMSampleTimingInfo[] getOutputSampleTimingInfoArray(long timingArrayEntries) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getSampleTimingInfo
public CMSampleTimingInfo getSampleTimingInfo(long sampleIndex) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
getSampleSizeArray
public long[] getSampleSizeArray(long sizeArrayEntries) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
callForEachSample
public void callForEachSample(CMSampleBuffer.ForEachCallback callback) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
callForEachSample
public void callForEachSample(org.robovm.objc.block.Block2<CMSampleBuffer,java.lang.Long,OSStatus> handler) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 8.0 and later.
-
setSampleBufferAttachments
public void setSampleBufferAttachments(CMSampleBufferAttachment attachment, CMAttachmentMode attachmentMode)
- Since:
- Available in iOS 4.0 and later.
-
getSampleBufferAttachments
public CMSampleBufferAttachment getSampleBufferAttachments(CMAttachmentMode attachmentMode)
- Since:
- Available in iOS 4.0 and later.
-
getPixelBuffer
public CVPixelBuffer getPixelBuffer()
- Since:
- Available in iOS 4.0 and later.
-
DataBecameReadyNotification
public static NSString DataBecameReadyNotification()
- Since:
- Available in iOS 4.0 and later.
-
DataFailedNotification
public static NSString DataFailedNotification()
- Since:
- Available in iOS 8.0 and later.
-
OSStatusNotificationParameter
protected static NSString OSStatusNotificationParameter()
- Since:
- Available in iOS 8.0 and later.
-
InhibitOutputUntilConduitNotification
public static NSString InhibitOutputUntilConduitNotification()
- Since:
- Available in iOS 4.0 and later.
-
ResumeTagConduitNotificationParameter
protected static NSString ResumeTagConduitNotificationParameter()
- Since:
- Available in iOS 4.0 and later.
-
ResetOutputConduitNotification
public static NSString ResetOutputConduitNotification()
- Since:
- Available in iOS 4.0 and later.
-
UpcomingOutputPTSRangeChangedConduitNotification
public static NSString UpcomingOutputPTSRangeChangedConduitNotification()
- Since:
- Available in iOS 4.3 and later.
-
UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRangeConduitNotificationParameter
protected static NSString UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRangeConduitNotificationParameter()
- Since:
- Available in iOS 4.3 and later.
-
MinUpcomingOutputPTSConduitNotificationParameter
protected static NSString MinUpcomingOutputPTSConduitNotificationParameter()
- Since:
- Available in iOS 4.3 and later.
-
MaxUpcomingOutputPTSConduitNotificationParameter
protected static NSString MaxUpcomingOutputPTSConduitNotificationParameter()
- Since:
- Available in iOS 5.0 and later.
-
BufferConsumedConsumerNotification
public static NSString BufferConsumedConsumerNotification()
- Since:
- Available in iOS 4.0 and later.
-
create0
protected static OSStatus create0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
createWithMakeDataReadyHandler0
protected static OSStatus createWithMakeDataReadyHandler0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
- Since:
- Available in iOS 12.2 and later.
-
createReady0
protected static OSStatus createReady0(CFAllocator allocator, CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, long numSampleSizeEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sampleSizeArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 8.0 and later.
-
createAudioSampleBuffer0
protected static OSStatus createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
createAudioSampleBuffer0
protected static OSStatus createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, boolean dataReady, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
- Since:
- Available in iOS 12.2 and later.
-
createAudioSampleBuffer0
protected static OSStatus createAudioSampleBuffer0(CFAllocator allocator, CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, long numSamples, CMTime presentationTimeStamp, AudioStreamPacketDescription packetDescriptions, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 8.0 and later.
-
createForImageBuffer0
protected static OSStatus createForImageBuffer0(CFAllocator allocator, CVImageBuffer imageBuffer, boolean dataReady, org.robovm.rt.bro.ptr.FunctionPtr makeDataReadyCallback, long makeDataReadyRefcon, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
createForImageBufferWithMakeDataReadyHandler0
protected static OSStatus createForImageBufferWithMakeDataReadyHandler0(CFAllocator allocator, CVImageBuffer imageBuffer, boolean dataReady, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut, org.robovm.objc.block.Block1<CMSampleBuffer,OSStatus> makeDataReadyHandler)
- Since:
- Available in iOS 12.2 and later.
-
createReadyWithImageBuffer0
protected static OSStatus createReadyWithImageBuffer0(CFAllocator allocator, CVImageBuffer imageBuffer, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 8.0 and later.
-
createCopy0
protected static OSStatus createCopy0(CFAllocator allocator, CMSampleBuffer sbuf, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
createCopyWithNewTiming0
protected static OSStatus createCopyWithNewTiming0(CFAllocator allocator, CMSampleBuffer originalSBuf, long numSampleTimingEntries, CMSampleTimingInfo sampleTimingArray, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
createForRange0
protected static OSStatus createForRange0(CFAllocator allocator, CMSampleBuffer sbuf, CFRange sampleRange, CMSampleBuffer.CMSampleBufferPtr sampleBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 4.0 and later.
-
setDataBuffer0
protected OSStatus setDataBuffer0(CMBlockBuffer dataBuffer)
- Since:
- Available in iOS 4.0 and later.
-
getDataBuffer
public CMBlockBuffer getDataBuffer()
- Since:
- Available in iOS 4.0 and later.
-
getImageBuffer
public CVImageBuffer getImageBuffer()
- Since:
- Available in iOS 4.0 and later.
-
setAudioBufferList0
protected OSStatus setAudioBufferList0(CFAllocator blockBufferStructureAllocator, CFAllocator blockBufferBlockAllocator, CMSampleBufferFlags flags, AudioBufferList bufferList)
- Since:
- Available in iOS 4.0 and later.
-
getAudioBufferList0
protected OSStatus getAudioBufferList0(org.robovm.rt.bro.ptr.MachineSizedUIntPtr bufferListSizeNeededOut, AudioBufferList bufferListOut, long bufferListSize, CFAllocator blockBufferStructureAllocator, CFAllocator blockBufferBlockAllocator, CMSampleBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
getAudioStreamPacketDescriptions0
protected OSStatus getAudioStreamPacketDescriptions0(long packetDescriptionsSize, AudioStreamPacketDescription packetDescriptionsOut, org.robovm.rt.bro.ptr.MachineSizedUIntPtr packetDescriptionsSizeNeededOut)
- Since:
- Available in iOS 4.0 and later.
-
copyPCMDataIntoAudioBufferList0
protected OSStatus copyPCMDataIntoAudioBufferList0(int frameOffset, int numFrames, AudioBufferList bufferList)
- Since:
- Available in iOS 7.0 and later.
-
setDataReady0
protected OSStatus setDataReady0()
- Since:
- Available in iOS 4.0 and later.
-
isDataReady
public boolean isDataReady()
- Since:
- Available in iOS 4.0 and later.
-
setDataFailed0
protected OSStatus setDataFailed0(OSStatus status)
- Since:
- Available in iOS 8.0 and later.
-
hasDataFailed0
protected boolean hasDataFailed0(org.robovm.rt.bro.ptr.IntPtr statusOut)
- Since:
- Available in iOS 8.0 and later.
-
makeDataReady0
protected OSStatus makeDataReady0()
- Since:
- Available in iOS 4.0 and later.
-
trackDataReadiness0
protected OSStatus trackDataReadiness0(CMSampleBuffer sampleBufferToTrack)
- Since:
- Available in iOS 4.0 and later.
-
invalidate0
protected OSStatus invalidate0()
- Since:
- Available in iOS 4.0 and later.
-
setInvalidateCallback0
protected OSStatus setInvalidateCallback0(org.robovm.rt.bro.ptr.FunctionPtr invalidateCallback, long invalidateRefCon)
- Since:
- Available in iOS 4.0 and later.
-
setInvalidateHandler0
protected OSStatus setInvalidateHandler0(org.robovm.objc.block.VoidBlock1<CMSampleBuffer> invalidateHandler)
- Since:
- Available in iOS 8.0 and later.
-
isValid
public boolean isValid()
- Since:
- Available in iOS 4.0 and later.
-
getNumSamples
public long getNumSamples()
- Since:
- Available in iOS 4.0 and later.
-
getDuration
public CMTime getDuration()
- Since:
- Available in iOS 4.0 and later.
-
getPresentationTimeStamp
public CMTime getPresentationTimeStamp()
- Since:
- Available in iOS 4.0 and later.
-
getDecodeTimeStamp
public CMTime getDecodeTimeStamp()
- Since:
- Available in iOS 4.0 and later.
-
getOutputDuration
public CMTime getOutputDuration()
- Since:
- Available in iOS 4.0 and later.
-
getOutputPresentationTimeStamp
public CMTime getOutputPresentationTimeStamp()
- Since:
- Available in iOS 4.0 and later.
-
setOutputPresentationTimeStamp0
protected OSStatus setOutputPresentationTimeStamp0(CMTime outputPresentationTimeStamp)
- Since:
- Available in iOS 4.0 and later.
-
getOutputDecodeTimeStamp
public CMTime getOutputDecodeTimeStamp()
- Since:
- Available in iOS 4.0 and later.
-
getSampleTimingInfoArray0
protected OSStatus getSampleTimingInfoArray0(long numSampleTimingEntries, CMSampleTimingInfo timingArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr timingArrayEntriesNeededOut)
- Since:
- Available in iOS 4.0 and later.
-
getOutputSampleTimingInfoArray0
protected OSStatus getOutputSampleTimingInfoArray0(long timingArrayEntries, CMSampleTimingInfo timingArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr timingArrayEntriesNeededOut)
- Since:
- Available in iOS 4.0 and later.
-
getSampleTimingInfo0
protected OSStatus getSampleTimingInfo0(long sampleIndex, CMSampleTimingInfo timingInfoOut)
- Since:
- Available in iOS 4.0 and later.
-
getSampleSizeArray0
protected OSStatus getSampleSizeArray0(long sizeArrayEntries, org.robovm.rt.bro.ptr.MachineSizedUIntPtr sizeArrayOut, org.robovm.rt.bro.ptr.MachineSizedSIntPtr sizeArrayEntriesNeededOut)
- Since:
- Available in iOS 4.0 and later.
-
getSampleSize
public long getSampleSize(long sampleIndex)
- Since:
- Available in iOS 4.0 and later.
-
getTotalSampleSize
public long getTotalSampleSize()
- Since:
- Available in iOS 4.0 and later.
-
getFormatDescription
public CMFormatDescription getFormatDescription()
- Since:
- Available in iOS 4.0 and later.
-
getSampleAttachments
public java.util.List<CMSampleAttachment> getSampleAttachments(boolean createIfNecessary)
- Since:
- Available in iOS 4.0 and later.
-
callForEachSample0
protected OSStatus callForEachSample0(org.robovm.rt.bro.ptr.FunctionPtr callback, long refcon)
- Since:
- Available in iOS 4.0 and later.
-
callForEachSample0
protected OSStatus callForEachSample0(org.robovm.objc.block.Block2<CMSampleBuffer,java.lang.Long,OSStatus> handler)
- Since:
- Available in iOS 8.0 and later.
-
-