|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| int | convert (platf::img_t &img) override |
| virtual void | apply_colorspace () |
| virtual int | set_frame (AVFrame *frame, AVBufferRef *hw_frames_ctx) |
| Set the frame to be encoded. | |
| 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 | |
| void * | data {} |
| AVFrame * | frame {} |
| Public Attributes inherited from platf::encode_device_t | |
| video::sunshine_colorspace_t | colorspace |
|
inlinevirtual |
Reimplemented in cuda::gl_cuda_vram_t.
|
inlineoverridevirtual |
Implements platf::encode_device_t.
Reimplemented in cuda::gl_cuda_vram_t.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Set the frame to be encoded.
Reimplemented in cuda::cuda_ram_t, cuda::cuda_t, cuda::gl_cuda_vram_t, va::va_t, and video::avcodec_software_encode_device_t.