38 #ifndef __TDECCONFORMANCE__
39 #define __TDECCONFORMANCE__
42 #ifndef DECODER_PARTIAL_CONFORMANCE_CHECK
43 #define DECODER_PARTIAL_CONFORMANCE_CHECK 0
50 #endif // _MSC_VER > 1000
55 #if DECODER_PARTIAL_CONFORMANCE_CHECK == 2
164 #if DECODER_PARTIAL_CONFORMANCE_CHECK
165 UInt m_numberOfSlicesInPicture;
183 #if DECODER_PARTIAL_CONFORMANCE_CHECK == 0
184 static inline std::ostream &
getStream() {
return std::cout; }
196 #if DECODER_PARTIAL_CONFORMANCE_CHECK == 1
197 std::cout <<
"WARNING: Conformance failure - ";
200 std::cerr <<
"ERROR: Conformance failure - ";
207 #if DECODER_PARTIAL_CONFORMANCE_CHECK == 2
213 static Void checkRange(
const T& val,
const TChar *name,
const T& minValInclusive,
const T& maxValInclusive)
215 if (val<minValInclusive || val>maxValInclusive)
217 getStream() << name <<
" must be in the range of " << minValInclusive <<
" to " << maxValInclusive <<
" (inclusive) - decoded value of " << val <<
"\n";
229 #if DECODER_PARTIAL_CONFORMANCE_CHECK == 0
245 const Bool bFirstSliceInStream,
246 const Bool bFirstSliceInSequence,
247 const Bool bFirstSliceInPicture);
258 fprintf(stderr,
"TMCTS check error: %s\n", error);
TRISTATE generalLowerBitRateConstraint
TRISTATE chromaQpOffsetListEnabledFlag
picture class (symbol + YUV buffers)
Defines version information, constants and small in-line functions.
const LevelTierFeatures * getLevelTierFeatures() const
const LevelTierFeatures * m_pLevelTier
TRISTATE extendedPrecisionProcessingFlag
UInt maxSliceSegmentsPerPicture
Bool generalIntraConstraintFlag
TRISTATE cabacBypassAlignmentEnabledFlag
UInt64 getCpbSizeInBits() const
ChromaFormat maxChromaFormat
UInt getHbrFactor(Bool bLowerBitRateConstraintFlag) const
Void activate(const TComSPS &sps)
const ProfileFeatures * m_pProfile
Level::Tier getTier() const
ProfileLevelTierFeatures()
Bool chromaFormatValid(ChromaFormat chFmt) const
Bool generalOnePictureOnlyConstraintFlag
Bool bWavefrontsAndTilesCanBeUsedSimultaneously
HBRFACTOREQN hbrFactorEqn
const LevelTierFeatures * pLevelTiersListInfo
ChromaFormat
chroma formats (according to semantics of chroma_format_idc)
Bool onlyIRAPPictures() const
UInt formatCapabilityFactorx1000
UInt minCrBase[Level::NUMBER_OF_TIERS]
unsigned long long UInt64
UInt getMaxRawCtuBits() const
UInt getMaxPicHeightInLumaSamples() const
UInt getMaxPicWidthInLumaSamples() const
UInt maxCpb[Level::NUMBER_OF_TIERS]
UInt maxBr[Level::NUMBER_OF_TIERS]
const TChar * pNameString
const ProfileFeatures * getProfileFeatures() const
TRISTATE generalRExtToolsEnabled
UInt minTileColumnWidthInLumaSamples
UInt minTileRowHeightInLumaSamples