|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| int | convert (platf::img_t &img) override |
| Public Member Functions inherited from cuda::cuda_t | |
| int | init (int in_width, int in_height) |
| int | set_frame (AVFrame *frame, AVBufferRef *hw_frames_ctx) override |
| Set the frame to be encoded. | |
| void | apply_colorspace () override |
| cudaTextureObject_t | tex_obj (const tex_t &tex) const |
| 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. | |
Additional Inherited Members | |
| Public Attributes inherited from cuda::cuda_t | |
| stream_t | stream |
| frame_t | hwframe |
| int | width |
| int | height |
| bool | linear_interpolation |
| pixel::layout_e | layout {pixel::layout_e::bgra8} |
| Channel layout of the frames this device converts. | |
| sws_t | sws |
| 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.