|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| int | convert (platf::img_t &img) override |
| int | set_frame (AVFrame *frame, AVBufferRef *hw_frames_ctx) override |
| Set the frame to be encoded. | |
| void | apply_colorspace () override |
| void | prefill () |
| int | init (int in_width, int in_height, AVFrame *frame, AVPixelFormat format, bool hardware) |
| Public Member Functions inherited from platf::avcodec_encode_device_t | |
| virtual void | init_hwframes (AVHWFramesContext *frames) |
| Initialize the hwframes context. | |
| virtual void | init_codec_options (AVCodecContext *ctx, AVDictionary **options) |
| Provides a hook for allow platform-specific code to adjust codec options. | |
| virtual int | prepare_to_derive_context (int hw_device_type) |
| Prepare to derive a context. | |
Public Attributes | |
| avcodec_frame_t | hw_frame |
| avcodec_frame_t | sw_frame |
| avcodec_frame_t | sws_input_frame |
| avcodec_frame_t | sws_output_frame |
| sws_t | sws |
| int | offsetW |
| int | offsetH |
| Public Attributes inherited from platf::avcodec_encode_device_t | |
| void * | data {} |
| AVFrame * | frame {} |
| Public Attributes inherited from platf::encode_device_t | |
| video::sunshine_colorspace_t | colorspace |
|
inlineoverridevirtual |
Reimplemented from platf::avcodec_encode_device_t.
|
inlineoverridevirtual |
Reimplemented from platf::avcodec_encode_device_t.
|
inline |
|
inline |
|
inlineoverridevirtual |
Set the frame to be encoded.
Reimplemented from platf::avcodec_encode_device_t.
| avcodec_frame_t video::avcodec_software_encode_device_t::hw_frame |
| avcodec_frame_t video::avcodec_software_encode_device_t::sw_frame |
| avcodec_frame_t video::avcodec_software_encode_device_t::sws_input_frame |
| avcodec_frame_t video::avcodec_software_encode_device_t::sws_output_frame |