|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Definitions for handling ram. More...
Classes | |
| struct | platf::dxgi::img_t |
| Captured frame buffer shared between capture and encode stages. More... | |
Functions | |
| void | platf::dxgi::apply_color_alpha (int *img_pixel_p, int cursor_pixel) |
| Alpha-blend a color cursor pixel into a captured RAM frame. | |
| void | platf::dxgi::apply_color_masked (int *img_pixel_p, int cursor_pixel) |
| Apply a masked-color cursor pixel into a captured RAM frame. | |
| void | platf::dxgi::blend_cursor (const cursor_t &cursor, img_t &img) |
| Blend the current cursor image into a RAM frame. | |
| void | platf::dxgi::blend_cursor_color (const cursor_t &cursor, img_t &img, const bool masked) |
| Blend a color cursor shape into a RAM frame. | |
| void | platf::dxgi::blend_cursor_monochrome (const cursor_t &cursor, img_t &img) |
| Blend a monochrome cursor shape into a RAM frame. | |
Definitions for handling ram.
| void platf::dxgi::apply_color_alpha | ( | int * | img_pixel_p, |
| int | cursor_pixel ) |
Alpha-blend a color cursor pixel into a captured RAM frame.
| img_pixel_p | Pixel in the destination frame. |
| cursor_pixel | ARGB cursor pixel to blend. |
| void platf::dxgi::apply_color_masked | ( | int * | img_pixel_p, |
| int | cursor_pixel ) |
Apply a masked-color cursor pixel into a captured RAM frame.
| img_pixel_p | Pixel in the destination frame. |
| cursor_pixel | ARGB cursor pixel with masked-cursor semantics. |
Blend the current cursor image into a RAM frame.
| cursor | Cursor image or visibility state to composite. |
| img | Image or frame object to read from or populate. |
Blend a color cursor shape into a RAM frame.
| cursor | Cursor image or visibility state to composite. |
| img | Image or frame object to read from or populate. |
| masked | Whether the cursor image uses an AND/XOR mask. |