Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibDecoder/TDecSlice.cpp
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibDecoder/TDecSlice.cpp
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 37 37 38 38 #include "TDecSlice.h" 39 #include "TDecConformance.h" 39 40 40 41 //! \ingroup TLibDecoder … … 61 62 } 62 63 63 Void TDecSlice::init(TDecEntropy* pcEntropyDecoder, TDecCu* pcCuDecoder )64 Void TDecSlice::init(TDecEntropy* pcEntropyDecoder, TDecCu* pcCuDecoder, TDecConformanceCheck *pDecConformanceCheck) 64 65 { 65 66 m_pcEntropyDecoder = pcEntropyDecoder; 66 67 m_pcCuDecoder = pcCuDecoder; 68 m_pDecConformanceCheck = pDecConformanceCheck; 67 69 } 68 70 … … 130 132 } 131 133 } 132 #if NH_3D _DLT134 #if NH_3D 133 135 if( pcSlice->getPPS()->getDLT() != NULL ) 134 136 { … … 186 188 #endif 187 189 190 #if DECODER_PARTIAL_CONFORMANCE_CHECK != 0 191 const UInt numRemainingBitsPriorToCtu=ppcSubstreams[uiSubStrm]->getNumBitsLeft(); 192 #endif 193 188 194 if ( pcSlice->getSPS()->getUseSAO() ) 189 195 { … … 224 230 225 231 m_pcCuDecoder->decodeCtu ( pCtu, isLastCtuOfSliceSegment ); 232 233 #if DECODER_PARTIAL_CONFORMANCE_CHECK != 0 234 const UInt numRemainingBitsPostCtu=ppcSubstreams[uiSubStrm]->getNumBitsLeft(); // NOTE: Does not account for changes in buffered bits in CABAC decoder, although it's probably good enough. 235 if (TDecConformanceCheck::doChecking() && m_pDecConformanceCheck) 236 { 237 m_pDecConformanceCheck->checkCtuDecoding(numRemainingBitsPriorToCtu-numRemainingBitsPostCtu); 238 } 239 #endif 240 226 241 m_pcCuDecoder->decompressCtu ( pCtu ); 227 242
Note: See TracChangeset for help on using the changeset viewer.