Pression  1.2.0
Compressor, decompressor, uploader and downloader plugins
compressorTokens.h File Reference

Input and output token type definitions for compression plugins. More...

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

Go to the source code of this file.

Macros

Compressor token types

The input and output compressor token types are reported by the DSO, and define which type of data can be processed by the given compressor.

It is used by Equalizer to select candidates for compression. The output token type is only used for transfer plugins.

#define EQ_COMPRESSOR_DATATYPE_NONE   0x0
 Invalid data. More...
 
#define EQ_COMPRESSOR_DATATYPE_BYTE   0x1
 Data is processed in one-byte tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_UNSIGNED   0x2
 Data is processed in four-byte tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_HALF_FLOAT   0x3
 Data is processed in float16 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_FLOAT   0x4
 Data is processed in float32 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_3_BYTE   0x400
 Data is processed in three interleaved streams of one-byte tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_4_BYTE   0x401
 Data is processed in four interleaved streams of one-byte tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_3_HALF_FLOAT   0x402
 Data is processed in four interleaved streams of float16 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_4_HALF_FLOAT   0x403
 Data is processed in four interleaved streams of float16 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_3_FLOAT   0x404
 Data is processed in four interleaved streams of three float32 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_4_FLOAT   0x405
 Data is processed in four interleaved streams of four float32 tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_3BYTE_1BYTE   0x800
 Data is processed in one 24 bit and one 8 bit interleaved streams. More...
 
#define EQ_COMPRESSOR_DATATYPE_BGR10_A2   0x801
 Data is processed in three 10-bit color tokens and one 2-bit alpha token. More...
 
#define EQ_COMPRESSOR_DATATYPE_RGBA   0X1908
 Data is processed in four interleaved streams of RGBA color of unsigned Byte tokens.
 
#define EQ_COMPRESSOR_DATATYPE_RGBA_UINT_8_8_8_8_REV   0x1000
 Data is processed in four interleaved streams of RGBA color of unsigned byte tokens.
 
#define EQ_COMPRESSOR_DATATYPE_RGBA16F   0x881a
 Data is processed in four interleaved streams of RGBA color of half float tokens.
 
#define EQ_COMPRESSOR_DATATYPE_RGBA32F   0x8814
 Data is processed in four interleaved streams of RGBA color of float tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGRA   EQ_COMPRESSOR_DATATYPE_4_BYTE
 Data is processed in four interleaved streams of BGRA color of unsigned byte tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGRA_UINT_8_8_8_8_REV   0x1001
 Data is processed in four interleaved streams of BGRA color of unsigned byte tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGRA16F   EQ_COMPRESSOR_DATATYPE_4_HALF_FLOAT
 Data is processed in four interleaved streams of BGRA color of half float tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGRA32F   EQ_COMPRESSOR_DATATYPE_4_FLOAT
 Data is processed in four interleaved streams of BGRA color of float tokens.
 
#define EQ_COMPRESSOR_DATATYPE_DEPTH   0x1902
 Data is a (source) depth buffer. More...
 
#define EQ_COMPRESSOR_DATATYPE_DEPTH_FLOAT   0x1003
 Data is processed in one stream of depth of float tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_DEPTH_UNSIGNED_INT   EQ_COMPRESSOR_DATATYPE_UNSIGNED
 Data is processed in one stream of unsigned int depth tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_RGB   0x1907
 Data is processed in three interleaved streams of RGB unsigned byte color tokens.
 
#define EQ_COMPRESSOR_DATATYPE_RGB16F   0x881b
 Data is processed in three interleaved streams of RGB half float color tokens.
 
#define EQ_COMPRESSOR_DATATYPE_RGB32F   0x8815
 Data is processed in three interleaved streams of RGB float color tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_BGR   EQ_COMPRESSOR_DATATYPE_3_BYTE
 Data is processed in three interleaved streams of BGR unsigned byte color tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGR16F   EQ_COMPRESSOR_DATATYPE_3_HALF_FLOAT
 Data is processed in three interleaved streams of BGR half float color tokens.
 
