images.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned char byte

Functions

void RGB_to_YCbCr (const byte *img, size_t width, size_t height, byte *Y, byte *Cb, byte *Cr)
void shrink_frame (size_t width, size_t height, unsigned int factor, const byte *inY, const byte *inCb, const byte *inCr, byte *outY, byte *outCb, byte *outCr)


Typedef Documentation

typedef unsigned char byte
 

Definition at line 22 of file images.h.


Function Documentation

void RGB_to_YCbCr const byte img,
size_t  width,
size_t  height,
byte Y,
byte Cb,
byte Cr
 

convert the given image from RGB to YCbCr (each component on its own array)

Definition at line 27 of file images.cc.

Referenced by read_usarsim_images().

void shrink_frame size_t  width,
size_t  height,
unsigned int  factor,
const byte inY,
const byte inCb,
const byte inCr,
byte outY,
byte outCb,
byte outCr
 

shrink an image frame by the given factor

Definition at line 47 of file images.cc.

Referenced by read_usarsim_images().


Generated on Sun Dec 2 23:04:31 2007 for openSDK by  doxygen 1.3.9.1