Old deprecated functions for BGRA-32 image conversions. More...
Functions | |
SIMD_API SIMD_DEPRECATED void | SimdBgraToYuv420p (const uint8_t *bgra, size_t width, size_t height, size_t bgraStride, uint8_t *y, size_t yStride, uint8_t *u, size_t uStride, uint8_t *v, size_t vStride) |
Converts 32-bit BGRA image to YUV420P. More... | |
SIMD_API SIMD_DEPRECATED void | SimdBgraToYuv422p (const uint8_t *bgra, size_t width, size_t height, size_t bgraStride, uint8_t *y, size_t yStride, uint8_t *u, size_t uStride, uint8_t *v, size_t vStride) |
Converts 32-bit BGRA image to YUV422P. More... | |
SIMD_API SIMD_DEPRECATED void | SimdBgraToYuv444p (const uint8_t *bgra, size_t width, size_t height, size_t bgraStride, uint8_t *y, size_t yStride, uint8_t *u, size_t uStride, uint8_t *v, size_t vStride) |
Converts 32-bit BGRA image to YUV444P. More... | |
SIMD_API SIMD_DEPRECATED void | SimdBgraToYuva420p (const uint8_t *bgra, size_t bgraStride, size_t width, size_t height, uint8_t *y, size_t yStride, uint8_t *u, size_t uStride, uint8_t *v, size_t vStride, uint8_t *a, size_t aStride) |
Converts 32-bit BGRA image to YUVA420P. More... | |
Detailed Description
Old deprecated functions for BGRA-32 image conversions.
Function Documentation
◆ SimdBgraToYuv420p()
void SimdBgraToYuv420p | ( | const uint8_t * | bgra, |
size_t | width, | ||
size_t | height, | ||
size_t | bgraStride, | ||
uint8_t * | y, | ||
size_t | yStride, | ||
uint8_t * | u, | ||
size_t | uStride, | ||
uint8_t * | v, | ||
size_t | vStride | ||
) |
Converts 32-bit BGRA image to YUV420P.
The input BGRA and output Y 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 SimdBgraToYuv420pV2 instead this one.
- Parameters
-
[in] bgra - a pointer to pixels data of input 32-bit BGRA image. [in] width - an image width. [in] height - an image height. [in] bgraStride - a row size of the BGRA image. [out] y - a pointer to pixels data of output 8-bit image with Y color plane. [in] yStride - a row size of the y image. [out] u - a pointer to pixels data of output 8-bit image with U color plane. [in] uStride - a row size of the u image. [out] v - a pointer to pixels data of output 8-bit image with V color plane. [in] vStride - a row size of the v image.
◆ SimdBgraToYuv422p()
void SimdBgraToYuv422p | ( | const uint8_t * | bgra, |
size_t | width, | ||
size_t | height, | ||
size_t | bgraStride, | ||
uint8_t * | y, | ||
size_t | yStride, | ||
uint8_t * | u, | ||
size_t | uStride, | ||
uint8_t * | v, | ||
size_t | vStride | ||
) |
Converts 32-bit BGRA image to YUV422P.
The input BGRA and output Y 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 SimdBgraToYuv422pV2 instead this one.
- Parameters
-
[in] bgra - a pointer to pixels data of input 32-bit BGRA image. [in] width - an image width. [in] height - an image height. [in] bgraStride - a row size of the BGRA image. [out] y - a pointer to pixels data of output 8-bit image with Y color plane. [in] yStride - a row size of the y image. [out] u - a pointer to pixels data of output 8-bit image with U color plane. [in] uStride - a row size of the u image. [out] v - a pointer to pixels data of output 8-bit image with V color plane. [in] vStride - a row size of the v image.
◆ SimdBgraToYuv444p()
void SimdBgraToYuv444p | ( | const uint8_t * | bgra, |
size_t | width, | ||
size_t | height, | ||
size_t | bgraStride, | ||
uint8_t * | y, | ||
size_t | yStride, | ||
uint8_t * | u, | ||
size_t | uStride, | ||
uint8_t * | v, | ||
size_t | vStride | ||
) |
Converts 32-bit BGRA image to YUV444P.
The input BGRA and output Y, U and V images must have the same width and height.
- Warning
- This function is deprecated and can be removed in the future. Use function SimdBgraToYuv444pV2 instead this one.
- Parameters
-
[in] bgra - a pointer to pixels data of input 32-bit BGRA image. [in] width - an image width. [in] height - an image height. [in] bgraStride - a row size of the BGRA image. [out] y - a pointer to pixels data of output 8-bit image with Y color plane. [in] yStride - a row size of the y image. [out] u - a pointer to pixels data of output 8-bit image with U color plane. [in] uStride - a row size of the u image. [out] v - a pointer to pixels data of output 8-bit image with V color plane. [in] vStride - a row size of the v image.
◆ SimdBgraToYuva420p()
void SimdBgraToYuva420p | ( | const uint8_t * | bgra, |
size_t | bgraStride, | ||
size_t | width, | ||
size_t | height, | ||
uint8_t * | y, | ||
size_t | yStride, | ||
uint8_t * | u, | ||
size_t | uStride, | ||
uint8_t * | v, | ||
size_t | vStride, | ||
uint8_t * | a, | ||
size_t | aStride | ||
) |
Converts 32-bit BGRA image to YUVA420P.
The input BGRA and output Y and A 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 SimdBgraToYuva420pV2 instead this one.
- Parameters
-
[in] bgra - a pointer to pixels data of input 32-bit BGRA image. [in] bgraStride - a row size of the BGRA image. [in] width - an image width. [in] height - an image height. [out] y - a pointer to pixels data of output 8-bit image with Y color plane. [in] yStride - a row size of the y image. [out] u - a pointer to pixels data of output 8-bit image with U color plane. [in] uStride - a row size of the u image. [out] v - a pointer to pixels data of output 8-bit image with V color plane. [in] vStride - a row size of the v image. [out] a - a pointer to pixels data of output 8-bit image with alpha plane. [in] aStride - a row size of the a image.