Initializes identity matrix.
Case 1: Matrix array operation
IppStatus ippmLoadIdentity_ma_32f(const Ipp32f* pDst, int dstStride0, int dstStride1, int dstStride2, int width, int height, int count);
IppStatus ippmLoadIdentity_ma_64f(const Ipp64f* pDst, int dstStride0, int dstStride1, int dstStride2, int width, int height, int count);
IppStatus ippmLoadIdentity_ma_32f_P(const Ipp32f** ppDst, int dstRoiShift, int dstStride2, int width, int height, int count);
IppStatus ippmLoadIdentity_ma_64f_P(const Ipp64f** ppDst, int dstRoiShift, int dstStride2, int width, int height, int count);
IppStatus ippmLoadIdentity_ma_32f_L(Ipp32f** ppDst, int dstRoiShift, int dstStride1, int dstStride2, int width, int height, int count);
IppStatus ippmLoadIdentity_ma_64f_L(Ipp64f** ppDst, int dstRoiShift, int dstStride1, int dstStride2, int width, int height, int count);
pDst, ppDst |
Pointer to the destination matrix or array of matrices. |
dstStride0 |
Stride between the matrices in the destination array. |
dstStride1 |
Stride between the rows in the destination matrix(ces). |
dstStride2 |
Stride between the elements in the destination matrix(ces). |
dstRoiShift |
ROI shift in the destination matrix. |
width |
Matrix width. |
height |
Matrix height. |
count |
Number of objects in the array. |
The function ippmLoadIdentity is declared in the ippm.h header file. The function loads an identity matrix and stores the result in the destination object.
The destination matrix has the number of columns equal to width and the number of rows equal to height.
ippStsOk |
Returns no error. |
ippStsNullPtrErr |
Returns an error when at least one input pointer is NULL. |
ippStsSizeErr |
Returns an error when the input size parameter is equal to 0. |
ippStsStrideMatrixErr |
Returns an error when the stride value is not positive or not divisible by size of data type. |
ippStsRoiShiftMatrixErr |
Returns an error when the roiShift value is negative or not divisible by size of data type. |
ippStsCountMatrixErr |
Returns an error when the count value is less or equal to zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.