MediaProcessors
|
#include <ffmpeg_video.h>
Public Attributes | |
struct proc_ctx_s | proc_ctx |
const AVCodec * | avcodec |
AVCodecContext * | avcodecctx |
AVDictionary * | avdictionary |
AVFrame * | avframe_tmp |
struct SwsContext * | sws_ctx |
int | frame_rate_input |
int | width_input |
int | height_input |
int | ffmpeg_pix_fmt_input |
FFmpeg video encoding common context structure.
Definition at line 50 of file ffmpeg_video.h.
const AVCodec* ffmpeg_video_enc_ctx_s::avcodec |
FFmpeg's static CODEC context structure characterizing video encoder.
Definition at line 59 of file ffmpeg_video.h.
AVCodecContext* ffmpeg_video_enc_ctx_s::avcodecctx |
FFmpeg's CODEC instance context structure.
Definition at line 63 of file ffmpeg_video.h.
AVDictionary* ffmpeg_video_enc_ctx_s::avdictionary |
FFmpeg's dictionary structure used for storing key:value pairs for specific encoder configuration options.
Definition at line 68 of file ffmpeg_video.h.
AVFrame* ffmpeg_video_enc_ctx_s::avframe_tmp |
FFmpeg's structure for re-scaling/re-formatting raw frames. If input raw data format is different from the encoder input format, we will need also a temporary buffer to convert to the required format.
Definition at line 74 of file ffmpeg_video.h.
int ffmpeg_video_enc_ctx_s::ffmpeg_pix_fmt_input |
Video encoder input pixel format (FFEMPG's identifier).
Definition at line 91 of file ffmpeg_video.h.
int ffmpeg_video_enc_ctx_s::frame_rate_input |
Video encoder input frame-rate.
Definition at line 79 of file ffmpeg_video.h.
int ffmpeg_video_enc_ctx_s::height_input |
Video encoder input frame height.
Definition at line 87 of file ffmpeg_video.h.
struct proc_ctx_s ffmpeg_video_enc_ctx_s::proc_ctx |
Generic processor context structure. MUST be the first field in order to be able to cast to proc_ctx_t.
Definition at line 55 of file ffmpeg_video.h.
int ffmpeg_video_enc_ctx_s::width_input |
Video encoder input frame width.
Definition at line 83 of file ffmpeg_video.h.