#include "TIL_API.h"#include <limits.h>#include <SYS/SYS_Types.h>#include <SYS/SYS_Math.h>#include <UT/UT_SysClone.h>#include <IMG/IMG_FileTypes.h>#include <UT/UT_Lock.h>#include <PXL/PXL_Common.h>Go to the source code of this file.
Classes | |
| class | til_AlignedBlock |
Defines | |
| #define | TIL_Lookup PXL_Lookup |
| #define | TIL_Fill PXL_Fill |
| #define | TIL_FillParms PXL_FillParms |
| #define | TIL_Pixel PXL_Pixel |
| #define | TIL_Convert PXL_Convert |
| #define | TIL_MAX_THREADS 32 |
| #define | TIL_DEFAULT_TILE_SIZE 200 |
| #define | TIL_DEFAULT_INT8_SIZE (TIL_DEFAULT_TILE_SIZE*TIL_DEFAULT_TILE_SIZE) |
| #define | TIL_DEFAULT_INT16_SIZE (TIL_DEFAULT_INT8_SIZE * 2) |
| #define | TIL_DEFAULT_FLOAT32_SIZE (TIL_DEFAULT_INT8_SIZE * 4) |
| #define | TILE_LOCK_WRITE 0 |
| #define | TILE_LOCK_READ_ONLY 1 |
| #define | TIL_DataFormat PXL_DataFormat |
| #define | TILE_INT8 PXL_INT8 |
| #define | TILE_INT16 PXL_INT16 |
| #define | TILE_INT32 PXL_INT32 |
| #define | TILE_FLOAT32 PXL_FLOAT32 |
| #define | TILE_FLOAT16 PXL_FLOAT16 |
| #define | TILE_MAX_DATA_FORMAT PXL_MAX_DATA_FORMAT |
| #define | TIL_Packing PXL_Packing |
| #define | TILE_WHITE_8 UCHAR_MAX |
| #define | TILE_WHITE_16 USHRT_MAX |
| #define | TILE_WHITE_32 UINT_MAX |
| #define | TILE_CACHE_MANAGER_MAX_LOCKS 4096 |
| #define | PLANE_MAX_ARRAY_SIZE 4096 |
| #define | PLANE_MAX_VECTOR_SIZE 4 |
| #define | PROXY_TABLE_SIZE 309 |
| #define | POOL_TABLE_SIZE 509 |
| #define | FOR_EACH_TILE(list, tile, i) |
| #define | GET_TILE(list, tile, i) |
| #define | GET_UNCOOKED_TILE(list, tile, i) |
| #define | FOR_EACH_UNCOOKED_TILE(list, tile, i) |
| #define | FOR_EACH_UNCOOKED_PAIR(outlist, inlist, out, in, i) |
| #define | TILE_INPUT1(list, a) |
| #define | TILE_INPUT2(list, a, b) |
| #define | TILE_INPUT3(list, a, b, c) |
| #define | TILE_INPUT4(list, a, b, c, d) |
| #define | TILE_SCALAR(list, a) |
| #define | TILE_VECTOR2(list, a, b) |
| #define | TILE_VECTOR3(list, a, b, c) |
| #define | TILE_VECTOR4(list, a, b, c, d) |
| #define | TIL_LOCK(loc) loc.lockLW() |
| #define | TIL_UNLOCK(loc) loc.unlock() |
| #define | TILwait(n) TILwaitF(n) |
Typedefs | |
| typedef UT_Lock | TIL_FastLock |
Enumerations | |
| enum | TIL_Interlace { INTERLACE_OFF = 0, INTERLACE_HALF = 1, INTERLACE_BLACK = 2, INTERLACE_DOUBLE = 3 } |
| enum | TIL_Dominance { ODD_DOMINANT = 0, EVEN_DOMINANT = 1, ODD_ONLY = 2, EVEN_ONLY = 3 } |
| enum | TIL_Extend { EXTEND_BLACK = 0, EXTEND_CYCLE, EXTEND_MIRROR, EXTEND_HOLD_FOREVER, EXTEND_HOLD } |
| enum | TIL_Storage { STORE_CACHE = 0, STORE_NO_CACHE, STORE_LOCKED, STORE_PROXY, STORE_NEVER } |
| enum | TIL_HistogramType { TIL_RAW_HISTOGRAM = 0, TIL_HUE_HISTOGRAM, TIL_SAT_HISTOGRAM, TIL_LUM_HISTOGRAM, TIL_RAW_VS_U, TIL_RAW_VS_V, TIL_HUE_VS_U, TIL_HUE_VS_V, TIL_SAT_VS_U, TIL_SAT_VS_V, TIL_LUM_VS_U, TIL_LUM_VS_V, TIL_HUE_VS_SAT, TIL_HUE_VS_LUM } |
| enum | TIL_ViewerType { TIL_VIEW_2D = 0, TIL_VIEW_TIME, TIL_VIEW_GRAPH_RAWHIST, TIL_VIEW_GRAPH_HUEHIST, TIL_VIEW_GRAPH_SATHIST, TIL_VIEW_GRAPH_LUMHIST, TIL_VIEW_GRAPH_CURVES, TIL_VIEW_GRAPH_RAW_VS_U, TIL_VIEW_GRAPH_RAW_VS_V, TIL_VIEW_GRAPH_HUE_VS_U, TIL_VIEW_GRAPH_HUE_VS_V, TIL_VIEW_GRAPH_SAT_VS_U, TIL_VIEW_GRAPH_SAT_VS_V, TIL_VIEW_GRAPH_LUM_VS_U, TIL_VIEW_GRAPH_LUM_VS_V, TIL_VIEW_GRAPH_HUE_VS_SAT, TIL_VIEW_GRAPH_HUE_VS_LUM } |
Functions | |
| int | TILformatDepth (PXL_DataFormat d) |
| int | TILpackingComponents (PXL_Packing p) |
| int | TILpackingDepth (PXL_Packing p) |
| unsigned int | TILwhitePoint (PXL_DataFormat dt) |
| TIL_API TIL_DataFormat | TILformatConvert (IMG_DataType) |
| TIL_API IMG_DataType | TILformatConvert (TIL_DataFormat) |
| TIL_API void | TILparsePlaneName (const char *name, UT_String &pname, int &arrayindex) |
| TIL_API void | TILgetBWPoints (TIL_DataFormat d, float b, float w, unsigned &ib, unsigned &iw, bool &fast) |
| TIL_API void | TILgetFloatBWPoints (TIL_DataFormat d, unsigned ib, unsigned iw, float &b, float &w) |
| TIL_API void | TILgetBestFormat (TIL_DataFormat d1, float b1, float w1, TIL_DataFormat d2, float b2, float w2, TIL_DataFormat &best, float &black, float &white) |
| TIL_API void | TILlock (UT_Lock &lock, const char *file=0, int line=0) |
| TIL_API void | TILprintLockBlockStats () |
| TIL_API void | TILclearTotalWait () |
| TIL_API void | TILwaitF (int n, const char *file=0, int line=0) |
| TIL_API double | TILgetTotalWait () |
| TIL_API bool | TILcopyOrRefPlaneName (const char *&dname, const char *name) |
| TIL_API bool | TILcopyOrRefCompName (const char *&dname, const char *name) |
| TIL_API void | TILinitNameRefs () |
| TIL_API bool | TILcheckConstant (void *idata, TIL_DataFormat format, int xres, int yres) |
| TIL_API bool | TILemulationNeeded (int comp, float b, float w, float sc, float sh, float gamma, const char *lut, float aspect, TIL_DataFormat type, bool use8bit, bool hard_accel, bool hardlut, bool frag_shader) |
| #define FOR_EACH_TILE | ( | list, | |||
| tile, | |||||
| i | ) |
Value:
for(i=0, tile=list->myItems[0]; i<PLANE_MAX_VECTOR_SIZE; \ i++, tile=list->myItems[SYSmin(i, PLANE_MAX_VECTOR_SIZE-1)])\ if(tile)
Definition at line 189 of file TIL_Defines.h.
| #define FOR_EACH_UNCOOKED_PAIR | ( | outlist, | |||
| inlist, | |||||
| out, | |||||
| in, | |||||
| i | ) |
Value:
for(i=0, out=outlist->myItems[0], in=inlist->myItems[0]; \ i<PLANE_MAX_VECTOR_SIZE; \ i++, out=outlist->myItems[SYSmin(i,PLANE_MAX_VECTOR_SIZE-1)],\ in=inlist->myItems[SYSmin(i, PLANE_MAX_VECTOR_SIZE-1)]) \ if(out && in && !out->isCooked())
Definition at line 210 of file TIL_Defines.h.
| #define FOR_EACH_UNCOOKED_TILE | ( | list, | |||
| tile, | |||||
| i | ) |
Value:
for(i=0, tile=list->myItems[0]; i<PLANE_MAX_VECTOR_SIZE; \ i++, tile=list->myItems[SYSmin(i, PLANE_MAX_VECTOR_SIZE-1)])\ if(tile && !tile->isCooked())
Definition at line 205 of file TIL_Defines.h.
| #define GET_TILE | ( | list, | |||
| tile, | |||||
| i | ) |
Value:
for(tile=0, i=0, tile=list->myItems[0]; i<PLANE_MAX_VECTOR_SIZE; \ i++, tile=list->myItems[SYSmin(i, PLANE_MAX_VECTOR_SIZE-1)]) \ if(tile) break;
Definition at line 194 of file TIL_Defines.h.
| #define GET_UNCOOKED_TILE | ( | list, | |||
| tile, | |||||
| i | ) |
Value:
for(tile=0, i=0, tile=list->myItems[0]; \ i<PLANE_MAX_VECTOR_SIZE; \ i++, tile=list->myItems[SYSmin(i, PLANE_MAX_VECTOR_SIZE-1)])\ if(tile && !tile->isCooked()) break;
Definition at line 199 of file TIL_Defines.h.
| #define PLANE_MAX_ARRAY_SIZE 4096 |
Definition at line 179 of file TIL_Defines.h.
| #define PLANE_MAX_VECTOR_SIZE 4 |
Definition at line 180 of file TIL_Defines.h.
| #define POOL_TABLE_SIZE 509 |
Definition at line 183 of file TIL_Defines.h.
| #define PROXY_TABLE_SIZE 309 |
Definition at line 182 of file TIL_Defines.h.
| #define TIL_Convert PXL_Convert |
Definition at line 35 of file TIL_Defines.h.
| #define TIL_DataFormat PXL_DataFormat |
Definition at line 88 of file TIL_Defines.h.
| #define TIL_DEFAULT_FLOAT32_SIZE (TIL_DEFAULT_INT8_SIZE * 4) |
Definition at line 67 of file TIL_Defines.h.
| #define TIL_DEFAULT_INT16_SIZE (TIL_DEFAULT_INT8_SIZE * 2) |
Definition at line 66 of file TIL_Defines.h.
| #define TIL_DEFAULT_INT8_SIZE (TIL_DEFAULT_TILE_SIZE*TIL_DEFAULT_TILE_SIZE) |
Definition at line 65 of file TIL_Defines.h.
| #define TIL_DEFAULT_TILE_SIZE 200 |
Definition at line 62 of file TIL_Defines.h.
Definition at line 32 of file TIL_Defines.h.
| #define TIL_FillParms PXL_FillParms |
Definition at line 33 of file TIL_Defines.h.
| #define TIL_LOCK | ( | loc | ) | loc.lockLW() |
Definition at line 277 of file TIL_Defines.h.
| #define TIL_Lookup PXL_Lookup |
Definition at line 31 of file TIL_Defines.h.
| #define TIL_MAX_THREADS 32 |
| #define TIL_Packing PXL_Packing |
Definition at line 96 of file TIL_Defines.h.
| #define TIL_Pixel PXL_Pixel |
Definition at line 34 of file TIL_Defines.h.
| #define TIL_UNLOCK | ( | loc | ) | loc.unlock() |
Definition at line 278 of file TIL_Defines.h.
| #define TILE_CACHE_MANAGER_MAX_LOCKS 4096 |
Definition at line 177 of file TIL_Defines.h.
| #define TILE_FLOAT16 PXL_FLOAT16 |
Definition at line 93 of file TIL_Defines.h.
| #define TILE_FLOAT32 PXL_FLOAT32 |
Definition at line 92 of file TIL_Defines.h.
| #define TILE_INPUT1 | ( | list, | |||
| a | ) |
Value:
Definition at line 221 of file TIL_Defines.h.
Value:
Definition at line 225 of file TIL_Defines.h.
Value:
Definition at line 230 of file TIL_Defines.h.
| #define TILE_INT16 PXL_INT16 |
Definition at line 90 of file TIL_Defines.h.
| #define TILE_INT32 PXL_INT32 |
Definition at line 91 of file TIL_Defines.h.
| #define TILE_INT8 PXL_INT8 |
| #define TILE_LOCK_READ_ONLY 1 |
Definition at line 71 of file TIL_Defines.h.
| #define TILE_LOCK_WRITE 0 |
Definition at line 70 of file TIL_Defines.h.
| #define TILE_MAX_DATA_FORMAT PXL_MAX_DATA_FORMAT |
Definition at line 94 of file TIL_Defines.h.
| #define TILE_SCALAR | ( | list, | |||
| a | ) |
| #define TILE_WHITE_16 USHRT_MAX |
Definition at line 174 of file TIL_Defines.h.
| #define TILE_WHITE_32 UINT_MAX |
Definition at line 175 of file TIL_Defines.h.
| #define TILE_WHITE_8 UCHAR_MAX |
Definition at line 173 of file TIL_Defines.h.
Definition at line 279 of file TIL_Defines.h.
| typedef UT_Lock TIL_FastLock |
Definition at line 78 of file TIL_Defines.h.
| enum TIL_Dominance |
Definition at line 106 of file TIL_Defines.h.
| enum TIL_Extend |
Definition at line 116 of file TIL_Defines.h.
| enum TIL_HistogramType |
Definition at line 134 of file TIL_Defines.h.
| enum TIL_Interlace |
Definition at line 98 of file TIL_Defines.h.
| enum TIL_Storage |
Definition at line 125 of file TIL_Defines.h.
| enum TIL_ViewerType |
Definition at line 152 of file TIL_Defines.h.
| TIL_API bool TILcheckConstant | ( | void * | idata, | |
| TIL_DataFormat | format, | |||
| int | xres, | |||
| int | yres | |||
| ) |
| TIL_API void TILclearTotalWait | ( | ) |
| TIL_API bool TILcopyOrRefCompName | ( | const char *& | dname, | |
| const char * | name | |||
| ) |
| TIL_API bool TILcopyOrRefPlaneName | ( | const char *& | dname, | |
| const char * | name | |||
| ) |
| TIL_API bool TILemulationNeeded | ( | int | comp, | |
| float | b, | |||
| float | w, | |||
| float | sc, | |||
| float | sh, | |||
| float | gamma, | |||
| const char * | lut, | |||
| float | aspect, | |||
| TIL_DataFormat | type, | |||
| bool | use8bit, | |||
| bool | hard_accel, | |||
| bool | hardlut, | |||
| bool | frag_shader | |||
| ) |
| TIL_API IMG_DataType TILformatConvert | ( | TIL_DataFormat | ) |
| TIL_API TIL_DataFormat TILformatConvert | ( | IMG_DataType | ) |
| int TILformatDepth | ( | PXL_DataFormat | d | ) | [inline] |
Definition at line 282 of file TIL_Defines.h.
| TIL_API void TILgetBestFormat | ( | TIL_DataFormat | d1, | |
| float | b1, | |||
| float | w1, | |||
| TIL_DataFormat | d2, | |||
| float | b2, | |||
| float | w2, | |||
| TIL_DataFormat & | best, | |||
| float & | black, | |||
| float & | white | |||
| ) |
| TIL_API void TILgetBWPoints | ( | TIL_DataFormat | d, | |
| float | b, | |||
| float | w, | |||
| unsigned & | ib, | |||
| unsigned & | iw, | |||
| bool & | fast | |||
| ) |
| TIL_API void TILgetFloatBWPoints | ( | TIL_DataFormat | d, | |
| unsigned | ib, | |||
| unsigned | iw, | |||
| float & | b, | |||
| float & | w | |||
| ) |
| TIL_API double TILgetTotalWait | ( | ) |
| TIL_API void TILinitNameRefs | ( | ) |
| TIL_API void TILlock | ( | UT_Lock & | lock, | |
| const char * | file = 0, |
|||
| int | line = 0 | |||
| ) |
| int TILpackingComponents | ( | PXL_Packing | p | ) | [inline] |
Definition at line 285 of file TIL_Defines.h.
| int TILpackingDepth | ( | PXL_Packing | p | ) | [inline] |
Definition at line 288 of file TIL_Defines.h.
| TIL_API void TILparsePlaneName | ( | const char * | name, | |
| UT_String & | pname, | |||
| int & | arrayindex | |||
| ) |
| TIL_API void TILprintLockBlockStats | ( | ) |
| TIL_API void TILwaitF | ( | int | n, | |
| const char * | file = 0, |
|||
| int | line = 0 | |||
| ) |
| unsigned int TILwhitePoint | ( | PXL_DataFormat | dt | ) | [inline] |
Definition at line 291 of file TIL_Defines.h.
1.5.9