|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| int | convert (gl::frame_buf_t &fb) |
| int | blank (gl::frame_buf_t &fb, int offsetX, int offsetY, int width, int height) |
| int | load_ram (platf::img_t &img, std::uint32_t fourcc=0) |
| void | load_vram (img_descriptor_t &img, int offset_x, int offset_y, int texture) |
| void | apply_colorspace (const video::sunshine_colorspace_t &colorspace) |
Static Public Member Functions | |
| static std::optional< sws_t > | make (int in_width, int in_height, int out_width, int out_height, gl::tex_t &&tex) |
| static std::optional< sws_t > | make (int in_width, int in_height, int out_width, int out_height, AVPixelFormat format) |
Public Attributes | |
| gl::tex_t | tex |
| gl::frame_buf_t | cursor_framebuffer |
| gl::frame_buf_t | copy_framebuffer |
| gl::program_t | program [3] |
| gl::buffer_t | color_matrix |
| int | out_width |
| int | out_height |
| int | in_width |
| int | in_height |
| int | offsetX |
| int | offsetY |
| int | loaded_texture |
| float | black_y {16.0f / 255.0f} |
| float | black_uv {128.0f / 255.0f} |
| std::uint64_t | serial |
Definition at line 301 of file graphics.h.
| void egl::sws_t::apply_colorspace | ( | const video::sunshine_colorspace_t & | colorspace | ) |
Definition at line 769 of file graphics.cpp.
| int egl::sws_t::blank | ( | gl::frame_buf_t & | fb, |
| int | offsetX, | ||
| int | offsetY, | ||
| int | width, | ||
| int | height ) |
Definition at line 920 of file graphics.cpp.
| int egl::sws_t::convert | ( | gl::frame_buf_t & | fb | ) |
Definition at line 1070 of file graphics.cpp.
| int egl::sws_t::load_ram | ( | platf::img_t & | img, |
| std::uint32_t | fourcc = 0 ) |
Definition at line 968 of file graphics.cpp.
| void egl::sws_t::load_vram | ( | img_descriptor_t & | img, |
| int | offset_x, | ||
| int | offset_y, | ||
| int | texture ) |
Definition at line 1009 of file graphics.cpp.
|
static |
Definition at line 934 of file graphics.cpp.
|
static |
Definition at line 789 of file graphics.cpp.
| float egl::sws_t::black_uv {128.0f / 255.0f} |
Definition at line 336 of file graphics.h.
| float egl::sws_t::black_y {16.0f / 255.0f} |
Definition at line 335 of file graphics.h.
| gl::buffer_t egl::sws_t::color_matrix |
Definition at line 327 of file graphics.h.
| gl::frame_buf_t egl::sws_t::copy_framebuffer |
Definition at line 323 of file graphics.h.
| gl::frame_buf_t egl::sws_t::cursor_framebuffer |
Definition at line 322 of file graphics.h.
| int egl::sws_t::in_height |
Definition at line 330 of file graphics.h.
| int egl::sws_t::in_width |
Definition at line 330 of file graphics.h.
| int egl::sws_t::loaded_texture |
Definition at line 334 of file graphics.h.
| int egl::sws_t::offsetX |
Definition at line 331 of file graphics.h.
| int egl::sws_t::offsetY |
Definition at line 331 of file graphics.h.
| int egl::sws_t::out_height |
Definition at line 329 of file graphics.h.
| int egl::sws_t::out_width |
Definition at line 329 of file graphics.h.
| gl::program_t egl::sws_t::program[3] |
Definition at line 326 of file graphics.h.
| std::uint64_t egl::sws_t::serial |
Definition at line 339 of file graphics.h.
| gl::tex_t egl::sws_t::tex |
Definition at line 319 of file graphics.h.