Changeset 958 in 3DVCSoftware
- Timestamp:
- 8 May 2014, 23:04:15 (11 years ago)
- Location:
- branches/HTM-11.0-dev0-Qualcomm/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.0-dev0-Qualcomm/source/Lib/TLibCommon/TypeDef.h
r956 r958 359 359 #define MPI_SUBPU_DEFAULT_MV_H0077_H0099_H0111_H0133 1 360 360 #endif 361 362 #define H0044_POC_LSB_NOT_PRESENT 1 ///< JCT3V-H0044: Add constraint checking on the value of poc_reset_idc and poc_lsb_val 363 361 364 ///////////////////////////////////////////////////////////////////////////////////////// 362 365 /////////////////////////////////// TBD ////////////////////////////// -
branches/HTM-11.0-dev0-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.cpp
r950 r958 1944 1944 } 1945 1945 1946 #if H0044_POC_LSB_NOT_PRESENT 1947 UInt slicePicOrderCntLsb = 0; 1948 #endif 1949 1946 1950 if(!rpcSlice->getDependentSliceSegmentFlag()) 1947 1951 { … … 1994 1998 1995 1999 #if H_MV 2000 #if !H0044_POC_LSB_NOT_PRESENT 1996 2001 UInt slicePicOrderCntLsb = 0; 2002 #endif 1997 2003 Int iPOClsb = slicePicOrderCntLsb; // Needed later 1998 2004 if ( (rpcSlice->getLayerId() > 0 && !vps->getPocLsbNotPresentFlag( rpcSlice->getLayerIdInVps())) || !rpcSlice->getIdrPicFlag() ) … … 2579 2585 } 2580 2586 2587 #if H0044_POC_LSB_NOT_PRESENT 2588 if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && slicePicOrderCntLsb > 0 ) 2589 { 2590 assert( rpcSlice->getPocResetIdc() != 2 ); 2591 } 2592 #endif 2581 2593 if( rpcSlice->getPocResetIdc() != 0 ) 2582 2594 { … … 2593 2605 READ_FLAG( uiCode, "full_poc_reset_flag" ); rpcSlice->setFullPocResetFlag( uiCode == 1 ); 2594 2606 READ_CODE( rpcSlice->getPocLsbValLen() , uiCode, "poc_lsb_val" ); rpcSlice->setPocLsbVal( uiCode ); 2607 #if H0044_POC_LSB_NOT_PRESENT 2608 if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && rpcSlice->getFullPocResetFlag() ) 2609 { 2610 assert( rpcSlice->getPocLsbVal() == 0 ); 2611 } 2612 #endif 2595 2613 } 2596 2614
Note: See TracChangeset for help on using the changeset viewer.