Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019
static IW_INLINE const void* iwiShiftPtrConst(
const void *pPtr,
IwSize step,
int typeSize,
int channels,
IwSize y,
IwSize x
)
{
return (((const Ipp8u*)pPtr) + step*y + typeSize*channels*x);
}
Original pointer.
Image step.
Size of the image type returned by iwTypeToLen.
Number of channels in the image.
Y shift, as rows.
X shift, as columns.
This function shifts the pointer to specific pixel coordinates for a read-only image.
Shifted pointer.