Visible to Intel only — GUID: GUID-234BA4AA-5617-4B75-96FF-BC34087429F3
iwiShiftPtrConst
Syntax
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);
}
Parameters
- pPtr
-
Original pointer.
- step
-
Image step.
- typeSize
-
Size of the image type returned by iwTypeToLen.
- channels
-
Number of channels in the image.
- y
-
Y shift, as rows.
- x
-
X shift, as columns.
Description
This function shifts the pointer to specific pixel coordinates for a read-only image.
Return Values
Shifted pointer.
Parent topic: Utility Functions