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

Macros

#define MAX(x, y)
#define MIN(x, y)
#define CLAMP(x, r1, r2)

Functions

int arVideoSaveImageJPEG (int w, int h, AR_PIXEL_FORMAT pixFormat, ARUint8 *pixels, const char *filename, const int quality, const int flipV)

Macro Definition Documentation

◆ CLAMP

#define CLAMP ( x,
r1,
r2 )
Value:
(MIN(MAX(x,r1),r2))
#define MIN(x, y)
Definition arFilterTransMat.c:48
#define MAX(x, y)
Definition arFilterTransMat.c:47

◆ MAX

#define MAX ( x,
y )
Value:
(x > y ? x : y)

◆ MIN

#define MIN ( x,
y )
Value:
(x < y ? x : y)

Function Documentation

◆ arVideoSaveImageJPEG()

int arVideoSaveImageJPEG ( int w,
int h,
AR_PIXEL_FORMAT pixFormat,
ARUint8 * pixels,
const char * filename,
const int quality,
const int flipV )
Here is the call graph for this function: