Changeset 1236 in 3DVCSoftware for branches/HTM-14.1-update-dev1-RWTH
- Timestamp:
- 27 May 2015, 20:01:35 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1-RWTH/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-RWTH/source/App/TAppEncoder/TAppEncTop.cpp
r1221 r1236 2484 2484 2485 2485 dlt.setUseBitmapRep(layer, bDltBitMapRepFlag); 2486 2487 //#ifdef DEBUG2488 // printf("---------------------------------------------\n");2489 // printf("LayerId: %d\n", layer);2490 // printf("getUseDLTFlag: %d\n", dlt.getUseDLTFlag(layer));2491 // printf("getInterViewDltPredEnableFlag: %d\n", dlt.getInterViewDltPredEnableFlag(layer));2492 // printf("getUseBitmapRep: %d\n", dlt.getUseBitmapRep(layer));2493 // printf("getNumDepthValues: %d\n", dlt.getNumDepthValues(layer));2494 // for(Int i=0; i<dlt.getNumDepthValues(layer); i++)2495 // printf("depthValue[%d] = %d\n", i, dlt.idx2DepthValue(layer, i));2496 //#endif2497 2486 } 2498 2487 } -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TypeDef.h
r1227 r1236 70 70 #define NH_3D_VSO 1 71 71 #define NH_3D_DMM 1 // Depth modeling modes 72 #define NH_3D_DLT 0// Depth Lookup Table72 #define NH_3D_DLT 1 // Depth Lookup Table 73 73 #define NH_3D_SDC_INTRA 1 // Segment-wise DC Coding method for INTRA 74 74 #define NH_3D_SDC_INTER 0 // Segment-wise DC Coding method for INTER -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1227 r1236 546 546 547 547 UInt uiNumDepthValues = 0; 548 std::vector<Int> aiIdx2DepthValue(256 );548 std::vector<Int> aiIdx2DepthValue(256, 0); 549 549 550 550 // Bit map … … 627 627 pcDLT->setDepthLUTs(layerId, aiIdx2DepthValue, uiNumDepthValues); 628 628 } 629 630 //#ifdef DEBUG631 // printf("---------------------------------------------\n");632 // printf("LayerId: %d\n", layerId);633 // printf("getUseDLTFlag: %d\n", pcDLT->getUseDLTFlag(layerId));634 // printf("getInterViewDltPredEnableFlag: %d\n", pcDLT->getInterViewDltPredEnableFlag(layerId));635 // printf("getUseBitmapRep: %d\n", pcDLT->getUseBitmapRep(layerId));636 // printf("getNumDepthValues: %d\n", pcDLT->getNumDepthValues(layerId));637 // for(Int i=0; i<pcDLT->getNumDepthValues(layerId); i++)638 // printf("depthValue[%d] = %d\n", i, pcDLT->idx2DepthValue(layerId, i));639 //#endif640 629 } 641 630 } -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp
r1227 r1236 3344 3344 #endif 3345 3345 #if NH_3D_ENC_DEPTH 3346 UInt zeroResiTest = (pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP()) ? 1 : 0;3346 Bool zeroResiTest = (pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP()); 3347 3347 #if NH_3D_SDC_INTRA 3348 3348 zeroResiTest |= pcCU->getSDCFlag(uiPartOffset); 3349 3349 if( uiSDC != 0 && iSDCDeltaResi != 0 ) 3350 3350 { 3351 zeroResiTest = 0;3351 zeroResiTest = false; 3352 3352 } 3353 3353 #endif 3354 for( UInt zeroResi = 0; zeroResi <= zeroResiTest ; zeroResi++ )3354 for( UInt zeroResi = 0; zeroResi <= zeroResiTest?1:0; zeroResi++ ) 3355 3355 { 3356 3356 #endif
Note: See TracChangeset for help on using the changeset viewer.