Gfx::OutputStream Struct Reference
Public Member Functions | |
OutputStream (const LibavOutputSettings &set, AVFormatContext *oc, const StreamOptions &opts) | |
void | init_audio (const LibavOutputSettings &set, AVCodecContext *c) |
void | init_video (const LibavOutputSettings &set, AVCodecContext *c) |
void | open_audio (const LibavOutputSettings &set, AVFormatContext *oc, const AVCodec *codec, AVDictionary *opt_arg) |
void | open_video (const LibavOutputSettings &set, AVFormatContext *oc, const AVCodec *codec, AVDictionary *opt_arg) |
void | open (const LibavOutputSettings &set, AVFormatContext *oc, const AVCodec *codec, AVDictionary *opt_arg) |
void | close (AVFormatContext *oc) |
AVFrame * | get_video_frame () |
AVFrame * | get_audio_frame () |
int | write_video_frame (AVFormatContext *fmt_ctx, AVFrame *input_frame) |
int | write_audio_frame (AVFormatContext *fmt_ctx, AVFrame *input_frame) |
Public Attributes | |
const AVCodec * | codec {} |
AVStream * | st {} |
AVCodecContext * | enc {} |
int64_t | next_pts {} |
int | samples_count {} |
AVFrame * | cache_input_frame {} |
AVFrame * | tmp_frame {} |
AVPacket * | tmp_pkt {} |
struct SwsContext * | sws_ctx {} |
std::vector< std::unique_ptr< r8b::CDSPResampler > > | resamplers |
std::unique_ptr< AudioFrameEncoder > | encoder |
The documentation for this struct was generated from the following file: