Changeset 412 in 3DVCSoftware for branches/HTM-6.2-dev2-MERL/source/App
- Timestamp:
- 16 May 2013, 16:05:31 (11 years ago)
- Location:
- branches/HTM-6.2-dev2-MERL/source/App
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev2-MERL/source/App/TAppDecoder/TAppDecTop.cpp
r296 r412 735 735 736 736 #if MERL_VSP_C0152 737 Void TAppDecTop::setBWVSPLUT(TComSlice* pcSlice, Int iCodedViewIdx, Int iCurPoc) 737 Void TAppDecTop::setBWVSPLUT( 738 #if MERL_VSP_NBDV_RefVId_Fix_D0166 739 Int iNeighborViewId, 740 #endif 741 TComSlice* pcSlice, Int iCodedViewIdx, Int iCurPoc) 742 738 743 { 739 744 //first view does not have VSP … … 742 747 AOT( iCodedViewIdx <= 0); 743 748 //AOT( iCodedViewIdx >= m_iNumberOfViews ); 749 #if !MERL_VSP_NBDV_RefVId_Fix_D0166 744 750 Int iNeighborViewId = 0; 751 #endif 745 752 // Int* piShiftLUT = bRenderFromLeft ? m_cCamParsCollector.getBaseViewShiftLUTI()[iCodedViewIdx][iNeighborViewId][0] : m_cCamParsCollector.getBaseViewShiftLUTI()[iNeighborViewId][iCodedViewIdx][0]; 746 753 Int* piShiftLUT = m_cCamParsCollector.getBaseViewShiftLUTI()[iNeighborViewId][iCodedViewIdx][0]; 754 #if MERL_VSP_NBDV_RefVId_Fix_D0166 755 pcSlice->setBWVSPLUTParam(piShiftLUT, 2-LOG2_DISP_PREC_LUT, iNeighborViewId ); 756 #else 747 757 pcSlice->setBWVSPLUTParam(piShiftLUT, 2-LOG2_DISP_PREC_LUT ); 758 #endif 748 759 } 749 760 #endif -
branches/HTM-6.2-dev2-MERL/source/App/TAppDecoder/TAppDecTop.h
r296 r412 113 113 114 114 #if MERL_VSP_C0152 115 #if MERL_VSP_NBDV_RefVId_Fix_D0166 116 Void setBWVSPLUT( Int iNeighborViewId, TComSlice* pcSlice, Int iCodedViewIdx, Int iCurPoc ); 117 #else 115 118 Void setBWVSPLUT( TComSlice* pcSlice, Int iCodedViewIdx, Int iCurPoc ); 119 #endif 116 120 #endif 117 121 -
branches/HTM-6.2-dev2-MERL/source/App/TAppEncoder/TAppEncTop.cpp
r402 r412 1097 1097 pEncSlice->setRefPicBaseTxt(pcBaseTxtPic); 1098 1098 pEncSlice->setRefPicBaseDepth(pcBaseDepthPic); 1099 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1100 for (Int refViewId=0; refViewId < iViewIdx; refViewId++ ) 1101 { 1102 pEncSlice->setListDepthPic(m_acTEncDepthTopList[refViewId]->getListPic(), refViewId ); // The list will store only the depth pictures 1103 setBWVSPLUT(refViewId, iViewIdx, gopId, false); 1104 } 1105 #endif 1099 1106 } 1107 #if !MERL_VSP_NBDV_RefVId_Fix_D0166 1100 1108 setBWVSPLUT( iViewIdx, gopId, false); 1109 #endif 1110 #endif 1111 1101 1112 #if MERL_VSP_C0152_BugFix_ForNoDepthCase 1102 1113 } … … 1113 1124 #endif 1114 1125 1115 #endif1116 1126 // call encoding function for one frame 1117 1127 m_acTEncTopList[iViewIdx]->encode( eos[iViewIdx], pcPicYuvOrg, *m_picYuvRec[iViewIdx], outputAccessUnits, iNumEncoded, gopId ); … … 1128 1138 TEncSlice* pcSlice = (TEncSlice*) m_acTEncDepthTopList[iViewIdx]->getSliceEncoder(); 1129 1139 pcSlice->setRefPicBaseDepth(pcBaseDepthPic); 1140 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1141 for (Int refViewId=0; refViewId < iViewIdx; refViewId++ ) 1142 { 1143 pcSlice->setListDepthPic(m_acTEncDepthTopList[refViewId]->getListPic(), refViewId ); // The list will store only the depth pictures 1144 setBWVSPLUT( refViewId, iViewIdx, gopId, true); 1145 } 1146 #endif 1130 1147 } 1148 #if !MERL_VSP_NBDV_RefVId_Fix_D0166 1131 1149 setBWVSPLUT( iViewIdx, gopId, true); 1150 #endif 1132 1151 #endif 1133 1152 … … 1646 1665 1647 1666 #if MERL_VSP_C0152 1648 Void TAppEncTop::setBWVSPLUT(Int iCodedViewIdx, Int gopId, Bool isDepth) 1667 1668 Void TAppEncTop::setBWVSPLUT( 1669 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1670 Int iNeighborViewId, 1671 #endif 1672 Int iCodedViewIdx, Int gopId, Bool isDepth) 1649 1673 { 1650 1674 //first view does not have VSP … … 1653 1677 AOT( iCodedViewIdx <= 0); 1654 1678 AOT( iCodedViewIdx >= m_iNumberOfViews ); 1655 1679 #if !MERL_VSP_NBDV_RefVId_Fix_D0166 1656 1680 Int iNeighborViewId = 0; 1681 #endif 1657 1682 //setting look-up table 1658 1683 Int* piShiftLUT = m_cCameraData.getBaseViewShiftLUTI()[iNeighborViewId][iCodedViewIdx][0]; … … 1661 1686 { 1662 1687 TEncSlice* pcEncSlice = (TEncSlice*) m_acTEncDepthTopList[iCodedViewIdx]->getSliceEncoder(); 1688 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1689 pcEncSlice->setBWVSPLUTParam( piShiftLUT, LOG2_DISP_PREC_LUT, iNeighborViewId ); 1690 #else 1663 1691 pcEncSlice->setBWVSPLUTParam( piShiftLUT, LOG2_DISP_PREC_LUT ); 1692 #endif 1664 1693 } 1665 1694 else 1666 1695 { 1667 1696 TEncSlice* pcEncSlice = (TEncSlice*) m_acTEncTopList[iCodedViewIdx]->getSliceEncoder(); 1697 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1698 pcEncSlice->setBWVSPLUTParam( piShiftLUT, LOG2_DISP_PREC_LUT, iNeighborViewId ); 1699 #else 1668 1700 pcEncSlice->setBWVSPLUTParam( piShiftLUT, LOG2_DISP_PREC_LUT ); 1701 #endif 1669 1702 } 1670 1703 -
branches/HTM-6.2-dev2-MERL/source/App/TAppEncoder/TAppEncTop.h
r296 r412 167 167 168 168 #if MERL_VSP_C0152 169 #if MERL_VSP_NBDV_RefVId_Fix_D0166 170 Void setBWVSPLUT( Int refViewIdx, Int iCodedViewIdx, Int gopId, Bool isDepth); 171 #else 169 172 Void setBWVSPLUT( Int iCodedViewIdx, Int gopId, Bool isDepth); 173 #endif 170 174 #endif 171 175 };// END CLASS DEFINITION TAppEncTop
Note: See TracChangeset for help on using the changeset viewer.