| ARX 1.0 The next-generation open source augmented reality toolkit.

Loading...
Searching...
No Matches
Classes | Macros | Functions
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) valloc(s)
#define | AR_PAGE_ALIGNED_FREE(p) 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 | ) | valloc(s)

## ◆ AR_PAGE_ALIGNED_FREE

#define AR_PAGE_ALIGNED_FREE | ( |  | p | ) | 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
| ) |  |

## ◆ arVideoLumaFinal()

int arVideoLumaFinal | ( | ARVideoLumaInfo ** | vli_p | ) |

## ◆ arVideoLumaInit()

ARVideoLumaInfo * arVideoLumaInit | ( | int | xsize,
|  | int | ysize,
|  | AR_PIXEL_FORMAT | pixFormat
| ) |  |