Changeset 162 in 3DVCSoftware
- Timestamp:
- 1 Nov 2012, 10:30:40 (12 years ago)
- Location:
- branches/HTM-4.1-dev1-LG/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev1-LG/source/App/TAppRenderer/TAppRendererCfg.cpp
r100 r162 120 120 121 121 /* File I/O */ 122 ("VideoInputFileBaseName ", m_pchVideoInputFileBaseName, (Char*) 0, "Basename to generate video input file names")123 ("DepthInputFileBaseName ", m_pchDepthInputFileBaseName, (Char*) 0, "Basename to generate depth input file names")124 ("SynthOutputFileBaseName ", m_pchSynthOutputFileBaseName, (Char*) 0, "Basename to generate synthesized output file names")122 ("VideoInputFileBaseName,v", m_pchVideoInputFileBaseName, (Char*) 0, "Basename to generate video input file names") 123 ("DepthInputFileBaseName,d", m_pchDepthInputFileBaseName, (Char*) 0, "Basename to generate depth input file names") 124 ("SynthOutputFileBaseName,s", m_pchSynthOutputFileBaseName, (Char*) 0, "Basename to generate synthesized output file names") 125 125 ("ContOutputFileNumbering", m_bContOutputFileNumbering , false , "Continuous Output File Numbering") 126 126 ("Sweep" , m_bSweep , false , "Store all views in first Output File") … … 137 137 138 138 /* Camera Specification */ 139 ("CameraParameterFile, cpf", m_pchCameraParameterFile, (Char *) 0, "Camera Parameter File Name")139 ("CameraParameterFile,-cpf", m_pchCameraParameterFile, (Char *) 0, "Camera Parameter File Name") 140 140 ("BaseViewCameraNumbers" , m_pchBaseViewCameraNumbers, (Char *) 0, "Numbers of base views") 141 141 ("SynthViewCameraNumbers" , m_pchSynthViewCameraNumbers, (Char *) 0, "Numbers of views to synthesis") -
branches/HTM-4.1-dev1-LG/source/Lib/TLibCommon/TComDataCU.cpp
r154 r162 4807 4807 UInt uiNumPartInCUWidth = m_pcPic->getNumPartInWidth(); 4808 4808 4809 Int aiDvMcpDvCand[2][7] = {{0,}, {0,}}; // dummy, 5 spatial + 1 temporal, DV-MCP ÁÖº¯ ºúÓ°¿¡¼ »ç¿E ÈDV¸¦ ÀúÀE4809 Int aiDvMcpDvCand[2][7] = {{0,}, {0,}}; // dummy, 5 spatial + 1 temporal, DV-MCP ÁÖº¯ ºúÓ°¿¡¼ »ç¿E?DV¸¦ ÀúÀE 4810 4810 Bool abDvMcpFlag [2][7] = {{false,},{false,}}; 4811 4811 //Int aiRefPOC [2][7] = {{-1,},{-1}}; // debug … … 4813 4813 Bool bTmpIsSkipped = false; 4814 4814 Bool bDvMcpIsFound = false; 4815 #if LGE_DVMCP_MEM_REDUCTION_B0135 4816 Int iLCUAddrDiff = 0; 4817 #endif 4815 4818 4816 4819 deriveLeftRightTopIdxGeneral( eCUMode, uiPartAddr, uiPartIdx, uiPartIdxLT, uiPartIdxRT ); … … 4878 4881 if(pcTmpCU != NULL && !pcTmpCU->isIntra( uiIdx )) 4879 4882 { 4883 #if LGE_DVMCP_MEM_REDUCTION_B0135 4884 iLCUAddrDiff = getAddr() - pcTmpCU->getAddr(); 4885 #endif 4880 4886 bTmpIsSkipped = pcTmpCU->isSkipped( uiIdx ); 4881 4887 for(Int iList = 0; iList < (getSlice()->isInterB() ? 2: 1); iList ++) … … 4894 4900 return; 4895 4901 } 4902 #if LGE_DVMCP_MEM_REDUCTION_B0135 4903 else if(iLCUAddrDiff == 0) //MCP, within same LCU 4904 #else 4896 4905 else // MCP 4906 #endif 4897 4907 { 4898 4908 cTmpMvPred = pcTmpCU->getCUMvField(eRefPicList)->getMv(uiIdx); … … 4915 4925 if(pcTmpCU != NULL && !pcTmpCU->isIntra( uiIdx ) ) 4916 4926 { 4927 #if LGE_DVMCP_MEM_REDUCTION_B0135 4928 iLCUAddrDiff = getAddr() - pcTmpCU->getAddr(); 4929 #endif 4917 4930 bTmpIsSkipped = pcTmpCU->isSkipped( uiIdx ); 4918 4931 for(Int iList = 0; iList < (getSlice()->isInterB() ? 2: 1); iList ++) … … 4931 4944 return; 4932 4945 } 4946 #if LGE_DVMCP_MEM_REDUCTION_B0135 4947 else if(iLCUAddrDiff == 0) 4948 #else 4933 4949 else // MCP 4950 #endif 4934 4951 { 4935 4952 cTmpMvPred = pcTmpCU->getCUMvField(eRefPicList)->getMv(uiIdx); … … 4991 5008 if(pcTmpCU != NULL && !pcTmpCU->isIntra( uiIdx )) 4992 5009 { 5010 #if LGE_DVMCP_MEM_REDUCTION_B0135 5011 iLCUAddrDiff = getAddr() - pcTmpCU->getAddr(); 5012 #endif 4993 5013 bTmpIsSkipped = pcTmpCU->isSkipped( uiIdx ); 4994 5014 for(Int iList = 0; iList < (getSlice()->isInterB() ? 2: 1); iList ++) … … 5007 5027 return; 5008 5028 } 5029 #if LGE_DVMCP_MEM_REDUCTION_B0135 5030 else if(iLCUAddrDiff <= 1) 5031 #else 5009 5032 else // MCP 5033 #endif 5010 5034 { 5011 5035 cTmpMvPred = pcTmpCU->getCUMvField(eRefPicList)->getMv(uiIdx); … … 5520 5544 if ( uiLCUIdx >= 0 && xGetColMVP( eRefPicList, uiLCUIdx, uiAbsPartAddr, cColMv, iRefIdx_Col ) ) 5521 5545 { 5546 #if FIX_LGE_DVMCP_B0133 5547 cColMv.m_bDvMcp = false; 5548 #endif 5522 5549 pInfo->m_acMvCand[pInfo->iN++] = cColMv; 5523 5550 } … … 5529 5556 if (xGetColMVP( eRefPicList, uiCurLCUIdx, uiPartIdxCenter, cColMv, iRefIdx_Col )) 5530 5557 { 5558 #if FIX_LGE_DVMCP_B0133 5559 cColMv.m_bDvMcp = false; 5560 #endif 5531 5561 pInfo->m_acMvCand[pInfo->iN++] = cColMv; 5532 5562 } -
branches/HTM-4.1-dev1-LG/source/Lib/TLibCommon/TypeDef.h
r154 r162 90 90 #define DVFROM_COL 6 91 91 #endif 92 #define FIX_LGE_DVMCP_B0133 1 93 #define LGE_DVMCP_MEM_REDUCTION_B0135 1 92 94 93 95
Note: See TracChangeset for help on using the changeset viewer.