Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019

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 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.

Return Values

Shifted pointer.