Ignore:
Timestamp:
11 May 2012, 21:20:17 (13 years ago)
Author:
hschwarz
Message:

updated trunk (move to HM6.1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibRenderer/TRenImagePlane.cpp

    r5 r56  
    3333
    3434
    35 
    3635#include "TRenImagePlane.h"
    3736#include "TRenFilter.h"
     37#include <string.h>
    3838/////// TRenImagePlane ///////
    3939
     
    8080
    8181template<typename T>
    82 Void TRenImagePlane<T>::setData( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ )
     82Void TRenImagePlane<T>::setData( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ ) 
    8383{
    8484  deleteData();
     
    492492  for ( Int iPosY = 0; iPosY < iPad; iPosY++ )
    493493  {
    494     ::memcpy( pcData + (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );
     494    memcpy( pcData + (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );
    495495  }
    496496
     
    498498  for ( Int iPosY = 0; iPosY < iPad; iPosY++ )
    499499  {
    500     ::memcpy( pcData - (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );
     500    memcpy( pcData - (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );
    501501  }
    502502}
Note: See TracChangeset for help on using the changeset viewer.