Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

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.