Functions | |
VXLIB_STATUS | VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u (const uint8_t src0[restrict], const VXLIB_bufParams2D_t *src0_addr, const uint8_t src1[restrict], const VXLIB_bufParams2D_t *src1_addr, uint8_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, uint8_t u_pix, uint8_t src_space) |
VXLIB_STATUS | VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u_checkParams (const uint8_t src0[], const VXLIB_bufParams2D_t *src0_addr, const uint8_t src1[], const VXLIB_bufParams2D_t *src1_addr, const uint8_t dst[], const VXLIB_bufParams2D_t *dst_addr, uint8_t u_pix, uint8_t src_space) |
VXLIB_STATUS VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u | ( | const uint8_t | src0[restrict], |
const VXLIB_bufParams2D_t * | src0_addr, | ||
const uint8_t | src1[restrict], | ||
const VXLIB_bufParams2D_t * | src1_addr, | ||
uint8_t | dst[restrict], | ||
const VXLIB_bufParams2D_t * | dst_addr, | ||
uint8_t | u_pix, | ||
uint8_t | src_space | ||
) |
BT.709 R'= Y' + 0.0000*U + 1.5748*V G'= Y' - 0.1873*U - 0.4681*V B'= Y' + 1.8556*U + 0.0000*V BT.601 R'= Y' + 0.000*U + 1.403*V G'= Y' - 0.344*U - 0.714*V B'= Y' + 1.773*U + 0.000*V
[in] | src0[] | Pointer to array containing input luma plane (UQ8.0) |
[in] | src0_addr[] | Pointer to structure containing dimensional information of src |
[in] | src1[] | Pointer to array containing input interleaved UV plane (UQ8.0) |
[in] | src1_addr[] | Pointer to structure containing dimensional information of src |
[out] | dst[] | Pointer to array containing output RGBX image (UQ8.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
[in] | u_pix | Parameter indicating whether to convert from NV12 (u_pix = 0) or NV21 (u_pix = 1) |
[in] | src_space | Parameter indicating the color space of src |
VXLIB_STATUS VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u_checkParams | ( | const uint8_t | src0[], |
const VXLIB_bufParams2D_t * | src0_addr, | ||
const uint8_t | src1[], | ||
const VXLIB_bufParams2D_t * | src1_addr, | ||
const uint8_t | dst[], | ||
const VXLIB_bufParams2D_t * | dst_addr, | ||
uint8_t | u_pix, | ||
uint8_t | src_space | ||
) |
[in] | src0[] | Pointer to array containing input luma plane (UQ8.0) |
[in] | src0_addr[] | Pointer to structure containing dimensional information of src |
[in] | src1[] | Pointer to array containing input interleaved UV plane (UQ8.0) |
[in] | src1_addr[] | Pointer to structure containing dimensional information of src |
[out] | dst[] | Pointer to array containing output RGBX image (UQ8.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
[in] | u_pix | Parameter indicating whether to convert from NV12 (u_pix = 0) or NV21 (u_pix = 1) |
[in] | src_space | Parameter indicating the color space of src |