#97481 - omaremad - Thu Aug 10, 2006 2:39 am
memcpy(m_pWater2, m_pWater1, m_iWidth*m_iHeight*sizeof(float));
memcpy(m_pWater1, m_pWater, m_iWidth*m_iHeight*sizeof(float));
memset(m_pWater, 0, m_iWidth*m_iHeight*sizeof(float));
ok here is a bit of pc code i would like to optimise using the DMA
I used dmacopy but the values dont get copied and stay 0.
Do i need to setup other registers before the copy.
memcpy(m_pWater1, m_pWater, m_iWidth*m_iHeight*sizeof(float));
memset(m_pWater, 0, m_iWidth*m_iHeight*sizeof(float));
ok here is a bit of pc code i would like to optimise using the DMA
I used dmacopy but the values dont get copied and stay 0.
Do i need to setup other registers before the copy.