Changeset 1114 in 3DVCSoftware
- Timestamp:
- 7 Nov 2014, 17:32:36 (10 years ago)
- Location:
- branches/HTM-12.2-dev1-Hisilicon
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibCommon/TComDataCU.cpp
r1084 r1114 6118 6118 } 6119 6119 break; 6120 #if !SINGLE_DEPTH_SIMP_J0115 6120 6121 case 2: // Above 6121 6122 if(yP != 0) … … 6139 6140 } 6140 6141 break; 6142 #endif 6141 6143 default: 6142 6144 break; -
branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibCommon/TypeDef.h
r1099 r1114 294 294 #if H_3D_SINGLE_DEPTH 295 295 #define SINGLE_DEPTH_MODE_CAND_LIST_SIZE 2 // size of the sample candidate list 296 #define SINGLE_DEPTH_SIMP_J0115 1 296 297 #endif 297 298 -
branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibDecoder/TDecCu.cpp
r1084 r1114 735 735 //construction of depth candidates 736 736 Pel testDepth; 737 #if SINGLE_DEPTH_SIMP_J0115 738 Pel DepthNeighbours[2]; 739 #else 737 740 Pel DepthNeighbours[5]; 741 #endif 738 742 Int index =0; 743 #if SINGLE_DEPTH_SIMP_J0115 744 for( Int i = 0; (i < 2) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 745 #else 739 746 for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 747 #endif 740 748 { 741 749 if(!pcCU->getNeighDepth (0, uiAbsPartIdx, &testDepth, i)) … … 745 753 DepthNeighbours[index]=testDepth; 746 754 index++; 755 #if !SINGLE_DEPTH_SIMP_J0115 747 756 for(Int j=0;j<index-1;j++) 748 757 { … … 753 762 } 754 763 } 764 #endif 755 765 } 756 766 -
branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r1084 r1114 2881 2881 Int index=0; 2882 2882 Pel testDepth; 2883 #if SINGLE_DEPTH_SIMP_J0115 2884 Pel DepthNeighbours[2]; 2885 #else 2883 2886 Pel DepthNeighbours[5]; 2887 #endif 2884 2888 //construction of depth candidates 2889 #if SINGLE_DEPTH_SIMP_J0115 2890 for( Int i = 0; (i < 2) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 2891 #else 2885 2892 for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 2893 #endif 2886 2894 { 2887 2895 if(!pcCU->getNeighDepth (0, 0, &testDepth, i)) … … 2891 2899 DepthNeighbours[index]=testDepth; 2892 2900 index++; 2901 #if !SINGLE_DEPTH_SIMP_J0115 2893 2902 for(Int j=0;j<index-1;j++) 2894 2903 { … … 2899 2908 } 2900 2909 } 2910 #endif 2901 2911 } 2902 2912
Note: See TracChangeset for help on using the changeset viewer.