Changeset 1236 in 3DVCSoftware


Ignore:
Timestamp:
27 May 2015, 20:01:35 (9 years ago)
Author:
rwth
Message:
  • re-activated DLT (to be tested)
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  
    24842484     
    24852485      dlt.setUseBitmapRep(layer, bDltBitMapRepFlag);
    2486      
    2487 //#ifdef DEBUG
    2488 //      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 //#endif
    24972486    }
    24982487  }
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TypeDef.h

    r1227 r1236  
    7070#define NH_3D_VSO                         1
    7171#define NH_3D_DMM                         1   // Depth modeling modes
    72 #define NH_3D_DLT                         0   // Depth Lookup Table
     72#define NH_3D_DLT                         1   // Depth Lookup Table
    7373#define NH_3D_SDC_INTRA                   1   // Segment-wise DC Coding method for INTRA
    7474#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  
    546546       
    547547        UInt uiNumDepthValues = 0;
    548         std::vector<Int> aiIdx2DepthValue(256);
     548        std::vector<Int> aiIdx2DepthValue(256, 0);
    549549       
    550550        // Bit map
     
    627627          pcDLT->setDepthLUTs(layerId, aiIdx2DepthValue, uiNumDepthValues);
    628628        }
    629        
    630 //#ifdef DEBUG
    631 //        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 //#endif
    640629      }
    641630    }
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp

    r1227 r1236  
    33443344#endif
    33453345#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());
    33473347#if NH_3D_SDC_INTRA
    33483348          zeroResiTest |= pcCU->getSDCFlag(uiPartOffset);
    33493349          if( uiSDC != 0 && iSDCDeltaResi != 0 )
    33503350          {
    3351             zeroResiTest = 0;
     3351            zeroResiTest = false;
    33523352          }
    33533353#endif
    3354           for( UInt zeroResi = 0; zeroResi <= zeroResiTest; zeroResi++ )
     3354          for( UInt zeroResi = 0; zeroResi <= zeroResiTest?1:0; zeroResi++ )
    33553355          {
    33563356#endif
Note: See TracChangeset for help on using the changeset viewer.