AVCodecParserContext
public final class AVCodecParserContext
Undocumented
-
Undocumented
Declaration
Swift
public init?(codecContext: AVCodecContext) -
Parse a packet.
Throws
AVErrorDeclaration
Swift
public func parse( data: UnsafePointer<UInt8>, size: Int, pts: Int64 = AVTimestamp.noPTS, dts: Int64 = AVTimestamp.noPTS, pos: Int64 = 0 ) throws -> AVCodecParserResultParameters
datainput buffer.
sizebuffer size in bytes without the padding. I.e. the full buffer size is assumed to be
buf_size + AVConstant.inputBufferPaddingSize. To signal EOF, this should be 0 (so that the last frame can be output).ptsinput presentation timestamp.
dtsinput decoding timestamp.
posinput byte position in stream.
Return Value
The parsed result.
View on GitHub
Install in Dash
AVCodecParserContext Class Reference