Malloc

Memory allocation

Synopsis

Fw8u *   fwiMalloc_8u_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw8u *   fwiMalloc_8u_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw8u *   fwiMalloc_8u_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw8u *   fwiMalloc_8u_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw8u *   fwiMalloc_8u_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16u *   fwiMalloc_16u_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16u *   fwiMalloc_16u_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16u *   fwiMalloc_16u_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16u *   fwiMalloc_16u_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16u *   fwiMalloc_16u_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16s*   fwiMalloc_16s_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16s*   fwiMalloc_16s_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16s*   fwiMalloc_16s_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16s*   fwiMalloc_16s_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw16s*   fwiMalloc_16s_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32s*   fwiMalloc_32s_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32s*   fwiMalloc_32s_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32s*   fwiMalloc_32s_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32s*   fwiMalloc_32s_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32s*   fwiMalloc_32s_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32f*   fwiMalloc_32f_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32f*   fwiMalloc_32f_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32f*   fwiMalloc_32f_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32f*   fwiMalloc_32f_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32f*   fwiMalloc_32f_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32sc*   fwiMalloc_32sc_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32sc*   fwiMalloc_32sc_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32sc*   fwiMalloc_32sc_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32sc*   fwiMalloc_32sc_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32sc*   fwiMalloc_32sc_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32fc*   fwiMalloc_32fc_C1 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32fc*   fwiMalloc_32fc_C2 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32fc*   fwiMalloc_32fc_C3 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32fc*   fwiMalloc_32fc_C4 ( int widthPixelsint heightPixelsint * pStepBytes );
Fw32fc*   fwiMalloc_32fc_AC4 ( int widthPixelsint heightPixelsint * pStepBytes );

Parameters

heightPixels   Height of an image (number of pixels in one column of image).
pStepBytes   Pointer to the step size, in bytes.
widthPixels   Width of an image (number of pixels in one row of image).

Description

These functions allocate memory for image processing. Every row is aligned to 32-bit boundaries. Zero-padding is used to force alignment.