GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_gamma Struct Reference

A correction tables for all pixel channels. More...

#include <gp_gamma_correction.h>

Collaboration diagram for gp_gamma:
Collaboration graph
[legend]

Data Fields

gp_pixel_type pixel_type
 Pixel type the table could be used for.
 
unsigned int ref_count
 Reference counter.
 
gp_gamma_tablelin [4]
 Tables to linearize channel values.
 
gp_gamma_tableenc [4]
 Tables to encode the values back.
 

Detailed Description

A correction tables for all pixel channels.

Contains pointers to lookup tables for each pixel channel for linearization and inverse transformation. Linearization produces a values with a few more bits, e.g. for 8bit value you end up with at least 10bits to correctly encode the linearized values.

Definition at line 153 of file gp_gamma_correction.h.


The documentation for this struct was generated from the following file: