LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Macros | Variables

Preserve the historical LogLuv chromaticity-bin table. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UV_SQSIZ   (float)0.003500
 Set the chromaticity bin side length.
 
#define UV_NDIVS   16289
 Count all 16289 chromaticity bins.
 
#define UV_VSTART   (float)0.016940
 Locate the lower v-prime edge of the first row.
 
#define UV_NVS   163
 Count the 163 v-prime rows.
 

Variables

struct { 
 
   float   ustart 
 Lower u-prime boundary of this row. More...
 
   short   nus 
 Count horizontal bins in this chromaticity row. More...
 
   short   ncum 
 Count all bins preceding this row. More...
 
} uv_row [UV_NVS] 
 Map each v-prime row to its u-prime start and bin index interval.
 

Detailed Description

Preserve the historical LogLuv chromaticity-bin table.

The 1997 generator is not present in this source tree. These comments annotate the maintained snapshot; initializer values remain unchanged.

Definition in file uvcode.h.

Macro Definition Documentation

◆ UV_NDIVS

#define UV_NDIVS   16289

Count all 16289 chromaticity bins.

Definition at line 14 of file uvcode.h.

◆ UV_NVS

#define UV_NVS   163

Count the 163 v-prime rows.

Definition at line 18 of file uvcode.h.

◆ UV_SQSIZ

#define UV_SQSIZ   (float)0.003500

Set the chromaticity bin side length.

Definition at line 12 of file uvcode.h.

◆ UV_VSTART

#define UV_VSTART   (float)0.016940

Locate the lower v-prime edge of the first row.

Definition at line 16 of file uvcode.h.

Variable Documentation

◆ ncum

short ncum

Count all bins preceding this row.

Definition at line 33 of file uvcode.h.

Referenced by uv_encode().

◆ nus

short nus

Count horizontal bins in this chromaticity row.

Definition at line 31 of file uvcode.h.

Referenced by oog_encode(), and uv_encode().

◆ ustart

float ustart

Lower u-prime boundary of this row.

Definition at line 29 of file uvcode.h.

Referenced by oog_encode(), uv_decode(), and uv_encode().