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

Namespaces

namespace  DisplayMetrics
 

Classes

class  DeviceResources
 
struct  SizeGen
 

Functions

virtual void OnDXDeviceRestored ()=0
 
const std::string DXGIFormatToString (const DXGI_FORMAT format)
 
const std::string DXGIColorSpaceTypeToString (DXGI_COLOR_SPACE_TYPE type)
 
const std::string D3D11VideoProcessorFormatSupportToString (D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT value)
 
void BreakIfFailed (HRESULT hr)
 
float ConvertDipsToPixels (float dips, float dpi)
 
float ConvertPixelsToDips (float pixels, float dpi)
 
float RationalToFloat (DXGI_RATIONAL rational)
 
void GetRefreshRatio (uint32_t refresh, uint32_t *num, uint32_t *den)
 
std::string GetFeatureLevelDescription (D3D_FEATURE_LEVEL featureLevel)
 
constexpr std::string_view GetGFXProviderName (UINT vendorId)
 
constexpr std::string_view DXGIFormatToShortString (const DXGI_FORMAT format)
 

Function Documentation

◆ BreakIfFailed()

void DX::BreakIfFailed ( HRESULT hr)
inline

◆ ConvertDipsToPixels()

float DX::ConvertDipsToPixels ( float dips,
float dpi )
inline

◆ ConvertPixelsToDips()

float DX::ConvertPixelsToDips ( float pixels,
float dpi )
inline

◆ D3D11VideoProcessorFormatSupportToString()

const std::string DX::D3D11VideoProcessorFormatSupportToString ( D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT value)

◆ DXGIColorSpaceTypeToString()

const std::string DX::DXGIColorSpaceTypeToString ( DXGI_COLOR_SPACE_TYPE type)

◆ DXGIFormatToShortString()

std::string_view DX::DXGIFormatToShortString ( const DXGI_FORMAT format)
constexpr

◆ DXGIFormatToString()

const std::string DX::DXGIFormatToString ( const DXGI_FORMAT format)

◆ GetFeatureLevelDescription()

std::string DX::GetFeatureLevelDescription ( D3D_FEATURE_LEVEL featureLevel)
inline

◆ GetGFXProviderName()

std::string_view DX::GetGFXProviderName ( UINT vendorId)
constexpr

◆ GetRefreshRatio()

void DX::GetRefreshRatio ( uint32_t refresh,
uint32_t * num,
uint32_t * den )
inline

◆ OnDXDeviceRestored()

virtual void DX::OnDXDeviceRestored ( )
pure virtual

◆ RationalToFloat()

float DX::RationalToFloat ( DXGI_RATIONAL rational)
inline