VKDecoder Class Reference
Inherits from | VKQueue : NSObject |
---|---|
Declared in | VKDecoder.h |
Overview
Base class of VKAudioDecoder & VKVideoDecoder classes. It holds common ffmpeg related datas such as CodecContext, AVCodec, etc…
– initWithCodecContext:stream:streamId:manager:
Initialize VKDecoder with AVCodecContext, AVStream, stream index, and manager parameters
- (id)initWithCodecContext:(AVCodecContext *)cdcCtx stream:(AVStream *)strm streamId:(NSInteger)sId manager:(id)manager
Parameters
cdcCtx |
FFmpeg’s codec I/O context |
---|---|
strm |
FFmpeg’s Stream structure |
sId |
Stream index |
manager |
VKDecodeManager object |
Return Value
VKDecoder object
Declared In
VKDecoder.h
streamId
The stream index in streams list in FFmpeg
@property (nonatomic, readonly) NSInteger streamId
Declared In
VKDecoder.h
manager
VKDecodeManager object, used for retrieving global states
@property (nonatomic, readonly) id manager
Declared In
VKDecoder.h