#include <ColorManager.h>
◆ CColorManager()
CColorManager::CColorManager |
( |
| ) |
|
◆ ~CColorManager()
CColorManager::~CColorManager |
( |
| ) |
|
|
virtualdefault |
◆ CheckConfiguration()
bool CColorManager::CheckConfiguration |
( |
int | cmsToken, |
|
|
AVColorPrimaries | srcPrimaries ) |
Check if a 3D LUT is still valid.
- Parameters
-
cmsToken | pointer to a color manager configuration token |
srcPrimaries | video primaries (see AVColorPrimaries) |
- Returns
- true on valid, false if 3D LUT should be reloaded
◆ Get3dLutSize()
Get a 3D LUT dimension and data size for video color correction.
- Parameters
-
format | required format of CLUT data |
clutSize | pointer to CLUT resolution |
dataSize | pointer to CLUT data size |
- Returns
- true on success, false otherwise
◆ GetVideo3dLut()
bool CColorManager::GetVideo3dLut |
( |
AVColorPrimaries | srcPrimaries, |
|
|
int * | cmsToken, |
|
|
CMS_DATA_FORMAT | format, |
|
|
int | clutSize, |
|
|
uint16_t * | clutData ) |
Get a 3D LUT for video color correction.
- Parameters
-
srcPrimaries | video primaries (see AVColorPrimaries) |
cmsToken | pointer to a color manager configuration token |
format | of CLUT data |
clutSize | CLUT resolution |
clutData | pointer to CLUT data |
- Returns
- true on success, false otherwise
◆ IsEnabled()
bool CColorManager::IsEnabled |
( |
| ) |
const |
Check if user has requested color management.
- Returns
- true on enabled, false otherwise
◆ IsValid()
bool CColorManager::IsValid |
( |
| ) |
const |
Check if configuration of color management is valid.
- Returns
- true on valid, false otherwise
The documentation for this class was generated from the following files: