Classes
The following classes are available globally.
-
The bitstream filter state.
See moreDeclaration
Swift
public final class AVBSFContext
-
Structure for chain/list of bitstream filters.
See moreDeclaration
Swift
public final class AVBSFList
-
Undocumented
See moreDeclaration
Swift
public final class AVCodecContext
-
Undocumented
See moreDeclaration
Swift
public final class AVCodecParserContext
-
Format I/O context.
See moreDeclaration
Swift
public final class AVFormatContext
-
List of devices.
See moreDeclaration
Swift
public final class AVDeviceInfoList
-
An instance of a filter.
See moreDeclaration
Swift
public final class AVFilterContext
-
Undocumented
See moreDeclaration
Swift
public final class AVFilterGraph
-
A linked-list of the inputs/outputs of the filter chain.
This is mainly useful for
See moreavfilter_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.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 singleAVFrame
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
See moreAVFrame
is usually reference counted through theAVBuffer
API. The underlying buffer references are stored inbuffer
/extendedBuffer
. AnAVFrame
is considered to be reference counted if at least one reference is set, i.e. ifbuffer[0] != nil
. In such a case, every single data plane must be contained in one of the buffers inbuffer
orextendedBuffer
. There may be a single buffer for all the data, or one separate buffer for each plane, or anything in between.Declaration
Swift
public final class AVFrame
-
Undocumented
See moreDeclaration
Swift
public final class AVHWDeviceContext
-
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
See moreAVBuffer
mechanism and tied to a givenAVHWDeviceContext
instance. Theinit(deviceContext:)
constructor yields a reference, whose data field points to the actualAVHWFramesContext
struct.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 moreDeclaration
Swift
public final class AVIODirEntry
-
Undocumented
See moreDeclaration
Swift
public final class AVIODirContext
-
Bytestream IO Context.
See moreDeclaration
Swift
public final class AVIOContext
-
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 tounref()
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
See moreAVIO.malloc(size:)
, copied byref(from:)
and freedunref()
.Declaration
Swift
public final class AVPacket
-
This class describes the properties of an encoded stream.
See moreDeclaration
Swift
public final class AVCodecParameters
-
Undocumented
See moreDeclaration
Swift
public final class SwrContext
-
Undocumented
See moreDeclaration
Swift
public final class SwsContext