Documentation ¶
Overview ¶
Represent time-based audio-visual assets with essential data types.
Index ¶
- type AudioFormatDescriptionMask
- type AudioFormatDescriptionRef
- type BaseClassVersion
- type BlockBufferCustomBlockSource
- type BlockBufferFlags
- type BlockBufferRef
- type BufferCallbacks
- type BufferCompareCallback
- type BufferCompareHandler
- type BufferGetBooleanCallback
- type BufferGetBooleanHandler
- type BufferGetSizeCallback
- type BufferGetSizeHandler
- type BufferGetTimeCallback
- type BufferGetTimeHandler
- type BufferHandlers
- type BufferQueueRef
- type BufferQueueTriggerCallback
- type BufferQueueTriggerCondition
- type BufferQueueTriggerHandler
- type BufferRef
- type BufferValidationCallback
- type BufferValidationHandler
- type ClockRef
- type ClosedCaptionFormatType
- type FormatDescriptionRef
- type ItemCount
- type ItemIndex
- type MemoryPoolRef
- type MetadataFormatDescriptionRef
- type PixelFormatType
- type SampleBufferInvalidateCallback
- type SampleBufferInvalidateHandler
- type SampleBufferMakeDataReadyCallback
- type SampleBufferMakeDataReadyHandler
- type SampleBufferRef
- type SampleTimingInfo
- type SimpleQueueRef
- type StructVersion
- type TextDisplayFlags
- type TextFormatType
- type TextJustificationValue
- type Time
- type TimeEpoch
- type TimeFlags
- type TimeMapping
- type TimeRange
- type TimeRoundingMethod
- type TimeScale
- type TimeValue
- type TimebaseRef
- type VideoCodecType
- type VideoDimensions
- type VideoFormatDescriptionRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioFormatDescriptionMask ¶
type AudioFormatDescriptionMask uint32
A type for mask bits that represent parts of an audio format description. Full Topic
type AudioFormatDescriptionRef ¶
type AudioFormatDescriptionRef FormatDescriptionRef
type BlockBufferCustomBlockSource ¶
A structure to support custom memory allocation and deallocation for a block used in a block buffer. Full Topic
type BlockBufferFlags ¶
type BlockBufferFlags uint32
A type for parameters that contain block buffer feature and control flags. Full Topic
type BufferCallbacks ¶
A structure that stores the callbacks that perform buffer operations. Full Topic
type BufferCompareCallback ¶
type BufferCompareCallback = func(buf1 BufferRef, buf2 BufferRef, refcon unsafe.Pointer) corefoundation.ComparisonResult
Callback that compares one CMBuffer with another. Full Topic
type BufferCompareHandler ¶
type BufferCompareHandler = func(buf1 BufferRef, buf2 BufferRef) corefoundation.ComparisonResult
[Full Topic]
type BufferGetBooleanCallback ¶
Callback that returns a Boolean value from a CMBuffer. Full Topic
type BufferGetSizeCallback ¶
A client callback that returns a size. Full Topic
type BufferGetTimeCallback ¶
Callback that returns a CMTime from a CMBuffer. Full Topic
type BufferHandlers ¶
type BufferHandlers struct { Version uint64 GetDecodeTimeStamp uintptr // *_Ctype_struct___3 GetPresentationTimeStamp uintptr // *_Ctype_struct___3 GetDuration uintptr // *_Ctype_struct___3 IsDataReady uintptr // *_Ctype_struct___4 Compare uintptr // *_Ctype_struct___5 DataBecameReadyNotification corefoundation.StringRef //*_Ctype_struct___CFString GetSize uintptr // *_Ctype_struct___6 }
A structure that stores the handlers that perform buffer operations. Full Topic
type BufferQueueTriggerCallback ¶
A callback for the system to invoke when a trigger condition becomes true. Full Topic
type BufferQueueTriggerCondition ¶
type BufferQueueTriggerCondition int32
A type to specify conditions to associate with a buffer queue trigger. Full Topic
type BufferQueueTriggerHandler ¶
A type alias for a trigger handler. Full Topic
type BufferRef ¶
type BufferRef corefoundation.TypeRef
type BufferValidationCallback ¶
type BufferValidationCallback = func(queue BufferQueueRef, buf BufferRef, validationRefCon unsafe.Pointer) uint
A type alias for a callback that tests whether a buffer is in a valid state to add to a queue. Full Topic
type BufferValidationHandler ¶
type BufferValidationHandler = func(queue BufferQueueRef, buf BufferRef) uint
A type alias for a handler that tests whether a buffer is in a valid state to add to a queue. Full Topic
type ClosedCaptionFormatType ¶
type ClosedCaptionFormatType uint
A closed caption format type. Full Topic
type FormatDescriptionRef ¶
type FormatDescriptionRef uintptr
An object that describes a media format descriptor. Full Topic
type ItemCount ¶
type ItemCount corefoundation.Index
A datatype that represents an item count. Full Topic
type ItemIndex ¶
type ItemIndex corefoundation.Index
A datatype that represents an item index. Full Topic
type MetadataFormatDescriptionRef ¶
type MetadataFormatDescriptionRef FormatDescriptionRef
type SampleBufferInvalidateCallback ¶
type SampleBufferInvalidateCallback = func(sbuf SampleBufferRef, invalidateRefCon uint64)
Client callback called by coremedia/cmsamplebufferinvalidate. Full Topic
type SampleBufferInvalidateHandler ¶
type SampleBufferInvalidateHandler = func(sbuf SampleBufferRef)
Client callback called by coremedia/cmsamplebufferinvalidate. Full Topic
type SampleBufferMakeDataReadyCallback ¶
type SampleBufferMakeDataReadyCallback = func(sbuf SampleBufferRef, makeDataReadyRefcon unsafe.Pointer) uint
Client callback called by coremedia/cmsamplebuffermakedataready. Full Topic
type SampleBufferMakeDataReadyHandler ¶
type SampleBufferMakeDataReadyHandler = func(sbuf SampleBufferRef) uint
A block the system calls to make the sample buffer ready for use. Full Topic
type SampleBufferRef ¶
type SampleBufferRef uintptr
A reference to an immutable sample buffer object. Full Topic
type SampleTimingInfo ¶
A collection of timing information for a sample in a sample buffer. Full Topic
type SimpleQueueRef ¶
type SimpleQueueRef uintptr
A reference to an object that provides a simple lockless queue of elements. Full Topic
type TextDisplayFlags ¶
type TextDisplayFlags uint32
An integer value that describes the display mode flags for text media. Full Topic
type TextJustificationValue ¶
type TextJustificationValue int8
An integer value that describes the justification modes for text media. Full Topic
type Time ¶
A structure that represents time. Full Topic
type TimeFlags ¶
type TimeFlags uint32
A structure that defines the flags for a time value. Full Topic
type TimeMapping ¶
A structure that maps a segment of a source time range to a target time range. Full Topic
type TimeRange ¶
A structure that represents a time range. Full Topic
type TimeRoundingMethod ¶
type TimeRoundingMethod uint32
An enumeration of rounding methods to use when performing time calculations. Full Topic
type TimebaseRef ¶
type TimebaseRef uintptr
A model of a timeline under application control. Full Topic
type VideoDimensions ¶
A structure that represents video dimensions. Full Topic
type VideoFormatDescriptionRef ¶
type VideoFormatDescriptionRef FormatDescriptionRef