Changeset 876 in 3DVCSoftware for branches/HTM-10.1-dev0/source/Lib/TLibEncoder
- Timestamp:
- 27 Mar 2014, 18:52:26 (11 years ago)
- Location:
- branches/HTM-10.1-dev0/source/Lib/TLibEncoder
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
r872 r876 1705 1705 WRITE_FLAG( pcVPS->getIvMvPredFlag ( i ) ? 1 : 0 , "iv_mv_pred_flag[i]"); 1706 1706 #if H_3D_SPIVMP 1707 #if SEC_SPIVMP_MCP_SIZE_G00771708 1707 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-3, "log2_sub_PU_size_minus3[i]"); 1709 #else1710 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-2, "log2_sub_PU_size_minus2[i]");1711 #endif1712 1708 #endif 1713 1709 #endif … … 1734 1730 if (i!=1) 1735 1731 { 1736 #if SEC_SPIVMP_MCP_SIZE_G00771737 1732 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-3, "log2_sub_PU_size_minus3[i]"); 1738 #else1739 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-2, "log2_sub_PU_size_minus2[i]");1740 #endif1741 1733 } 1742 1734 #endif … … 1771 1763 } 1772 1764 } 1773 #if QC_SPIVMP_MPI_G01191774 1765 WRITE_UVLC( pcVPS->getSubPUMPILog2Size( ) - 3, "log2_sub_PU_MPI_size_minus3"); 1775 #endif1776 1766 #if H_3D_TMVP 1777 1767 WRITE_FLAG( pcVPS->getIvMvScalingFlag( ) ? 1 : 0 , "iv_mv_scaling_flag" ); -
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncCfg.h
r872 r876 397 397 #if H_3D_SPIVMP 398 398 Int m_iSubPULog2Size; 399 #endif400 #if QC_SPIVMP_MPI_G0119401 399 Int m_iSubPUMPILog2Size; 402 400 #endif … … 507 505 Int getSubPULog2Size () { return m_iSubPULog2Size;} 508 506 Void setSubPULog2Size (Int u) { m_iSubPULog2Size = u; } 509 #endif510 #if QC_SPIVMP_MPI_G0119511 507 Int getSubPUMPILog2Size () { return m_iSubPUMPILog2Size;} 512 508 Void setSubPUMPILog2Size (Int u) { m_iSubPUMPILog2Size = u; } -
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncCu.cpp
r872 r876 582 582 if (rpcTempCU->getSlice()->getIsDepth() ) 583 583 { 584 #if SEC_DEPTH_DV_DERIVAITON_G0074585 584 DvInfo.bDV = rpcTempCU->getDispforDepth(0, 0, &DvInfo); 586 #else587 DvInfo.bDV = rpcTempCU->getDispNeighBlocks(0, 0, &DvInfo);588 #endif589 585 } 590 586 else … … 1533 1529 #endif 1534 1530 m_pcEntropyCoder->encodeMergeIndex( pcCU, uiAbsPartIdx ); 1535 #if !SEC_IC_ARP_SIG_G0072 1531 #if H_3D_ARP 1532 m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx ); 1533 #endif 1536 1534 #if H_3D_IC 1537 1535 m_pcEntropyCoder->encodeICFlag ( pcCU, uiAbsPartIdx ); 1538 #endif1539 #endif1540 #if H_3D_ARP1541 m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx );1542 #endif1543 #if SEC_IC_ARP_SIG_G00721544 #if H_3D_IC1545 m_pcEntropyCoder->encodeICFlag ( pcCU, uiAbsPartIdx );1546 #endif1547 1536 #endif 1548 1537 finishCU(pcCU,uiAbsPartIdx,uiDepth); … … 1570 1559 // prediction Info ( Intra : direction mode, Inter : Mv, reference idx ) 1571 1560 m_pcEntropyCoder->encodePredInfo( pcCU, uiAbsPartIdx ); 1572 #if !SEC_IC_ARP_SIG_G0072 1561 1562 #if H_3D_ARP 1563 m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx ); 1564 #endif 1573 1565 #if H_3D_IC 1574 1566 m_pcEntropyCoder->encodeICFlag ( pcCU, uiAbsPartIdx ); 1575 #endif1576 #endif1577 #if H_3D_ARP1578 m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx );1579 #endif1580 #if SEC_IC_ARP_SIG_G00721581 #if H_3D_IC1582 m_pcEntropyCoder->encodeICFlag ( pcCU, uiAbsPartIdx );1583 #endif1584 1567 #endif 1585 1568 #if H_3D_INTER_SDC && !QC_SDC_UNIFY_G0130 … … 1809 1792 #if H_3D_ARP 1810 1793 Int nARPWMax = rpcTempCU->getSlice()->getARPStepNum() - 1; 1811 #if SEC_IC_ARP_SIG_G00721812 1794 if( nARPWMax < 0 || !rpcTempCU->getDvInfo(0).bDV || bICFlag ) 1813 #else1814 if( nARPWMax < 0 || !rpcTempCU->getDvInfo(0).bDV )1815 #endif1816 1795 { 1817 1796 nARPWMax = 0; … … 2157 2136 Int nARPWMax = rpcTempCU->getSlice()->getARPStepNum() - 1; 2158 2137 2159 #if SEC_IC_ARP_SIG_G00722160 2138 if( nARPWMax < 0 || ePartSize != SIZE_2Nx2N || !rpcTempCU->getDvInfo(0).bDV || rpcTempCU->getICFlag(0) ) 2161 #else2162 if( nARPWMax < 0 || ePartSize != SIZE_2Nx2N || !rpcTempCU->getDvInfo(0).bDV )2163 #endif2164 2139 { 2165 2140 nARPWMax = 0; -
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
r872 r876 151 151 Void TEncEntropy::encodeICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 152 152 { 153 #if SEC_IC_ARP_SIG_G0072154 153 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() || pcCU->getARPW( uiAbsPartIdx ) > 0 ) 155 #else156 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() )157 #endif158 154 { 159 155 return; -
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncSbac.cpp
r872 r876 1050 1050 if( nBinNum > 1 ) 1051 1051 { 1052 #if MTK_ARP_FLAG_CABAC_SIMP_G00611053 1052 m_pcBinIf->encodeBin( ( iW == iMaxW ) ? 1 : 0, m_cCUPUARPWSCModel.get( 0, 0, 2 ) ); 1054 #else1055 m_pcBinIf->encodeBin( ( iW == iMaxW ) ? 1 : 0, m_cCUPUARPWSCModel.get( 0, 0, 3 ) );1056 #endif1057 1053 } 1058 1054 #if H_MV_ENC_DEC_TRAC … … 1072 1068 // get context function is here 1073 1069 UInt uiSymbol = pcCU->getICFlag( uiAbsPartIdx ) ? 1 : 0; 1074 #if MTK_IC_FLAG_CABAC_SIMP_G00611075 1070 m_pcBinIf->encodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) ); 1076 #else1077 UInt uiCtxIC = pcCU->getCtxICFlag( uiAbsPartIdx ) ;1078 m_pcBinIf->encodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, uiCtxIC ) );1079 #endif1080 1071 #if !H_MV_ENC_DEC_TRAC 1081 1072 DTRACE_CABAC_VL( g_nSymbolCounter++ ); 1082 1073 DTRACE_CABAC_T( "\tICFlag" ); 1083 DTRACE_CABAC_T( "\tuiCtxIC: ");1084 DTRACE_CABAC_V( uiCtxIC );1085 1074 DTRACE_CABAC_T( "\tuiSymbol: "); 1086 1075 DTRACE_CABAC_V( uiSymbol ); -
branches/HTM-10.1-dev0/source/Lib/TLibEncoder/TEncSearch.cpp
r872 r876 5616 5616 m_pcEntropyCoder->encodeSkipFlag(pcCU, 0, true); 5617 5617 m_pcEntropyCoder->encodeMergeIndex( pcCU, 0, true ); 5618 #if !SEC_IC_ARP_SIG_G0072 5618 #if H_3D_ARP 5619 m_pcEntropyCoder->encodeARPW( pcCU, 0 ); 5620 #endif 5619 5621 #if H_3D_IC 5620 5622 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true ); 5621 #endif5622 #endif5623 #if H_3D_ARP5624 m_pcEntropyCoder->encodeARPW( pcCU, 0 );5625 #endif5626 #if SEC_IC_ARP_SIG_G00725627 #if H_3D_IC5628 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true );5629 #endif5630 5623 #endif 5631 5624 uiBits = m_pcEntropyCoder->getNumberOfWrittenBits(); … … 7176 7169 m_pcEntropyCoder->encodeSkipFlag(pcCU, 0, true); 7177 7170 m_pcEntropyCoder->encodeMergeIndex(pcCU, 0, true); 7178 #if !SEC_IC_ARP_SIG_G0072 7171 #if H_3D_ARP 7172 m_pcEntropyCoder->encodeARPW( pcCU, 0 ); 7173 #endif 7179 7174 #if H_3D_IC 7180 7175 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true ); 7181 #endif7182 #endif7183 #if H_3D_ARP7184 m_pcEntropyCoder->encodeARPW( pcCU, 0 );7185 #endif7186 #if SEC_IC_ARP_SIG_G00727187 #if H_3D_IC7188 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true );7189 #endif7190 7176 #endif 7191 7177 ruiBits += m_pcEntropyCoder->getNumberOfWrittenBits(); … … 7205 7191 #endif 7206 7192 m_pcEntropyCoder->encodePredInfo( pcCU, 0, true ); 7207 #if !SEC_IC_ARP_SIG_G0072 7193 #if H_3D_ARP 7194 m_pcEntropyCoder->encodeARPW( pcCU , 0 ); 7195 #endif 7208 7196 #if H_3D_IC 7209 7197 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true ); 7210 #endif7211 #endif7212 #if H_3D_ARP7213 m_pcEntropyCoder->encodeARPW( pcCU , 0 );7214 #endif7215 #if SEC_IC_ARP_SIG_G00727216 #if H_3D_IC7217 m_pcEntropyCoder->encodeICFlag( pcCU, 0, true );7218 #endif7219 7198 #endif 7220 7199 #if H_3D_INTER_SDC && !QC_SDC_UNIFY_G0130
Note: See TracChangeset for help on using the changeset viewer.