coremedia

package
v0.5.0-preview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Represent time-based audio-visual assets with essential data types.

Full Documentation

Index

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 unsafe.Pointer

type BaseClassVersion

type BaseClassVersion uint
[Full Topic]

type BlockBufferFlags

type BlockBufferFlags uint32

A type for parameters that contain block buffer feature and control flags. 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

type BufferGetBooleanCallback = func(buf BufferRef, refcon unsafe.Pointer) bool

Callback that returns a Boolean value from a CMBuffer. Full Topic

type BufferGetBooleanHandler

type BufferGetBooleanHandler = func(buf BufferRef) bool
[Full Topic]

type BufferGetSizeCallback

type BufferGetSizeCallback = func(buf BufferRef, refcon unsafe.Pointer) uint

A client callback that returns a size. Full Topic

type BufferGetSizeHandler

type BufferGetSizeHandler = func(buf BufferRef) uint
[Full Topic]

type BufferGetTimeCallback

type BufferGetTimeCallback = func(buf BufferRef, refcon unsafe.Pointer) Time

Callback that returns a CMTime from a CMBuffer. Full Topic

type BufferGetTimeHandler

type BufferGetTimeHandler = func(buf BufferRef) Time
[Full Topic]

type BufferQueueRef

type BufferQueueRef unsafe.Pointer

type BufferQueueTriggerCallback

type BufferQueueTriggerCallback = func(triggerRefcon unsafe.Pointer, triggerToken unsafe.Pointer)

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

type BufferQueueTriggerHandler = func(triggerToken unsafe.Pointer)

A type alias for a trigger handler. Full Topic

type BufferRef

type BufferRef unsafe.Pointer

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 ClockRef

type ClockRef unsafe.Pointer

type ClosedCaptionFormatType

type ClosedCaptionFormatType uint

A closed caption format type. Full Topic

type FormatDescriptionRef

type FormatDescriptionRef unsafe.Pointer

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 unsafe.Pointer

type PixelFormatType

type PixelFormatType uint

A pixel format type. Full Topic

type SampleBufferInvalidateCallback

type SampleBufferInvalidateCallback = func(sbuf SampleBufferRef, invalidateRefCon uint64)

Client callback called by CMSampleBufferInvalidate. Full Topic

type SampleBufferInvalidateHandler

type SampleBufferInvalidateHandler = func(sbuf SampleBufferRef)

Client callback called by CMSampleBufferInvalidate. Full Topic

type SampleBufferMakeDataReadyCallback

type SampleBufferMakeDataReadyCallback = func(sbuf SampleBufferRef, makeDataReadyRefcon unsafe.Pointer) uint

Client callback called by 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 unsafe.Pointer

type StructVersion

type StructVersion uint
[Full Topic]

type TextDisplayFlags

type TextDisplayFlags uint32

An integer value that describes the display mode flags for text media. Full Topic

type TextFormatType

type TextFormatType uint

A text format type. Full Topic

type TextJustificationValue

type TextJustificationValue int8

An integer value that describes the justification modes for text media. Full Topic

type Time

type Time struct{}

type TimeEpoch

type TimeEpoch int64

An epoch for a time. Full Topic

type TimeFlags

type TimeFlags uint32

A structure that defines the flags for a time value. Full Topic

type TimeMapping

type TimeMapping struct{}

todo

type TimeRange

type TimeRange struct{}

type TimeRoundingMethod

type TimeRoundingMethod uint32

An enumeration of rounding methods to use when performing time calculations. Full Topic

type TimeScale

type TimeScale int32

An integer timescale. Full Topic

type TimeValue

type TimeValue int64

An integer time value. Full Topic

type TimebaseRef

type TimebaseRef unsafe.Pointer

type VideoCodecType

type VideoCodecType uint

A video codec type. Full Topic

type VideoDimensions

type VideoDimensions struct{}

type VideoFormatDescriptionRef

type VideoFormatDescriptionRef unsafe.Pointer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL