Changeset 690 in 3DVCSoftware for branches/HTM-8.2-dev2-LG/source/Lib/TLibCommon
- Timestamp:
- 13 Nov 2013, 02:24:21 (11 years ago)
- Location:
- branches/HTM-8.2-dev2-LG/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev2-LG/source/Lib/TLibCommon/TComDataCU.cpp
r683 r690 3526 3526 Bool bDepthIPMCAvai = false; 3527 3527 #endif 3528 3529 #if LGE_SHARP_VSP_INHERIT_F0104 3530 #if H_3D_IC 3531 Bool bICFlag = getICFlag(uiAbsPartIdx); 3532 #endif 3533 #if H_3D_ARP 3534 Bool bARPFlag = getARPW(uiAbsPartIdx)>0 ? true : false; 3535 #endif 3536 #endif 3537 3528 3538 #if H_3D_IV_MERGE 3529 3539 … … 3747 3757 #endif 3748 3758 #if H_3D_VSP 3749 if (pcCULeft->getVSPFlag(uiLeftPartIdx) == 1) 3759 if (pcCULeft->getVSPFlag(uiLeftPartIdx) == 1 3760 #if LGE_SHARP_VSP_INHERIT_F0104 3761 #if H_3D_IC 3762 && !bICFlag 3763 #endif 3764 #if H_3D_ARP 3765 && !bARPFlag 3766 #endif 3767 #endif 3768 ) 3750 3769 { 3751 3770 vspFlag[iCount] = 1; … … 3835 3854 #if H_3D_VSP 3836 3855 #if MTK_VSP_SIMPLIFICATION_F0111 3837 if ( ( ( getAddr() - pcCUAbove->getAddr() ) == 0) && (pcCUAbove->getVSPFlag(uiAbovePartIdx) == 1) ) 3856 if ( ( ( getAddr() - pcCUAbove->getAddr() ) == 0) && (pcCUAbove->getVSPFlag(uiAbovePartIdx) == 1) 3857 #if LGE_SHARP_VSP_INHERIT_F0104 3858 #if H_3D_IC 3859 && !bICFlag 3860 #endif 3861 #if H_3D_ARP 3862 && !bARPFlag 3863 #endif 3864 #endif 3865 ) 3838 3866 #else 3839 if (pcCUAbove->getVSPFlag(uiAbovePartIdx) == 1) 3867 if (pcCUAbove->getVSPFlag(uiAbovePartIdx) == 1 3868 #if LGE_SHARP_VSP_INHERIT_F0104 3869 #if H_3D_IC 3870 && !bICFlag 3871 #endif 3872 #if H_3D_ARP 3873 && !bARPFlag 3874 #endif 3875 #endif 3876 ) 3840 3877 #endif 3841 3878 { … … 3897 3934 #if H_3D_VSP 3898 3935 #if MTK_VSP_SIMPLIFICATION_F0111 3899 if ( ( ( getAddr() - pcCUAboveRight->getAddr() ) == 0) && (pcCUAboveRight->getVSPFlag(uiAboveRightPartIdx) == 1) ) 3936 if ( ( ( getAddr() - pcCUAboveRight->getAddr() ) == 0) && (pcCUAboveRight->getVSPFlag(uiAboveRightPartIdx) == 1) 3937 #if LGE_SHARP_VSP_INHERIT_F0104 3938 #if H_3D_IC 3939 && !bICFlag 3940 #endif 3941 #if H_3D_ARP 3942 && !bARPFlag 3943 #endif 3944 #endif 3945 ) 3900 3946 #else 3901 if (pcCUAboveRight->getVSPFlag(uiAboveRightPartIdx) == 1) 3947 if (pcCUAboveRight->getVSPFlag(uiAboveRightPartIdx) == 1 3948 #if LGE_SHARP_VSP_INHERIT_F0104 3949 #if H_3D_IC 3950 && !bICFlag 3951 #endif 3952 #if H_3D_ARP 3953 && !bARPFlag 3954 #endif 3955 #endif 3956 ) 3902 3957 #endif 3903 3958 { … … 3983 4038 ///////////////////////////////////////////////// 3984 4039 3985 if ( xAddVspCand( mrgCandIdx, &cDisInfo, iCount, abCandIsInter, pcMvFieldNeighbours, puhInterDirNeighbours, vspFlag ) ) 4040 if ( 4041 #if LGE_SHARP_VSP_INHERIT_F0104 4042 #if H_3D_IC 4043 !bICFlag && 4044 #endif 4045 #if H_3D_ARP 4046 !bARPFlag && 4047 #endif 4048 #endif 4049 xAddVspCand( mrgCandIdx, &cDisInfo, iCount, abCandIsInter, pcMvFieldNeighbours, puhInterDirNeighbours, vspFlag ) ) 3986 4050 { 3987 4051 return; … … 4023 4087 #endif 4024 4088 #if H_3D_VSP 4025 if (pcCULeftBottom->getVSPFlag(uiLeftBottomPartIdx) == 1) 4089 if (pcCULeftBottom->getVSPFlag(uiLeftBottomPartIdx) == 1 4090 #if LGE_SHARP_VSP_INHERIT_F0104 4091 #if H_3D_IC 4092 && !bICFlag 4093 #endif 4094 #if H_3D_ARP 4095 && !bARPFlag 4096 #endif 4097 #endif 4098 ) 4026 4099 { 4027 4100 vspFlag[iCount] = 1; … … 4075 4148 #if H_3D_VSP 4076 4149 #if MTK_VSP_SIMPLIFICATION_F0111 4077 if ( ( ( getAddr() - pcCUAboveLeft->getAddr() ) == 0) && (pcCUAboveLeft->getVSPFlag(uiAboveLeftPartIdx) == 1) ) 4150 if ( ( ( getAddr() - pcCUAboveLeft->getAddr() ) == 0) && (pcCUAboveLeft->getVSPFlag(uiAboveLeftPartIdx) == 1) 4151 #if LGE_SHARP_VSP_INHERIT_F0104 4152 #if H_3D_IC 4153 && !bICFlag 4154 #endif 4155 #if H_3D_ARP 4156 && !bARPFlag 4157 #endif 4158 #endif 4159 ) 4078 4160 #else 4079 if (pcCUAboveLeft->getVSPFlag(uiAboveLeftPartIdx) == 1) 4161 if (pcCUAboveLeft->getVSPFlag(uiAboveLeftPartIdx) == 1 4162 #if LGE_SHARP_VSP_INHERIT_F0104 4163 #if H_3D_IC 4164 && !bICFlag 4165 #endif 4166 #if H_3D_ARP 4167 && !bARPFlag 4168 #endif 4169 #endif 4170 ) 4080 4171 #endif 4081 4172 { -
branches/HTM-8.2-dev2-LG/source/Lib/TLibCommon/TypeDef.h
r683 r690 233 233 #endif 234 234 #define MTK_VSP_SIMPLIFICATION_F0111 1 // 1. Inherited VSP also use NBDV of current CU, 2. VSP cannot be inherited from above LCU rowss 235 #define LGE_SHARP_VSP_INHERIT_F0104 1 235 236 #endif 236 237
Note: See TracChangeset for help on using the changeset viewer.