ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tif_color.c File Reference
#include "tiffiop.h"
#include <math.h>

Go to the source code of this file.

Defines

#define RINT(R)   ((uint32)((R)>0?((R)+0.5):((R)-0.5)))
#define SHIFT   16
#define FIX(x)   ((int32)((x) * (1L<<SHIFT) + 0.5))
#define ONE_HALF   ((int32)(1<<(SHIFT-1)))
#define Code2V(c, RB, RW, CR)   ((((c)-(int32)(RB))*(float)(CR))/(float)(((RW)-(RB)) ? ((RW)-(RB)) : 1))
#define CLAMP(f, min, max)   ((f)<(min)?(min):(f)>(max)?(max):(f))
#define HICLAMP(f, max)   ((f)>(max)?(max):(f))
#define LumaRed   luma[0]
#define LumaGreen   luma[1]
#define LumaBlue   luma[2]

Functions

void TIFFCIELabToXYZ (TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, float *X, float *Y, float *Z)
void TIFFXYZToRGB (TIFFCIELabToRGB *cielab, float X, float Y, float Z, uint32 *r, uint32 *g, uint32 *b)
int TIFFCIELabToRGBInit (TIFFCIELabToRGB *cielab, TIFFDisplay *display, float *refWhite)
void TIFFYCbCrtoRGB (TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, uint32 *r, uint32 *g, uint32 *b)
int TIFFYCbCrToRGBInit (TIFFYCbCrToRGB *ycbcr, float *luma, float *refBlackWhite)

Generated on Sat May 26 2012 04:48:25 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.