Sunshine latest
Self-hosted game stream host for Moonlight.
egl::sws_t Class Reference
Collaboration diagram for egl::sws_t:
[legend]

Public Member Functions

void apply_colorspace (const video::sunshine_colorspace_t &colorspace)
 
int blank (gl::frame_buf_t &fb, int offsetX, int offsetY, int width, int height)
 
int convert (gl::frame_buf_t &fb)
 
void load_ram (platf::img_t &img)
 
void load_vram (img_descriptor_t &img, int offset_x, int offset_y, int texture)
 

Static Public Member Functions

static std::optional< sws_tmake (int in_width, int in_height, int out_width, int out_height, AVPixelFormat format)
 
static std::optional< sws_tmake (int in_width, int in_height, int out_width, int out_height, gl::tex_t &&tex)
 

Public Attributes

gl::buffer_t color_matrix
 
gl::frame_buf_t copy_framebuffer
 
gl::frame_buf_t cursor_framebuffer
 
int in_height
 
int in_width
 
int loaded_texture
 
int offsetX
 
int offsetY
 
int out_height
 
int out_width
 
gl::program_t program [3]
 
std::uint64_t serial
 
gl::tex_t tex
 

The documentation for this class was generated from the following files: