|
using | pixel_format_fn_t = std::function<void(void *display, int pixelFormat)> |
|
using | resolution_fn_t = std::function<void(void *display, int width, int height)> |
|
|
int | convert (img_t &img) override |
|
int | init (void *display, pix_fmt_e pix_fmt, resolution_fn_t resolution_fn, const pixel_format_fn_t &pixel_format_fn) |
|
int | set_frame (AVFrame *frame, AVBufferRef *hw_frames_ctx) override |
| Set the frame to be encoded.
|
|
virtual void | apply_colorspace () |
|
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.
|
|
◆ convert()
◆ set_frame()
int platf::nv12_zero_device::set_frame |
( |
AVFrame * | frame, |
|
|
AVBufferRef * | hw_frames_ctx ) |
|
overridevirtual |
The documentation for this class was generated from the following files: