HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SEIEncoder.cpp File Reference
#include "TLibCommon/CommonDef.h"
#include "TLibCommon/SEI.h"
#include "TEncGOP.h"
#include "TEncTop.h"
Include dependency graph for SEIEncoder.cpp:

Go to the source code of this file.

Functions

template<typename T >
static Void readTokenValue (T &returnedValue, Bool &failed, std::istream &is, const TChar *pToken)
 token string More...
 
template<typename T >
static Void readTokenValueAndValidate (T &returnedValue, Bool &failed, std::istream &is, const TChar *pToken, const T &minInclusive, const T &maxInclusive)
 maximum value allowed, inclusive More...
 
static Void readTokenValueAndValidate (Bool &returnedValue, Bool &failed, std::istream &is, const TChar *pToken)
 token string More...
 
template<typename T >
static Void readTokenValue (std::vector< T > &returnedValue, Bool &failed, std::istream &is, const TChar *pToken, const UInt &numValues)
 Num of values to be read in array. More...
 
template<typename T >
static Void readTokenValueAndValidate (std::vector< T > &returnedValue, Bool &failed, std::istream &is, const TChar *pToken, const T &minInclusive, const T &maxInclusive, const UInt &numValues)
 

Function Documentation

template<typename T >
static Void readTokenValue ( T &  returnedValue,
Bool failed,
std::istream &  is,
const TChar pToken 
)
static

token string

Parameters
failedvalue returned
isused and updated
pTokenstream to read token from

Definition at line 584 of file SEIEncoder.cpp.

template<typename T >
static Void readTokenValue ( std::vector< T > &  returnedValue,
Bool failed,
std::istream &  is,
const TChar pToken,
const UInt numValues 
)
static

Num of values to be read in array.

Parameters
failedvalue returned
isused and updated
pTokenstream to read token from
numValuestoken string

Definition at line 662 of file SEIEncoder.cpp.

template<typename T >
static Void readTokenValueAndValidate ( T &  returnedValue,
Bool failed,
std::istream &  is,
const TChar pToken,
const T &  minInclusive,
const T &  maxInclusive 
)
static

maximum value allowed, inclusive

Parameters
failedvalue returned
isused and updated
pTokenstream to read token from
minInclusivetoken string
maxInclusiveminimum value allowed, inclusive

Definition at line 633 of file SEIEncoder.cpp.

static Void readTokenValueAndValidate ( Bool returnedValue,
Bool failed,
std::istream &  is,
const TChar pToken 
)
static

token string

Parameters
failedvalue returned
isused and updated
pTokenstream to read token from

Definition at line 652 of file SEIEncoder.cpp.

template<typename T >
static Void readTokenValueAndValidate ( std::vector< T > &  returnedValue,
Bool failed,
std::istream &  is,
const TChar pToken,
const T &  minInclusive,
const T &  maxInclusive,
const UInt numValues 
)
static
Parameters
failedvalue returned
isused and updated
pTokenstream to read token from
minInclusivetoken string
maxInclusiveminimum value allowed, inclusive
numValuesmaximum value allowed, inclusive

Definition at line 715 of file SEIEncoder.cpp.