Changeset 826 in 3DVCSoftware for branches/HTM-9.3-dev0/source/Lib/TLibDecoder
- Timestamp:
- 5 Feb 2014, 18:55:49 (11 years ago)
- Location:
- branches/HTM-9.3-dev0/source/Lib/TLibDecoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev0/source/Lib/TLibDecoder/TDecCu.cpp
r820 r826 415 415 UInt uiMergeIndex = pcCU->getMergeIndex(uiAbsPartIdx); 416 416 417 #if !SEC_IC_ARP_SIG_G0072 417 418 #if H_3D_IC 418 419 m_pcEntropyDecoder->decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 419 420 #endif 421 #endif 420 422 #if H_3D_ARP 421 423 m_pcEntropyDecoder->decodeARPW( pcCU , uiAbsPartIdx , uiDepth ); 424 #endif 425 #if SEC_IC_ARP_SIG_G0072 426 #if H_3D_IC 427 m_pcEntropyDecoder->decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 428 #endif 422 429 #endif 423 430 -
branches/HTM-9.3-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
r820 r826 111 111 pcCU->setICFlagSubParts( false , uiAbsPartIdx, 0, uiDepth ); 112 112 113 #if SEC_IC_ARP_SIG_G0072 114 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() || pcCU->getARPW( uiAbsPartIdx ) > 0 ) 115 #else 113 116 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() ) 117 #endif 114 118 { 115 119 return; … … 268 272 decodeMergeIndex( pcCU, uiPartIdx, uiSubPartIdx, uiDepth ); 269 273 UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx); 274 #if !SEC_IC_ARP_SIG_G0072 270 275 #if H_3D_IC 271 276 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 272 277 #endif 278 #endif 273 279 #if H_3D_ARP 274 280 decodeARPW ( pcCU, uiAbsPartIdx, uiDepth ); 281 #endif 282 #if SEC_IC_ARP_SIG_G0072 283 #if H_3D_IC 284 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 285 #endif 275 286 #endif 276 287 #if H_3D_DBBP … … 429 440 } 430 441 } 442 #if !SEC_IC_ARP_SIG_G0072 431 443 #if H_3D_IC 432 444 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 433 445 #endif 446 #endif 434 447 #if H_3D_ARP 435 448 decodeARPW ( pcCU, uiAbsPartIdx, uiDepth ); 449 #endif 450 #if SEC_IC_ARP_SIG_G0072 451 #if H_3D_IC 452 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 453 #endif 436 454 #endif 437 455 } -
branches/HTM-9.3-dev0/source/Lib/TLibDecoder/TDecSbac.cpp
r820 r826 793 793 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA); 794 794 795 #if MTK_TEX_DEP_PAR_G0055 796 Bool depthDependent = false; 797 UInt uiTexturePart = uiMode; 798 #endif 795 799 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) 796 800 { 797 801 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr()); 798 802 assert(pcTextureCU->getDepth(uiAbsPartIdx) >= uiDepth); 803 #if !MTK_TEX_DEP_PAR_G0055 799 804 if (pcTextureCU->getDepth(uiAbsPartIdx) == uiDepth && pcTextureCU->getPartitionSize( uiAbsPartIdx ) != SIZE_NxN) 805 #else 806 if(pcTextureCU->getDepth(uiAbsPartIdx) == uiDepth ) 807 { 808 depthDependent = true; 809 uiTexturePart = pcTextureCU->getPartitionSize( uiAbsPartIdx ); 810 } 811 if (pcTextureCU->getDepth(uiAbsPartIdx) == uiDepth && pcTextureCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N) 812 #endif 800 813 { 801 814 bParsePartSize = false; … … 842 855 if(bParsePartSize) 843 856 { 857 #endif 858 #if MTK_TEX_DEP_PAR_G0055 859 if (depthDependent==false || uiTexturePart == SIZE_NxN|| uiTexturePart == SIZE_2Nx2N) 860 { 844 861 #endif 845 862 UInt uiMaxNumBits = 2; … … 879 896 } 880 897 } 898 #if MTK_TEX_DEP_PAR_G0055 899 } 900 else if(uiTexturePart == SIZE_2NxN || uiTexturePart == SIZE_2NxnU || uiTexturePart == SIZE_2NxnD) 901 { 902 UInt uiMaxNumBits = 1; 903 if ( pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) ) 904 { 905 uiMaxNumBits ++; 906 } 907 for ( UInt ui = 0; ui < uiMaxNumBits; ui++ ) 908 { 909 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUPartSizeSCModel.get( 0, 0, ui) ); 910 if ( uiSymbol ) 911 { 912 break; 913 } 914 uiMode++; 915 } 916 eMode = (PartSize) uiMode; 917 if(uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) && uiSymbol==1 ) 918 { 919 eMode = SIZE_2NxN; 920 } 921 else if (uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth )==0 && uiSymbol==0) 922 { 923 eMode = SIZE_2NxN; 924 } 925 else if (uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) && uiSymbol==0) 926 { 927 m_pcTDecBinIf->decodeBinEP(uiSymbol); 928 eMode = (uiSymbol == 0? SIZE_2NxnU : SIZE_2NxnD); 929 } 930 } 931 else if(uiTexturePart == SIZE_Nx2N|| uiTexturePart==SIZE_nLx2N || uiTexturePart==SIZE_nRx2N) 932 { 933 UInt uiMaxNumBits = 1; 934 if ( pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) ) 935 { 936 uiMaxNumBits ++; 937 } 938 for ( UInt ui = 0; ui < uiMaxNumBits; ui++ ) 939 { 940 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUPartSizeSCModel.get( 0, 0, ui) ); 941 if ( uiSymbol ) 942 { 943 break; 944 } 945 uiMode++; 946 } 947 eMode = (PartSize) uiMode; 948 if(uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) && uiSymbol==1 ) 949 { 950 eMode = SIZE_Nx2N; 951 } 952 else if (uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth )==0 && uiSymbol==0) 953 { 954 eMode = SIZE_Nx2N; 955 } 956 else if (uiMode && pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) && uiSymbol==0) 957 { 958 m_pcTDecBinIf->decodeBinEP(uiSymbol); 959 eMode = (uiSymbol == 0? SIZE_nLx2N : SIZE_nRx2N); 960 } 961 } 962 else 963 assert(0); 964 #endif 881 965 #if H_MV_ENC_DEC_TRAC 882 966 DTRACE_CU("part_mode", eMode ) … … 2067 2151 if( 1 == uiW ) 2068 2152 { 2153 #if MTK_ARP_FLAG_CABAC_SIMP_G0061 2154 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 2 ) ); 2155 #else 2069 2156 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 3 ) ); 2157 #endif 2070 2158 uiW += ( 1 == uiCode ? 1 : 0 ); 2071 2159 } … … 2087 2175 { 2088 2176 UInt uiSymbol = 0; 2177 #if MTK_IC_FLAG_CABAC_SIMP_G0061 2178 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) ); 2179 #else 2089 2180 UInt uiCtxIC = pcCU->getCtxICFlag( uiAbsPartIdx ); 2090 2181 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, uiCtxIC ) ); 2182 #endif 2091 2183 #if !H_MV_ENC_DEC_TRAC 2092 2184 DTRACE_CABAC_VL( g_nSymbolCounter++ );
Note: See TracChangeset for help on using the changeset viewer.