FreeRDP
rfx_constants.h
1 
20 #ifndef FREERDP_LIB_CODEC_RFX_CONSTANTS_H
21 #define FREERDP_LIB_CODEC_RFX_CONSTANTS_H
22 
23 #include <freerdp/api.h>
24 
25 /* sync */
26 #define WF_MAGIC 0xCACCACCA
27 #define WF_VERSION_1_0 0x0100
28 
29 /* blockType */
30 #define WBT_SYNC 0xCCC0
31 #define WBT_CODEC_VERSIONS 0xCCC1
32 #define WBT_CHANNELS 0xCCC2
33 #define WBT_CONTEXT 0xCCC3
34 #define WBT_FRAME_BEGIN 0xCCC4
35 #define WBT_FRAME_END 0xCCC5
36 #define WBT_REGION 0xCCC6
37 #define WBT_EXTENSION 0xCCC7
38 #define CBT_REGION 0xCAC1
39 #define CBT_TILESET 0xCAC2
40 #define CBT_TILE 0xCAC3
41 
42 #define PROGRESSIVE_WBT_SYNC 0xCCC0
43 #define PROGRESSIVE_WBT_FRAME_BEGIN 0xCCC1
44 #define PROGRESSIVE_WBT_FRAME_END 0xCCC2
45 #define PROGRESSIVE_WBT_CONTEXT 0xCCC3
46 #define PROGRESSIVE_WBT_REGION 0xCCC4
47 #define PROGRESSIVE_WBT_TILE_SIMPLE 0xCCC5
48 #define PROGRESSIVE_WBT_TILE_FIRST 0xCCC6
49 #define PROGRESSIVE_WBT_TILE_UPGRADE 0xCCC7
50 
51 /* tileSize */
52 #define CT_TILE_64x64 0x0040
53 
54 /* properties.flags */
55 #define CODEC_MODE 0x02
56 
57 /* properties.cct */
58 #define COL_CONV_ICT 0x1
59 
60 /* properties.xft */
61 #define CLW_XFORM_DWT_53_A 0x1
62 
63 /* properties.et */
64 #define CLW_ENTROPY_RLGR1 0x01
65 #define CLW_ENTROPY_RLGR3 0x04
66 
67 /* properties.qt */
68 #define SCALAR_QUANTIZATION 0x1
69 
70 #ifdef __cplusplus
71 extern "C"
72 {
73 #endif
74 
75  FREERDP_LOCAL const char* rfx_get_progressive_block_type_string(UINT16 blockType);
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif /* FREERDP_LIB_CODEC_RFX_CONSTANTS_H */