Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::UTILS Namespace Reference

Namespaces

namespace  COLOR
 
namespace  EGL
 
namespace  FONT
 
namespace  GL
 
namespace  GUILIB
 
namespace  MOVING_SPEED
 
namespace  POSIX
 

Classes

class  CDisplayInfo
 
class  CScopeGuard
 Generic scopeguard designed to handle any type of handle. More...
 
struct  sortstringbyname
 
class  StringUtils
 

Enumerations

enum class  Eotf { TRADITIONAL_SDR , TRADITIONAL_HDR , PQ , HLG }
 
enum class  Colorimetry {
  DEFAULT , XVYCC_601 , XVYCC_709 , SYCC_601 ,
  OPYCC_601 , OPRGB , BT2020_CYCC , BT2020_YCC ,
  BT2020_RGB , ST2113_RGB , ICTCP
}
 

Functions

template<class TIterator >
void RandomShuffle (TIterator begin, TIterator end)
 
int compareWchar (const void *a, const void *b)
 
wchar_t tolowerUnicode (const wchar_t &c)
 
wchar_t toupperUnicode (const wchar_t &c)
 
template<typename Str , typename Fn >
void transformString (const Str &input, Str &output, Fn fn)
 
int IsUTF8Letter (const unsigned char *str)
 
template<typename T , std::enable_if_t<!std::is_enum_v< T >, int > = 0>
constexpr decltype(auto) EnumToInt (T &&arg) noexcept
 

Enumeration Type Documentation

◆ Colorimetry

enum class KODI::UTILS::Colorimetry
strong
Enumerator
DEFAULT 
XVYCC_601 
XVYCC_709 
SYCC_601 
OPYCC_601 
OPRGB 
BT2020_CYCC 
BT2020_YCC 
BT2020_RGB 
ST2113_RGB 
ICTCP 

◆ Eotf

enum class KODI::UTILS::Eotf
strong
Enumerator
TRADITIONAL_SDR 
TRADITIONAL_HDR 
PQ 
HLG 

Function Documentation

◆ compareWchar()

int KODI::UTILS::compareWchar ( const void * a,
const void * b )

◆ EnumToInt()

template<typename T , std::enable_if_t<!std::is_enum_v< T >, int > = 0>
decltype(auto) KODI::UTILS::EnumToInt ( T && arg)
constexprnoexcept

◆ IsUTF8Letter()

int KODI::UTILS::IsUTF8Letter ( const unsigned char * str)

◆ RandomShuffle()

template<class TIterator >
void KODI::UTILS::RandomShuffle ( TIterator begin,
TIterator end )

◆ tolowerUnicode()

wchar_t KODI::UTILS::tolowerUnicode ( const wchar_t & c)

◆ toupperUnicode()

wchar_t KODI::UTILS::toupperUnicode ( const wchar_t & c)

◆ transformString()

template<typename Str , typename Fn >
void KODI::UTILS::transformString ( const Str & input,
Str & output,
Fn fn )