Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include "tiffiop.h"
#include "tif_predict.h"
#include "zlib.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | TSIZE 2048 /* decode table size (11-bit tokens) */ |
#define | TSIZEP1 2049 /* Plus one for slop */ |
#define | ONE 1250 /* token value of 1.0 exactly */ |
#define | RATIO 1.004 /* nominal ratio for log part */ |
#define | CODE_MASK 0x7ff /* 11 bits. */ |
#define | REPEAT(n, op) { int i; i=n; do { i--; op; } while (i>0); } |
#define | SCALE12 2048.0F |
#define | CLAMP12(t) (((t) < 3071) ? (uint16) (t) : 3071) |
#define | PLSTATE_INIT 1 |
#define | DecoderState(tif) ((PixarLogState*) (tif)->tif_data) |
#define | EncoderState(tif) ((PixarLogState*) (tif)->tif_data) |
#define | N(a) (sizeof(a)/sizeof(a[0])) |
#define | PIXARLOGDATAFMT_UNKNOWN -1 |
#define | CLAMP(v) |
#define | CLAMP(v) From14[(v) >> 2] |
#define | CLAMP(v) (From8[(v)]) |
Functions | |
int | TIFFInitPixarLog (TIFF *tif, int scheme) |
#define CLAMP | ( | v | ) |
#define CODE_MASK 0x7ff /* 11 bits. */ |
Definition at line 103 of file tif_pixarlog.c.
#define DecoderState | ( | tif | ) | ((PixarLogState*) (tif)->tif_data) |
Definition at line 590 of file tif_pixarlog.c.
#define EncoderState | ( | tif | ) | ((PixarLogState*) (tif)->tif_data) |
Definition at line 591 of file tif_pixarlog.c.
#define ONE 1250 /* token value of 1.0 exactly */ |
Definition at line 100 of file tif_pixarlog.c.
#define PIXARLOGDATAFMT_UNKNOWN -1 |
Definition at line 597 of file tif_pixarlog.c.
Referenced by TIFFInitPixarLog().
#define PLSTATE_INIT 1 |
Definition at line 462 of file tif_pixarlog.c.
#define RATIO 1.004 /* nominal ratio for log part */ |
Definition at line 101 of file tif_pixarlog.c.
Definition at line 108 of file tif_pixarlog.c.
#define SCALE12 2048.0F |
Definition at line 98 of file tif_pixarlog.c.
#define TSIZEP1 2049 /* Plus one for slop */ |
Definition at line 99 of file tif_pixarlog.c.
Definition at line 1279 of file tif_pixarlog.c.
References _TIFFmalloc(), _TIFFmemset(), COMPRESSION_PIXARLOG, NULL, PIXARLOGDATAFMT_UNKNOWN, tiff::tif_data, tiff::tif_setupdecode, and Z_BINARY.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:57.
© Copyright Michele Bosi. All rights reserved.