HEVC Test Model (HM)
HM-16.18
|
SCALING_LIST class. More...
#include <TComSlice.h>
Public Member Functions | |
virtual | ~TComScalingList () |
Int * | getScalingListAddress (UInt sizeId, UInt listId) |
get matrix coefficient More... | |
const Int * | getScalingListAddress (UInt sizeId, UInt listId) const |
get matrix coefficient More... | |
Void | setRefMatrixId (UInt sizeId, UInt listId, UInt u) |
set reference matrix ID More... | |
UInt | getRefMatrixId (UInt sizeId, UInt listId) const |
get reference matrix ID More... | |
Void | setScalingListDC (UInt sizeId, UInt listId, UInt u) |
set DC value More... | |
Int | getScalingListDC (UInt sizeId, UInt listId) const |
get DC value More... | |
Void | setScalingListPredModeFlag (UInt sizeId, UInt listId, Bool bIsDPCM) |
Bool | getScalingListPredModeFlag (UInt sizeId, UInt listId) const |
Private Attributes | |
Bool | m_scalingListPredModeFlagIsDPCM [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM] |
reference list index More... | |
Int | m_scalingListDC [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM] |
the DC value of the matrix coefficient for 16x16 More... | |
UInt | m_refMatrixId [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM] |
RefMatrixID. More... | |
std::vector< Int > | m_scalingListCoef [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM] |
quantization matrix More... | |
TComScalingList () | |
Void | checkPredMode (UInt sizeId, UInt listId) |
const Int * | getScalingListDefaultAddress (UInt sizeId, UInt listId) |
get default matrix coefficient More... | |
Void | processDefaultMatrix (UInt sizeId, UInt listId) |
Void | checkDcOfMatrix () |
Void | processRefMatrix (UInt sizeId, UInt listId, UInt refListId) |
Bool | xParseScalingList (const std::string &fileName) |
Void | setDefaultScalingList () |
Bool | checkDefaultScalingList () |
Void | outputScalingLists (std::ostream &os) const |
SCALING_LIST class.
Definition at line 150 of file TComSlice.h.
TComScalingList::TComScalingList | ( | ) |
Definition at line 1783 of file TComSlice.cpp.
|
inlinevirtual |
Definition at line 154 of file TComSlice.h.
Void TComScalingList::checkDcOfMatrix | ( | ) |
check DC value of matrix for default matrix signaling
Definition at line 2077 of file TComSlice.cpp.
Bool TComScalingList::checkDefaultScalingList | ( | ) |
check if use default quantization matrix
Definition at line 1809 of file TComSlice.cpp.
Definition at line 1838 of file TComSlice.cpp.
get reference matrix ID
Definition at line 160 of file TComSlice.h.
get matrix coefficient
Definition at line 155 of file TComSlice.h.
get matrix coefficient
Definition at line 156 of file TComSlice.h.
get DC value
Definition at line 166 of file TComSlice.h.
get default matrix coefficient
get default address of quantization matrix
sizeId | size index |
listId | list index |
Definition at line 2044 of file TComSlice.cpp.
Definition at line 169 of file TComSlice.h.
|
private |
Definition at line 1886 of file TComSlice.cpp.
process of default matrix
sizeId | size index |
listId | index of input matrix |
Definition at line 2069 of file TComSlice.cpp.
get scaling matrix from RefMatrixID
sizeId | size index |
listId | index of input matrix |
refListId | index of reference matrix |
Definition at line 1833 of file TComSlice.cpp.
Void TComScalingList::setDefaultScalingList | ( | ) |
set default quantization matrix to array
Definition at line 1796 of file TComSlice.cpp.
set reference matrix ID
Definition at line 159 of file TComSlice.h.
set DC value
Definition at line 165 of file TComSlice.h.
Definition at line 168 of file TComSlice.h.
Bool TComScalingList::xParseScalingList | ( | const std::string & | fileName | ) |
Definition at line 1915 of file TComSlice.cpp.
|
private |
RefMatrixID.
Definition at line 181 of file TComSlice.h.
|
private |
quantization matrix
Definition at line 182 of file TComSlice.h.
|
private |
the DC value of the matrix coefficient for 16x16
Definition at line 180 of file TComSlice.h.
|
private |
reference list index
Definition at line 179 of file TComSlice.h.