Simd Library Documentation.

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

Old deprecated functions for YUV image conversions. More...

Functions

SIMD_API SIMD_DEPRECATED void SimdYuv420pToBgr (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgr, size_t bgrStride)
 Converts YUV420P image to 24-bit BGR image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv422pToBgr (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgr, size_t bgrStride)
 Converts YUV422P image to 24-bit BGR image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv444pToBgr (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgr, size_t bgrStride)
 Converts YUV444P image to 24-bit BGR image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv420pToBgra (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgra, size_t bgraStride, uint8_t alpha)
 Converts YUV420P image to 32-bit BGRA image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv422pToBgra (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgra, size_t bgraStride, uint8_t alpha)
 Converts YUV422P image to 32-bit BGRA image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv444pToBgra (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *bgra, size_t bgraStride, uint8_t alpha)
 Converts YUV444P image to 32-bit BGRA image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv420pToRgb (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *rgb, size_t rgbStride)
 Converts YUV420P image to 24-bit RGB image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv422pToRgb (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *rgb, size_t rgbStride)
 Converts YUV422P image to 24-bit RGB image. More...
 
SIMD_API SIMD_DEPRECATED void SimdYuv444pToRgb (const uint8_t *y, size_t yStride, const uint8_t *u, size_t uStride, const uint8_t *v, size_t vStride, size_t width, size_t height, uint8_t *rgb, size_t rgbStride)
 Converts YUV444P image to 24-bit RGB image. More...
 

Detailed Description

Old deprecated functions for YUV image conversions.

Function Documentation

◆ SimdYuv420pToBgr()

void SimdYuv420pToBgr ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgr,
size_t  bgrStride 
)

Converts YUV420P image to 24-bit BGR image.

The input Y and output BGR images must have the same width and height. The input U and V images must have the same width and height (half size relative to Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv420pToBgrV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgr- a pointer to pixels data of output 24-bit BGR image.
[in]bgrStride- a row size of the bgr image.

◆ SimdYuv422pToBgr()

void SimdYuv422pToBgr ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgr,
size_t  bgrStride 
)

Converts YUV422P image to 24-bit BGR image.

The input Y and output BGR images must have the same width and height. The input U and V images must have the same width and height (their width is equal to half width of Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv422pToBgrV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgr- a pointer to pixels data of output 24-bit BGR image.
[in]bgrStride- a row size of the bgr image.

◆ SimdYuv444pToBgr()

void SimdYuv444pToBgr ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgr,
size_t  bgrStride 
)

Converts YUV444P image to 24-bit BGR image.

The input Y, U, V and output BGR images must have the same width and height.

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv444pToBgrV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgr- a pointer to pixels data of output 24-bit BGR image.
[in]bgrStride- a row size of the bgr image.

◆ SimdYuv420pToBgra()

void SimdYuv420pToBgra ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgra,
size_t  bgraStride,
uint8_t  alpha 
)

Converts YUV420P image to 32-bit BGRA image.

The input Y and output BGRA images must have the same width and height. The input U and V images must have the same width and height (half size relative to Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv420pToBgraV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgra- a pointer to pixels data of output 32-bit BGRA image.
[in]bgraStride- a row size of the bgra image.
[in]alpha- a value of alpha channel.

◆ SimdYuv422pToBgra()

void SimdYuv422pToBgra ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgra,
size_t  bgraStride,
uint8_t  alpha 
)

Converts YUV422P image to 32-bit BGRA image.

The input Y and output BGRA images must have the same width and height. The input U and V images must have the same width and height (their width is equal to half width of Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv422pToBgraV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgra- a pointer to pixels data of output 32-bit BGRA image.
[in]bgraStride- a row size of the bgra image.
[in]alpha- a value of alpha channel.

◆ SimdYuv444pToBgra()

void SimdYuv444pToBgra ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  bgra,
size_t  bgraStride,
uint8_t  alpha 
)

Converts YUV444P image to 32-bit BGRA image.

The input Y, U, V and output BGRA images must have the same width and height.

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv444pToBgraV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]bgra- a pointer to pixels data of output 32-bit BGRA image.
[in]bgraStride- a row size of the bgra image.
[in]alpha- a value of alpha channel.

◆ SimdYuv420pToRgb()

void SimdYuv420pToRgb ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  rgb,
size_t  rgbStride 
)

Converts YUV420P image to 24-bit RGB image.

The input Y and output RGB images must have the same width and height. The input U and V images must have the same width and height (half size relative to Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv420pToRgbV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]rgb- a pointer to pixels data of output 24-bit RGB image.
[in]rgbStride- a row size of the rgb image.

◆ SimdYuv422pToRgb()

void SimdYuv422pToRgb ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  rgb,
size_t  rgbStride 
)

Converts YUV422P image to 24-bit RGB image.

The input Y and output RGB images must have the same width and height. The input U and V images must have the same width and height (their width is equal to half width of Y component).

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv422pToRgbV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]rgb- a pointer to pixels data of output 24-bit RGB image.
[in]rgbStride- a row size of the rgb image.

◆ SimdYuv444pToRgb()

void SimdYuv444pToRgb ( const uint8_t *  y,
size_t  yStride,
const uint8_t *  u,
size_t  uStride,
const uint8_t *  v,
size_t  vStride,
size_t  width,
size_t  height,
uint8_t *  rgb,
size_t  rgbStride 
)

Converts YUV444P image to 24-bit RGB image.

The input Y, U, V and output RGB images must have the same width and height.

Warning
This function is deprecated and can be removed in the future. Use function SimdYuv444pToRgbV2 instead this one.
Parameters
[in]y- a pointer to pixels data of input 8-bit image with Y color plane.
[in]yStride- a row size of the y image.
[in]u- a pointer to pixels data of input 8-bit image with U color plane.
[in]uStride- a row size of the u image.
[in]v- a pointer to pixels data of input 8-bit image with V color plane.
[in]vStride- a row size of the v image.
[in]width- an image width.
[in]height- an image height.
[out]rgb- a pointer to pixels data of output 24-bit RGB image.
[in]rgbStride- a row size of the rgb image.