Classes

The following classes are available globally.

  • The bitstream filter state.

    See more

    Declaration

    Swift

    public final class AVBSFContext
  • Structure for chain/list of bitstream filters.

    See more

    Declaration

    Swift

    public final class AVBSFList
  • Structure describes device capabilities.

    It is used by devices in conjunction with av_device_capabilities AVOption table to implement capabilities probing API based on AVOption API. Should not be used directly.

    See more

    Declaration

    Swift

    public final class AVDeviceCapabilitiesQuery
  • A linked-list of the inputs/outputs of the filter chain.

    This is mainly useful for avfilter_graph_parse() / avfilter_graph_parse2(), where it is used to communicate open (unlinked) inputs and outputs from and to the caller. This struct specifies, per each not connected pad contained in the graph, the filter context and the pad index required for establishing a link.

    See more

    Declaration

    Swift

    public final class AVFilterInOut
  • This structure describes decoded (raw) audio or video data.

    AVFrame is typically allocated once and then reused multiple times to hold different data (e.g. a single AVFrame to hold frames received from a decoder). In such a case, unref() will free any references held by the frame and reset it to its original clean state before it is reused again.

    The data described by an AVFrame is usually reference counted through the AVBuffer API. The underlying buffer references are stored in buffer / extendedBuffer. An AVFrame is considered to be reference counted if at least one reference is set, i.e. if buffer[0] != nil. In such a case, every single data plane must be contained in one of the buffers in buffer or extendedBuffer. There may be a single buffer for all the data, or one separate buffer for each plane, or anything in between.

    See more

    Declaration

    Swift

    public final class AVFrame
  • This struct describes a set or pool of hardware frames (i.e. those with data not located in normal system memory). All the frames in the pool are assumed to be allocated in the same way and interchangeable.

    This struct is reference-counted with the AVBuffer mechanism and tied to a given AVHWDeviceContext instance. The init(deviceContext:) constructor yields a reference, whose data field points to the actual AVHWFramesContext struct.

    See more

    Declaration

    Swift

    public final class AVHWFramesContext
  • Describes single entry of the directory.

    Only name and type fields are guaranteed be set. Rest of fields are protocol or/and platform dependent and might be unknown.

    See more

    Declaration

    Swift

    public final class AVIODirEntry
  • Undocumented

    See more

    Declaration

    Swift

    public final class AVImage
  • This structure stores compressed data. It is typically exported by demuxers and then passed as input to decoders, or received as output from encoders and then passed to muxers.

    For video, it should typically contain one compressed frame. For audio it may contain several compressed frames. Encoders are allowed to output empty packets, with no compressed data, containing only side data (e.g. to update some stream parameters at the end of encoding).

    The semantics of data ownership depends on the buffer field. If it is set, the packet data is dynamically allocated and is valid indefinitely until a call to unref() reduces the reference count to 0.

    If the buffer field is not set, ref(from:) would make a copy instead of increasing the reference count.

    The side data is always allocated with AVIO.malloc(size:), copied by ref(from:) and freed unref().

    See more

    Declaration

    Swift

    public final class AVPacket
  • This class describes the properties of an encoded stream.

    See more

    Declaration

    Swift

    public final class AVCodecParameters
  • Stream structure.

    See more

    Declaration

    Swift

    public final class AVStream
  • Undocumented

    See more

    Declaration

    Swift

    public final class AVHash