ARX  1.2.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
videoLuma.c File Reference
#include <ARX/ARVideo/video.h>
#include <stdlib.h>
Include dependency graph for videoLuma.c:

Classes

struct  _ARVideoLumaInfo

Macros

#define AR_PAGE_ALIGNED_ALLOC(s)
#define AR_PAGE_ALIGNED_FREE(p)
#define R8_CCIR601   77
#define G8_CCIR601   150
#define B8_CCIR601   29

Functions

ARVideoLumaInfo * arVideoLumaInit (int xsize, int ysize, AR_PIXEL_FORMAT pixFormat)
int arVideoLumaFinal (ARVideoLumaInfo **vli_p)
ARUint8 *__restrict arVideoLuma (ARVideoLumaInfo *vli, const ARUint8 *__restrict dataPtr)

Macro Definition Documentation

◆ AR_PAGE_ALIGNED_ALLOC

#define AR_PAGE_ALIGNED_ALLOC ( s)
Value:
valloc(s)

◆ AR_PAGE_ALIGNED_FREE

#define AR_PAGE_ALIGNED_FREE ( p)
Value:
free(p)

◆ B8_CCIR601

#define B8_CCIR601   29

◆ G8_CCIR601

#define G8_CCIR601   150

◆ R8_CCIR601

#define R8_CCIR601   77

Function Documentation

◆ arVideoLuma()

ARUint8 *__restrict arVideoLuma ( ARVideoLumaInfo * vli,
const ARUint8 *__restrict dataPtr )
Here is the call graph for this function:

◆ arVideoLumaFinal()

int arVideoLumaFinal ( ARVideoLumaInfo ** vli_p)
Here is the call graph for this function:

◆ arVideoLumaInit()

ARVideoLumaInfo * arVideoLumaInit ( int xsize,
int ysize,
AR_PIXEL_FORMAT pixFormat )
Here is the call graph for this function: