![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Classes | |
| struct | encoder_img_ctx_t |
Public Member Functions | |
| void | apply_colorspace (const ::video::sunshine_colorspace_t &colorspace) |
| int | convert (platf::img_t &img_base) |
| shader_res_t | create_black_texture_for_rtv_clear () |
| int | init (std::shared_ptr< platf::display_t > display, adapter_t::pointer adapter_p, pix_fmt_e pix_fmt) |
| int | init_output (ID3D11Texture2D *frame_texture, int width, int height) |
| int | initialize_image_context (const img_d3d_t &img, encoder_img_ctx_t &img_ctx) |
Public Attributes | |
| blend_t | blend_disable |
| buf_t | color_matrix |
| ::video::color_t * | color_p |
| ps_t | convert_UV_fp16_ps |
| ps_t | convert_UV_ps |
| vs_t | convert_UV_vs |
| ps_t | convert_Y_or_YUV_fp16_ps |
| ps_t | convert_Y_or_YUV_ps |
| vs_t | convert_Y_or_YUV_vs |
| device_t | device |
| device_ctx_t | device_ctx |
| std::shared_ptr< display_base_t > | display |
| DXGI_FORMAT | format |
| std::map< uint32_t, encoder_img_ctx_t > | img_ctx_map |
| render_target_t | out_UV_rtv |
| D3D11_VIEWPORT | out_UV_viewport |
| D3D11_VIEWPORT | out_UV_viewport_for_clear |
| render_target_t | out_Y_or_YUV_rtv |
| std::array< D3D11_VIEWPORT, 3 > | out_Y_or_YUV_viewports |
| std::array< D3D11_VIEWPORT, 3 > | out_Y_or_YUV_viewports_for_clear |
| texture2d_t | output_texture |
| bool | rtvs_cleared = false |
| sampler_state_t | sampler_linear |
| buf_t | subsample_offset |