#define EQ_COMPRESSOR_DATATYPE_BGR32F   EQ_COMPRESSOR_DATATYPE_3_FLOAT
 Data is processed in three interleaved streams of BGR float color tokens. More...
 
#define EQ_COMPRESSOR_DATATYPE_YUVA_50P   0x1004
 Data is processed in four interleaved streams of YUVA components. More...
 
#define EQ_COMPRESSOR_DATATYPE_RGB10_A2   0x8059
 Data is processed in three 10-bit color tokens and one 2-bit alpha token. More...
 
#define EQ_COMPRESSOR_DATATYPE_INVALID   0xeffffffeu
 Invalid data type. More...
 
#define EQ_COMPRESSOR_DATATYPE_PRIVATE   0xefffffffu
 Private token types -FOR DEVELOPMENT ONLY-. More...
 

Detailed Description

Input and output token type definitions for compression plugins.

See also
plugins/compressor.h

Definition in file compressorTokens.h.

Macro Definition Documentation

#define EQ_COMPRESSOR_DATATYPE_3_BYTE   0x400

Data is processed in three interleaved streams of one-byte tokens.

Definition at line 50 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_3_FLOAT   0x404

Data is processed in four interleaved streams of three float32 tokens.

Definition at line 58 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_3_HALF_FLOAT   0x402

Data is processed in four interleaved streams of float16 tokens.

Definition at line 54 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_3BYTE_1BYTE   0x800

Data is processed in one 24 bit and one 8 bit interleaved streams.

Definition at line 63 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_4_BYTE   0x401

Data is processed in four interleaved streams of one-byte tokens.

Definition at line 52 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_4_FLOAT   0x405

Data is processed in four interleaved streams of four float32 tokens.

Definition at line 60 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_4_HALF_FLOAT   0x403

Data is processed in four interleaved streams of float16 tokens.

Definition at line 56 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_BGR10_A2   0x801

Data is processed in three 10-bit color tokens and one 2-bit alpha token.

Definition at line 66 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_BGR32F   EQ_COMPRESSOR_DATATYPE_3_FLOAT

Data is processed in three interleaved streams of BGR float color tokens.

Definition at line 137 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_BYTE   0x1

Data is processed in one-byte tokens.

Definition at line 41 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_DEPTH   0x1902

Data is a (source) depth buffer.

Definition at line 108 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_DEPTH_FLOAT   0x1003

Data is processed in one stream of depth of float tokens.

Definition at line 110 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_DEPTH_UNSIGNED_INT   EQ_COMPRESSOR_DATATYPE_UNSIGNED

Data is processed in one stream of unsigned int depth tokens.

Definition at line 112 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_FLOAT   0x4

Data is processed in float32 tokens.

Definition at line 47 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_HALF_FLOAT   0x3

Data is processed in float16 tokens.

Definition at line 45 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_INVALID   0xeffffffeu

Invalid data type.

Used by a plugin to disable incompatible engines at runtime in EqCompressorGetInfo().

Definition at line 153 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_NONE   0x0

Invalid data.

Definition at line 39 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_PRIVATE   0xefffffffu

Private token types -FOR DEVELOPMENT ONLY-.

Any token type equal or bigger than this can be used for in-house development and testing. As soon as the Compressor DSO is distributed, request public types free of charge from info@.nosp@m.equa.nosp@m.lizer.nosp@m.grap.nosp@m.hics..nosp@m.com.

Definition at line 162 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_RGB10_A2   0x8059

Data is processed in three 10-bit color tokens and one 2-bit alpha token.

Definition at line 146 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_RGB32F   0x8815

Data is processed in three interleaved streams of RGB float color tokens.

Definition at line 125 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_UNSIGNED   0x2

Data is processed in four-byte tokens.

Definition at line 43 of file compressorTokens.h.

#define EQ_COMPRESSOR_DATATYPE_YUVA_50P   0x1004

Data is processed in four interleaved streams of YUVA components.

Special image format reducing color sampling.

Definition at line 143 of file compressorTokens.h.