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

#include <ConversionMatrix.h>

Inheritance diagram for PrimaryToXYZ:
CMatrix< 3 > PrimaryToRGB

Public Member Functions

 PrimaryToXYZ (const float(&primaries)[3][2], const float(&whitepoint)[2])
 
 ~PrimaryToXYZ () override=default
 
- Public Member Functions inherited from CMatrix< 3 >
 CMatrix ()=default
 
 CMatrix (const CMatrix< Order - 1 > &other)
 
 CMatrix (const std::array< std::array< float, Order >, Order > &other)
 
 CMatrix (const std::array< std::array< float, Order - 1 >, Order - 1 > &other)
 
virtual ~CMatrix ()=default
 
virtual CMatrix operator* (const std::array< std::array< float, Order >, Order > &other)
 
CMatrix operator* (const CMatrix &other)
 
CMatrixoperator*= (const CMatrix &other)
 
CMatrixoperator= (const std::array< std::array< float, Order - 1 >, Order - 1 > &other)
 
bool operator== (const CMatrix< Order > &other) const
 
std::array< float, Order > & operator[] (int index)
 
const std::array< float, Order > & operator[] (int index) const
 
std::array< std::array< float, Order >, Order > & Get ()
 
const std::array< std::array< float, Order >, Order > & Get () const
 
CMatrixInvert ()
 
float * ToRaw ()
 

Protected Member Functions

 PrimaryToXYZ ()=default
 
float CalcBy (const float p[3][2], const float w[2])
 
float CalcGy (const float p[3][2], const float w[2], const float By)
 
float CalcRy (const float By, const float Gy)
 
- Protected Member Functions inherited from CMatrix< 3 >
std::array< std::array< float, Order >, Order > Invert (std::array< std::array< float, Order >, Order > &other) const
 

Additional Inherited Members

- Protected Attributes inherited from CMatrix< 3 >
std::array< std::array< float, Order >, Order > m_mat
 

Constructor & Destructor Documentation

◆ PrimaryToXYZ() [1/2]

PrimaryToXYZ::PrimaryToXYZ ( const float(&) primaries[3][2],
const float(&) whitepoint[2] )

◆ ~PrimaryToXYZ()

PrimaryToXYZ::~PrimaryToXYZ ( )
overridedefault

◆ PrimaryToXYZ() [2/2]

PrimaryToXYZ::PrimaryToXYZ ( )
protecteddefault

Member Function Documentation

◆ CalcBy()

float PrimaryToXYZ::CalcBy ( const float p[3][2],
const float w[2] )
protected

◆ CalcGy()

float PrimaryToXYZ::CalcGy ( const float p[3][2],
const float w[2],
const float By )
protected

◆ CalcRy()

float PrimaryToXYZ::CalcRy ( const float By,
const float Gy )
protected

The documentation for this class was generated from the following files: