iwiShiftPtr
iwiShiftPtr
Syntax
static IW_INLINE void* iwShiftPtr(
const void *pPtr,
IwSize step,
int typeSize,
int channels,
IwSize y,
IwSize x
);
Parameters
- pPtr
- Original pointer.
- step
- Image step.
- typeSize
- Size of the image type returned byiwTypeToLen.
- 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.
Return Values
Shifted pointer.