Changeset 181 in 3DVCSoftware for branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon
- Timestamp:
- 14 Nov 2012, 17:23:56 (12 years ago)
- Location:
- branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComDataCU.cpp
r177 r181 163 163 m_apSegmentDCOffset[1] = NULL; 164 164 #endif 165 #if OL_DEPTHLIMIT_A0044166 //add a variable to store the partition information167 //a 2D array in part_symbol, uidepth format168 //initialize m_partInfo to OL_END_CU169 for (Int i=0; i < OL_PART_BUF_SIZE; i++)170 {171 for (Int j=0; j < 2; j++)172 {173 m_uiPartInfo[i][j] = OL_END_CU;174 }175 }176 #endif177 165 } 178 166 … … 507 495 Void TComDataCU::initCU( TComPic* pcPic, UInt iCUAddr ) 508 496 { 509 #if OL_DEPTHLIMIT_A0044510 TComDataCU* pcCU = pcPic->getCU(iCUAddr);511 #endif512 513 497 m_pcPic = pcPic; 514 498 m_pcSlice = pcPic->getSlice(pcPic->getCurrSliceIdx()); … … 740 724 m_apcCUColocated[1] = getSlice()->getRefPic( REF_PIC_LIST_1, 0)->getCU( m_uiCUAddr ); 741 725 } 742 #if OL_DEPTHLIMIT_A0044743 setPartDumpFlag (pcCU->getPartDumpFlag());744 #endif745 726 } 746 727 … … 1096 1077 memcpy(m_uiSliceStartCU,pcCU->m_uiSliceStartCU+uiPartOffset,sizeof(UInt)*m_uiNumPartition); 1097 1078 memcpy(m_uiEntropySliceStartCU,pcCU->m_uiEntropySliceStartCU+uiPartOffset,sizeof(UInt)*m_uiNumPartition); 1098 #if OL_DEPTHLIMIT_A00441099 setPartDumpFlag (pcCU->getPartDumpFlag());1100 #endif1101 1079 } 1102 1080 -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComDataCU.h
r177 r181 244 244 UInt* m_uiSliceStartCU; ///< Start CU address of current slice 245 245 UInt* m_uiEntropySliceStartCU; ///< Start CU address of current slice 246 247 #if OL_DEPTHLIMIT_A0044248 //add a variable to store the partition information249 //a 2D array in uidepth, part_symbol format250 UInt m_uiPartInfo[OL_PART_BUF_SIZE][2];251 UInt m_uiPartNum;252 Bool m_dumpPartInfo;253 #endif254 246 255 247 // ------------------------------------------------------------------------------------------------------------------- … … 624 616 625 617 Void compressMV (); 626 627 #if OL_DEPTHLIMIT_A0044628 Void resetPartInfo () {m_uiPartNum = 0;};629 Void incrementPartInfo () {m_uiPartNum ++;};630 Void updatePartInfo(UInt uiSymbol, UInt uiDepth) { m_uiPartInfo[m_uiPartNum][0] = uiSymbol; m_uiPartInfo[m_uiPartNum][1] = uiDepth;};631 UInt* readPartInfo() { return (UInt*)m_uiPartInfo;};632 Void setPartDumpFlag(Bool flag) { m_dumpPartInfo = flag; };633 Bool getPartDumpFlag() { return m_dumpPartInfo; };634 #endif635 618 636 619 // ------------------------------------------------------------------------------------------------------------------- -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComPic.cpp
r100 r181 81 81 m_aaiCodedScale = 0; 82 82 m_aaiCodedOffset = 0; 83 #if OL_QTLIMIT_PREDCODING_B0068 84 m_bReduceBitsQTL = 0; 85 #endif 83 86 } 84 87 -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComPic.h
r126 r181 113 113 Int** m_aaiCodedOffset; 114 114 115 #if OL_DEPTHLIMIT_A0044 116 UInt* m_texPartInfo; 117 UInt m_uiTexPartIndex; 115 #if OL_QTLIMIT_PREDCODING_B0068 116 Bool m_bReduceBitsQTL; 118 117 #endif 119 118 … … 179 178 Int getViewOrderIdx() { return m_iViewOrderIdx; } 180 179 #endif 180 181 #if OL_QTLIMIT_PREDCODING_B0068 182 Bool getReduceBitsFlag () { return m_bReduceBitsQTL; } 183 Void setReduceBitsFlag ( Bool bFlag ) { m_bReduceBitsQTL = bFlag; } 184 #endif 185 181 186 Void setScaleOffset( Int** pS, Int** pO ) { m_aaiCodedScale = pS; m_aaiCodedOffset = pO; } 182 187 Int** getCodedScale () { return m_aaiCodedScale; } … … 249 254 #endif 250 255 251 #if OL_DEPTHLIMIT_A0044252 UInt accessPartInfo ( UInt count ) { return m_texPartInfo[m_uiTexPartIndex + count]; };253 Void incrementTexPartIndex ( ) { m_uiTexPartIndex += 2; };254 UInt getTexPartIndex () { return m_uiTexPartIndex; };255 Void setTexPartIndex ( UInt idx ) { m_uiTexPartIndex = idx; };256 Void setPartInfo ( UInt* texPart) { m_texPartInfo = texPart; };257 #endif258 259 256 Bool getValidSlice (Int sliceID) {return m_pbValidSlice[sliceID];} 260 257 Int getSliceGranularityForNDBFilter () {return m_sliceGranularityForNDBFilter;} -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComSlice.cpp
r177 r181 1523 1523 , m_bUseDMM (false) 1524 1524 #endif 1525 #if OL_ DEPTHLIMIT_A00441526 , m_b DepthPartitionLimiting(false)1525 #if OL_QTLIMIT_PREDCODING_B0068 1526 , m_bUseQTLPC (false) 1527 1527 #endif 1528 1528 { -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TComSlice.h
r177 r181 363 363 #endif 364 364 365 #if OL_ DEPTHLIMIT_A0044366 Bool m_b DepthPartitionLimiting;365 #if OL_QTLIMIT_PREDCODING_B0068 366 Bool m_bUseQTLPC; 367 367 #endif 368 368 … … 643 643 #endif 644 644 645 #if OL_ DEPTHLIMIT_A0044646 Void setUse DPL(Bool b) {m_bDepthPartitionLimiting = b;}647 Bool getUse DPL() {return m_bDepthPartitionLimiting;}645 #if OL_QTLIMIT_PREDCODING_B0068 646 Void setUseQTLPC( Bool b ) { m_bUseQTLPC = b; } 647 Bool getUseQTLPC() { return m_bUseQTLPC; } 648 648 #endif 649 649 -
branches/HTM-4.1-dev2-Orange/source/Lib/TLibCommon/TypeDef.h
r177 r181 42 42 //! \{ 43 43 44 #define OL_QTLIMIT_PREDCODING_B0068 1 //JCT3V-B0068 45 44 46 #define MTK_UNCONSTRAINED_MVI 1 //JCT3V-B0083 45 47 … … 108 110 #define LGE_ILLUCOMP_B0045_ENCSIMP 1 109 111 #endif 110 #define LGE_CLEAN_UP 1111 112 #define OL_DEPTHLIMIT_A0044 1 //JCT2-A0044113 #if OL_DEPTHLIMIT_A0044114 #define OL_DO_NOT_LIMIT_INTRA_SLICES_PART 1 //Turn this on to not perform depth limiting for I-SLICES.115 #define OL_END_CU MAX_INT //Default for initializing the partition information buffer116 #define OL_PART_BUF_SIZE 86 //maximum number of possible partition bits in a CU117 #endif118 112 119 113 #define HHI_INTERVIEW_SKIP 1 … … 134 128 #endif 135 129 136 #define RWTH_SDC_DLT_B0036 1// JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table130 #define RWTH_SDC_DLT_B0036 0 // JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table 137 131 #if RWTH_SDC_DLT_B0036 138 132 #define Log2( n ) ( log((double)n) / log(2.0) )
Note: See TracChangeset for help on using the changeset viewer.