Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
OverlayRendererUtil.cpp File Reference

Namespaces

namespace  OVERLAY
 

Macros

#define clamp(x)
 

Functions

void OVERLAY::convert_rgba (const CDVDOverlayImage &o, bool mergealpha, std::vector< uint32_t > &rgba)
 
void OVERLAY::convert_rgba (const CDVDOverlaySpu &o, bool mergealpha, int &min_x, int &max_x, int &min_y, int &max_y, std::vector< uint32_t > &rgba)
 
bool OVERLAY::convert_quad (ASS_Image *images, SQuads &quads, int max_x)
 
int OVERLAY::GetStereoscopicDepth ()
 

Macro Definition Documentation

◆ clamp

#define clamp ( x)
Value:
(x) > 255.0 ? 255 : ((x) < 0.0 ? 0 : (int)(x + 0.5))
unsigned int(ATTR_APIENTRYP PFN_KODI_ADDON_VISUALIZATION_GET_PRESETS_V1)(const KODI_ADDON_VISUALIZATION_HDL hdl)
Definition kodi-dev-kit/include/kodi/c-api/addon-instance/visualization.h:73