FreeRDP
prim_alphaComp.c File Reference
#include <freerdp/types.h>
#include <freerdp/primitives.h>
#include "prim_internal.h"

Macros

#define ALPHA(_k_)   (((_k_)&0xFF000000U) >> 24)
 
#define RED(_k_)   (((_k_)&0x00FF0000U) >> 16)
 
#define GRN(_k_)   (((_k_)&0x0000FF00U) >> 8)
 
#define BLU(_k_)   (((_k_)&0x000000FFU))
 

Functions

static pstatus_t general_alphaComp_argb (const BYTE *pSrc1, UINT32 src1Step, const BYTE *pSrc2, UINT32 src2Step, BYTE *pDst, UINT32 dstStep, UINT32 width, UINT32 height)
 
void primitives_init_alphaComp (primitives_t *prims)
 

Macro Definition Documentation

◆ ALPHA

#define ALPHA (   _k_)    (((_k_)&0xFF000000U) >> 24)

◆ BLU

#define BLU (   _k_)    (((_k_)&0x000000FFU))

◆ GRN

#define GRN (   _k_)    (((_k_)&0x0000FF00U) >> 8)

◆ RED

#define RED (   _k_)    (((_k_)&0x00FF0000U) >> 16)

Function Documentation

◆ general_alphaComp_argb()

static pstatus_t general_alphaComp_argb ( const BYTE pSrc1,
UINT32  src1Step,
const BYTE pSrc2,
UINT32  src2Step,
BYTE pDst,
UINT32  dstStep,
UINT32  width,
UINT32  height 
)
static
Here is the caller graph for this function:

◆ primitives_init_alphaComp()

void primitives_init_alphaComp ( primitives_t prims)
Here is the call graph for this function:
Here is the caller graph for this function: