Changeset 100 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenImage.cpp
- Timestamp:
- 9 Aug 2012, 12:53:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenImage.cpp
r56 r100 106 106 } 107 107 108 #if HHI_VSO_SPEEDUP_A033 109 template<typename T> 110 Void TRenImage<T>::getDataAndStrides( T** pptData, Int* piStrides ) 111 { 112 for (UInt uiCurPlane = 0; uiCurPlane < m_uiNumberOfPlanes; uiCurPlane++ ) 113 { 114 piStrides[uiCurPlane] = m_apcPlanes[uiCurPlane]->getStride (); 115 pptData [uiCurPlane] = m_apcPlanes[uiCurPlane]->getPlaneData(); 116 } 117 } 118 119 120 template<typename T> 121 Void TRenImage<T>::getWidthAndHeight( Int* ppiWidths, Int* ppiHeights ) 122 { 123 for (UInt uiCurPlane = 0; uiCurPlane < m_uiNumberOfPlanes; uiCurPlane++ ) 124 { 125 ppiWidths [uiCurPlane] = m_apcPlanes[uiCurPlane]->getWidth (); 126 ppiHeights[uiCurPlane] = m_apcPlanes[uiCurPlane]->getHeight(); 127 } 128 } 129 #endif 130 108 131 template<typename T> 109 132 Void TRenImage<T>::allocatePlanes( UInt uiWidth, UInt uiHeight, UInt uiNumberOfFullPlanes, UInt uiNumberOfQuaterPlanes )
Note: See TracChangeset for help on using the changeset viewer.