Decoder application class.
More...
#include <list>
#include <vector>
#include <stdio.h>
#include <fcntl.h>
#include <assert.h>
#include "TAppDecTop.h"
#include "TLibDecoder/AnnexBread.h"
#include "TLibDecoder/NALread.h"
Go to the source code of this file.
static | Int |
|
return | YUVMat |
|
static | Void |
|
| matrixOffset [1] = offset1 |
|
static std::vector< Int > | initColourRemappingInfoLut (const Int bitDepth_in, const Int nbDecimalValues, const std::vector< SEIColourRemappingInfo::CRIlut > &lut, const Int maxValue, const Int lutOffset) |
|
static Void | initColourRemappingInfoLuts (std::vector< Int >(&preLut)[3], std::vector< Int >(&postLut)[3], SEIColourRemappingInfo &pCriSEI, const Int maxBitDepth) |
|
static Int | applyColourRemappingInfoLut1D (Int inVal, const std::vector< Int > &lut, const Int inValPrecisionBits) |
|
static Void | setColourRemappingInfoMatrixOffsets (Int(&matrixInputOffset)[3], Int(&matrixOutputOffset)[3], const Int bitDepth, const Bool crInputFullRangeFlag, const Int crInputMatrixCoefficients, const Bool crFullRangeFlag, const Int crMatrixCoefficients) |
|
Decoder application class.
Definition in file TAppDecTop.cpp.
static Int applyColourRemappingInfoLut1D |
( |
Int |
inVal, |
|
|
const std::vector< Int > & |
lut, |
|
|
const Int |
inValPrecisionBits |
|
) |
| |
|
static |
static Void setColourRemappingInfoMatrixOffsets |
( |
Int(&) |
matrixInputOffset[3], |
|
|
Int(&) |
matrixOutputOffset[3], |
|
|
const Int |
bitDepth, |
|
|
const Bool |
crInputFullRangeFlag, |
|
|
const Int |
crInputMatrixCoefficients, |
|
|
const Bool |
crFullRangeFlag, |
|
|
const Int |
crMatrixCoefficients |
|
) |
| |
|
static |
Initial value:{
Int YUVMat = (colourRemapCoeffs[0]* p0 + colourRemapCoeffs[1]* p1 + colourRemapCoeffs[2]* p2 + offset) >> postOffsetShift
Definition at line 768 of file TAppDecTop.cpp.
matrixOffset[2] = offset1 |