VLC 4.0.0-dev
Loading...
Searching...
No Matches
vout_spuregion_helper.h File Reference
Include dependency graph for vout_spuregion_helper.h:

Go to the source code of this file.

Macros

#define RGB2YUV(R, G, B)
#define HEX2YUV(rgb)

Functions

static void spuregion_CreateVGradientPalette (video_palette_t *p_palette, uint8_t i_splits, uint32_t argb1, uint32_t argb2)
static void spuregion_CreateVGradientFill (plane_t *p, uint8_t i_splits)
static subpicture_region_tspuregion_CreateFromPicture (vlc_object_t *p_this, video_format_t *p_fmt, const char *psz_uri)

Macro Definition Documentation

◆ HEX2YUV

#define HEX2YUV ( rgb)
Value:
RGB2YUV( (rgb >> 16), ((rgb & 0xFF00) >> 8), (rgb & 0xFF) )
#define RGB2YUV(R, G, B)
Definition vout_spuregion_helper.h:23

Referenced by vout_OSDEpgSlider().

◆ RGB2YUV

#define RGB2YUV ( R,
G,
B )
Value:
((0.257 * R) + (0.504 * G) + (0.098 * B) + 16), \
(-(0.148 * R) - (0.291 * G) + (0.439 * B) + 128),\
((0.439 * R) - (0.368 * G) - (0.071 * B) + 128)
#define B(fcc, dsc)
Definition fourcc_gen.c:39

Referenced by spuregion_CreateVGradientPalette().

Function Documentation

◆ spuregion_CreateFromPicture()

subpicture_region_t * spuregion_CreateFromPicture ( vlc_object_t * p_this,
video_format_t * p_fmt,
const char * psz_uri )
inlinestatic

◆ spuregion_CreateVGradientFill()

void spuregion_CreateVGradientFill ( plane_t * p,
uint8_t i_splits )
inlinestatic

References p.

Referenced by vout_OSDBackground().

◆ spuregion_CreateVGradientPalette()

void spuregion_CreateVGradientPalette ( video_palette_t * p_palette,
uint8_t i_splits,
uint32_t argb1,
uint32_t argb2 )
inlinestatic