VLC  3.0.21
Macros | Functions
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)   RGB2YUV( (rgb >> 16), ((rgb & 0xFF00) >> 8), (rgb & 0xFF) )
 

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)    RGB2YUV( (rgb >> 16), ((rgb & 0xFF00) >> 8), (rgb & 0xFF) )

◆ 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)

Function Documentation

◆ spuregion_CreateFromPicture()

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

◆ spuregion_CreateVGradientFill()

static void spuregion_CreateVGradientFill ( plane_t p,
uint8_t  i_splits 
)
inlinestatic

References p.

Referenced by vout_OSDBackground().

◆ spuregion_CreateVGradientPalette()

static void spuregion_CreateVGradientPalette ( video_palette_t p_palette,
uint8_t  i_splits,
uint32_t  argb1,
uint32_t  argb2 
)
inlinestatic
B
#define B(fcc, dsc)
Definition: fourcc_gen.c:38