GRRLIB_cExtn.h File Reference

Inline functions to offer additional C primitives. More...

#include <math.h>

Functions

INLINE u8 GRRLIB_ClampVar8 (f32 Value)
 A helper function for the YCbCr -> RGB conversion.

Detailed Description

Inline functions to offer additional C primitives.


Function Documentation

INLINE u8 GRRLIB_ClampVar8 ( f32  Value  ) 

A helper function for the YCbCr -> RGB conversion.

Clamps the given value into a range of 0 - 255 and thus preventing an overflow.

Parameters:
Value The value to clamp.
Returns:
Returns a clean, clamped unsigned char.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Fri Sep 25 14:44:35 2009 for GRRLIB by  doxygen 1.6.1