|
void | apply_colorspace () override |
|
int | convert (platf::img_t &img) override |
|
int | init (int in_width, int in_height, AVFrame *frame, AVPixelFormat format, bool hardware) |
|
void | prefill () |
|
int | set_frame (AVFrame *frame, AVBufferRef *hw_frames_ctx) override |
| Set the frame to be encoded.
|
|
virtual void | init_codec_options (AVCodecContext *ctx, AVDictionary **options) |
| Provides a hook for allow platform-specific code to adjust codec options.
|
|
virtual void | init_hwframes (AVHWFramesContext *frames) |
| Initialize the hwframes context.
|
|
virtual int | prepare_to_derive_context (int hw_device_type) |
| Prepare to derive a context.
|
|
◆ apply_colorspace()
void video::avcodec_software_encode_device_t::apply_colorspace |
( |
| ) |
|
|
inlineoverridevirtual |
◆ convert()
int video::avcodec_software_encode_device_t::convert |
( |
platf::img_t & | img | ) |
|
|
inlineoverridevirtual |
◆ prefill()
void video::avcodec_software_encode_device_t::prefill |
( |
| ) |
|
|
inline |
When preserving aspect ratio, ensure that padding is black
◆ set_frame()
int video::avcodec_software_encode_device_t::set_frame |
( |
AVFrame * | frame, |
|
|
AVBufferRef * | hw_frames_ctx ) |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: