Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub

Old deprecated functions for image resizing. More...

Functions

SIMD_API SIMD_DEPRECATED void SimdResizeBilinear (const uint8_t *src, size_t srcWidth, size_t srcHeight, size_t srcStride, uint8_t *dst, size_t dstWidth, size_t dstHeight, size_t dstStride, size_t channelCount)
 Performs resizing of input image with using bilinear interpolation. More...
 
template<template< class > class A>
SIMD_DEPRECATED SIMD_INLINE void ResizeBilinear (const View< A > &src, View< A > &dst)
 Performs resizing of input image with using bilinear interpolation. More...
 
template<template< class > class A>
SIMD_DEPRECATED SIMD_INLINE void ResizeAreaGray (const View< A > &src, View< A > &dst)
 Performs resizing of input image with using area interpolation. More...
 
template<template< class > class A>
SIMD_DEPRECATED SIMD_INLINE void ResizeArea (const View< A > &src, View< A > &dst)
 Performs resizing of input image with using area interpolation. More...
 

Detailed Description

Old deprecated functions for image resizing.

Function Documentation

◆ SimdResizeBilinear()

void SimdResizeBilinear ( const uint8_t *  src,
size_t  srcWidth,
size_t  srcHeight,
size_t  srcStride,
uint8_t *  dst,
size_t  dstWidth,
size_t  dstHeight,
size_t  dstStride,
size_t  channelCount 
)

Performs resizing of input image with using bilinear interpolation.

All images must have the same format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).

Note
This function has a C++ wrappers: Simd::ResizeBilinear(const View<A>& src, View<A>& dst).
Warning
This function is deprecated and can be removed in the future. Use functions SimdResizerInit, SimdResizerRun, SimdRelease instead this one.
Parameters
[in]src- a pointer to pixels data of the original input image.
[in]srcWidth- a width of the input image.
[in]srcHeight- a height of the input image.
[in]srcStride- a row size of the input image.
[out]dst- a pointer to pixels data of the reduced output image.
[in]dstWidth- a width of the output image.
[in]dstHeight- a height of the output image.
[in]dstStride- a row size of the output image.
[in]channelCount- a channel count.

◆ ResizeBilinear()

void ResizeBilinear ( const View< A > &  src,
View< A > &  dst 
)

Performs resizing of input image with using bilinear interpolation.

All images must have the same format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).

Note
This function is a C++ wrapper for function SimdResizeBilinear.
Warning
This function is deprecated and can be removed in the future. Use function Simd::Resize instead this one.
Parameters
[in]src- an original input image.
[out]dst- a resized output image.

◆ ResizeAreaGray()

void ResizeAreaGray ( const View< A > &  src,
View< A > &  dst 
)

Performs resizing of input image with using area interpolation.

All images must have the same format (8-bit gray).

Warning
This function is deprecated and can be removed in the future. Use function Simd::Resize instead this one.
Parameters
[in]src- an original input image.
[out]dst- a resized output image.

◆ ResizeArea()

void ResizeArea ( const View< A > &  src,
View< A > &  dst 
)

Performs resizing of input image with using area interpolation.

All images must have the same format.

Warning
This function is deprecated and can be removed in the future. Use function Simd::Resize instead this one.
Parameters
[in]src- an original input image.
[out]dst- a resized output image.