|
static pstatus_t | general_yCbCrToRGB_16s8u_P3AC4R_BGRX (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_yCbCrToRGB_16s8u_P3AC4R_general (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_yCbCrToRGB_16s8u_P3AC4R (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_yCbCrToRGB_16s16s_P3P3 (const INT16 *const WINPR_RESTRICT pSrc[3], INT32 srcStep, INT16 *WINPR_RESTRICT pDst[3], INT32 dstStep, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_RGBToYCbCr_16s16s_P3P3 (const INT16 *const WINPR_RESTRICT pSrc[3], INT32 srcStep, INT16 *WINPR_RESTRICT pDst[3], INT32 dstStep, const prim_size_t *WINPR_RESTRICT roi) |
|
static INLINE void | writeScanlineGeneric (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineRGB (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineBGR (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineBGRX (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineRGBX (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineXBGR (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE void | writeScanlineXRGB (BYTE *dst, DWORD formatSize, UINT32 DstFormat, const INT16 *r, const INT16 *g, const INT16 *b, DWORD width) |
|
static INLINE fkt_writeScanline | getScanlineWriteFunction (DWORD format) |
|
static pstatus_t | general_RGBToRGB_16s8u_P3AC4R_general (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_RGBToRGB_16s8u_P3AC4R_BGRX (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
static pstatus_t | general_RGBToRGB_16s8u_P3AC4R (const INT16 *const WINPR_RESTRICT pSrc[3], UINT32 srcStep, BYTE *WINPR_RESTRICT pDst, UINT32 dstStep, UINT32 DstFormat, const prim_size_t *WINPR_RESTRICT roi) |
|
void | primitives_init_colors (primitives_t *prims) |
|
void | primitives_init_colors_opt (primitives_t *prims) |
|
static pstatus_t general_yCbCrToRGB_16s16s_P3P3 |
( |
const INT16 *const WINPR_RESTRICT |
pSrc[3], |
|
|
INT32 |
srcStep, |
|
|
INT16 *WINPR_RESTRICT |
pDst[3], |
|
|
INT32 |
dstStep, |
|
|
const prim_size_t *WINPR_RESTRICT |
roi |
|
) |
| |
|
static |
The decoded YCbCr coeffectients are represented as 11.5 fixed-point numbers:
1 sign bit + 10 integer bits + 5 fractional bits
However only 7 integer bits will be actually used since the value range is [-128.0, 127.0]. In other words, the decoded coefficients are scaled by << 5 when interpreted as INT16. It was scaled in the quantization phase, so we must scale it back here.