21 #ifndef INTERNAL_CODEC_PROGRESSIVE_H
22 #define INTERNAL_CODEC_PROGRESSIVE_H
24 #include <winpr/wlog.h>
25 #include <winpr/pool.h>
26 #include <winpr/collections.h>
28 #include <freerdp/codec/rfx.h>
30 #define RFX_SUBBAND_DIFFING 0x01
32 #define RFX_TILE_DIFFERENCE 0x01
34 #define RFX_DWT_REDUCE_EXTRAPOLATE 0x01
105 const BYTE* tailData;
113 const BYTE* ySrlData;
114 const BYTE* yRawData;
115 const BYTE* cbSrlData;
116 const BYTE* cbRawData;
117 const BYTE* crSrlData;
118 const BYTE* crRawData;
148 PROGRESSIVE_CONTEXT* progressive;
149 PROGRESSIVE_BLOCK_REGION* region;
180 PROGRESSIVE_BLOCK_REGION* regions;
200 UINT32 numUpdatedTiles;
201 UINT32* updatedTileIndices;
206 FLAG_WBT_SYNC = 0x01,
207 FLAG_WBT_FRAME_BEGIN = 0x02,
208 FLAG_WBT_FRAME_END = 0x04,
209 FLAG_WBT_CONTEXT = 0x08,
210 FLAG_WBT_REGION = 0x10
217 wBufferPool* bufferPool;
223 PROGRESSIVE_BLOCK_REGION region;
226 wHashTable* SurfaceContexts;
230 RFX_CONTEXT* rfx_context;
232 PTP_WORK work_objects[0x10000];