UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
splashscreen.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEADER_PIXEL(data, pixel)
 

Variables

static const char *const splash_data
 
static const unsigned int splash_height = 512
 
static const unsigned int splash_width = 512
 

Macro Definition Documentation

◆ HEADER_PIXEL

#define HEADER_PIXEL ( data,
pixel )
Value:
{\
pixel[0] = (((data[0] - 33) << 2) | ((data[1] - 33) >> 4)); \
pixel[1] = ((((data[1] - 33) & 0xF) << 4) | ((data[2] - 33) >> 2)); \
pixel[2] = ((((data[2] - 33) & 0x3) << 6) | ((data[3] - 33))); \
data += 4; \
}

Definition at line 8 of file splashscreen.h.

8#define HEADER_PIXEL(data,pixel) {\
9pixel[0] = (((data[0] - 33) << 2) | ((data[1] - 33) >> 4)); \
10pixel[1] = ((((data[1] - 33) & 0xF) << 4) | ((data[2] - 33) >> 2)); \
11pixel[2] = ((((data[2] - 33) & 0x3) << 6) | ((data[3] - 33))); \
12data += 4; \
13}

Referenced by get_splashscreen().

Variable Documentation

◆ splash_data

const char* const splash_data
static

Definition at line 14 of file splashscreen.h.

Referenced by get_splashscreen().

◆ splash_height

const unsigned int splash_height = 512
static

Definition at line 4 of file splashscreen.h.

Referenced by get_splashscreen().

◆ splash_width

const unsigned int splash_width = 512
static

Definition at line 3 of file splashscreen.h.

Referenced by get_splashscreen().