|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Hold lookup-table pointers for 8-bit YCbCr-to-RGB conversion. More...
#include <tiffio.h>
Data Fields | |
| TIFFRGBValue * | clamptab |
| Biased table pointer for clamping channel results to 0 through 255. | |
| int * | Cr_r_tab |
| 256-entry table of Cr contributions to red. | |
| int * | Cb_b_tab |
| 256-entry table of Cb contributions to blue. | |
| int32_t * | Cr_g_tab |
| 256-entry fixed-point table of Cr contributions to green. | |
| int32_t * | Cb_g_tab |
| 256-entry fixed-point table of Cb contributions to green. | |
| int32_t * | Y_tab |
| 256-entry table of scaled luminance contributions. | |
Hold lookup-table pointers for 8-bit YCbCr-to-RGB conversion.
TIFFYCbCrToRGBInit() lays out the tables in caller-provided storage after this structure. Allocating sizeof(TIFFYCbCrToRGB) alone is insufficient. The required byte capacity is:
The rounding helper is private; external callers must provide equivalent alignment and capacity. Table pointers borrow storage within the same block; they must not be freed separately. Keep the block valid for every conversion and release it through its matching allocator after the last use.
| int* TIFFYCbCrToRGB::Cb_b_tab |
256-entry table of Cb contributions to blue.
Definition at line 343 of file tiffio.h.
Referenced by TIFFYCbCrtoRGB(), and TIFFYCbCrToRGBInit().
| int32_t* TIFFYCbCrToRGB::Cb_g_tab |
256-entry fixed-point table of Cb contributions to green.
Definition at line 347 of file tiffio.h.
Referenced by TIFFYCbCrtoRGB(), and TIFFYCbCrToRGBInit().
| TIFFRGBValue* TIFFYCbCrToRGB::clamptab |
Biased table pointer for clamping channel results to 0 through 255.
Definition at line 339 of file tiffio.h.
Referenced by TIFFYCbCrToRGBInit().
| int32_t* TIFFYCbCrToRGB::Cr_g_tab |
256-entry fixed-point table of Cr contributions to green.
Definition at line 345 of file tiffio.h.
Referenced by TIFFYCbCrtoRGB(), and TIFFYCbCrToRGBInit().
| int* TIFFYCbCrToRGB::Cr_r_tab |
256-entry table of Cr contributions to red.
Definition at line 341 of file tiffio.h.
Referenced by TIFFYCbCrtoRGB(), and TIFFYCbCrToRGBInit().
| int32_t* TIFFYCbCrToRGB::Y_tab |
256-entry table of scaled luminance contributions.
Definition at line 349 of file tiffio.h.
Referenced by TIFFYCbCrtoRGB(), and TIFFYCbCrToRGBInit().