|
static INLINE void | progressive_component_codec_quant_read (wStream *WINPR_RESTRICT s, RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT quantVal) |
|
static INLINE void | progressive_rfx_quant_ladd (RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q, int val) |
|
static INLINE void | progressive_rfx_quant_add (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q1, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q2, RFX_COMPONENT_CODEC_QUANT *dst) |
|
static INLINE void | progressive_rfx_quant_lsub (RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q, int val) |
|
static INLINE void | progressive_rfx_quant_sub (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q1, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q2, RFX_COMPONENT_CODEC_QUANT *dst) |
|
static INLINE BOOL | progressive_rfx_quant_lcmp_less_equal (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q, int val) |
|
static INLINE BOOL | progressive_rfx_quant_cmp_less_equal (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q1, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q2) |
|
static INLINE BOOL | progressive_rfx_quant_lcmp_greater_equal (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q, int val) |
|
static INLINE BOOL | progressive_rfx_quant_cmp_greater_equal (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q1, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q2) |
|
static INLINE BOOL | progressive_rfx_quant_cmp_equal (const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q1, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT q2) |
|
static INLINE BOOL | progressive_set_surface_data (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, UINT16 surfaceId, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT pData) |
|
static INLINE PROGRESSIVE_SURFACE_CONTEXT * | progressive_get_surface_data (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, UINT16 surfaceId) |
|
static void | progressive_tile_free (RFX_PROGRESSIVE_TILE *WINPR_RESTRICT tile) |
|
static void | progressive_surface_context_free (void *ptr) |
|
static INLINE RFX_PROGRESSIVE_TILE * | progressive_tile_new (void) |
|
static INLINE BOOL | progressive_allocate_tile_cache (PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, size_t min) |
|
static PROGRESSIVE_SURFACE_CONTEXT * | progressive_surface_context_new (UINT16 surfaceId, UINT32 width, UINT32 height) |
|
static INLINE BOOL | progressive_surface_tile_replace (PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, const RFX_PROGRESSIVE_TILE *WINPR_RESTRICT tile, BOOL upgrade) |
|
INT32 | progressive_create_surface_context (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, UINT16 surfaceId, UINT32 width, UINT32 height) |
|
int | progressive_delete_surface_context (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, UINT16 surfaceId) |
|
static INLINE void | progressive_rfx_idwt_x (const INT16 *WINPR_RESTRICT pLowBand, size_t nLowStep, const INT16 *WINPR_RESTRICT pHighBand, size_t nHighStep, INT16 *WINPR_RESTRICT pDstBand, size_t nDstStep, size_t nLowCount, size_t nHighCount, size_t nDstCount) |
|
static INLINE void | progressive_rfx_idwt_y (const INT16 *WINPR_RESTRICT pLowBand, size_t nLowStep, const INT16 *WINPR_RESTRICT pHighBand, size_t nHighStep, INT16 *WINPR_RESTRICT pDstBand, size_t nDstStep, size_t nLowCount, size_t nHighCount, size_t nDstCount) |
|
static INLINE size_t | progressive_rfx_get_band_l_count (size_t level) |
|
static INLINE size_t | progressive_rfx_get_band_h_count (size_t level) |
|
static INLINE void | progressive_rfx_dwt_2d_decode_block (INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT temp, size_t level) |
|
void | rfx_dwt_2d_extrapolate_decode (INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT temp) |
|
static INLINE int | progressive_rfx_dwt_2d_decode (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT current, BOOL coeffDiff, BOOL extrapolate, BOOL reverse) |
|
static INLINE void | progressive_rfx_decode_block (const primitives_t *prims, INT16 *WINPR_RESTRICT buffer, UINT32 length, UINT32 shift) |
|
static INLINE int | progressive_rfx_decode_component (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT shift, const BYTE *WINPR_RESTRICT data, UINT32 length, INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT current, INT16 *WINPR_RESTRICT sign, BOOL coeffDiff, BOOL subbandDiff, BOOL extrapolate) |
|
static INLINE int | progressive_decompress_tile_first (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, RFX_PROGRESSIVE_TILE *WINPR_RESTRICT tile, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, const PROGRESSIVE_BLOCK_CONTEXT *WINPR_RESTRICT context) |
|
static INLINE INT16 | progressive_rfx_srl_read (RFX_PROGRESSIVE_UPGRADE_STATE *WINPR_RESTRICT state, UINT32 numBits) |
|
static INLINE int | progressive_rfx_upgrade_state_finish (RFX_PROGRESSIVE_UPGRADE_STATE *WINPR_RESTRICT state) |
|
static INLINE int | progressive_rfx_upgrade_block (RFX_PROGRESSIVE_UPGRADE_STATE *WINPR_RESTRICT state, INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT sign, UINT32 length, UINT32 shift, UINT32 bitPos, UINT32 numBits) |
|
static INLINE int | progressive_rfx_upgrade_component (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT shift, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT bitPos, const RFX_COMPONENT_CODEC_QUANT *WINPR_RESTRICT numBits, INT16 *WINPR_RESTRICT buffer, INT16 *WINPR_RESTRICT current, INT16 *WINPR_RESTRICT sign, const BYTE *WINPR_RESTRICT srlData, UINT32 srlLen, const BYTE *WINPR_RESTRICT rawData, UINT32 rawLen, BOOL coeffDiff, BOOL subbandDiff, BOOL extrapolate) |
|
static INLINE int | progressive_decompress_tile_upgrade (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, RFX_PROGRESSIVE_TILE *WINPR_RESTRICT tile, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, const PROGRESSIVE_BLOCK_CONTEXT *WINPR_RESTRICT context) |
|
static INLINE BOOL | progressive_tile_read_upgrade (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, const PROGRESSIVE_BLOCK_CONTEXT *WINPR_RESTRICT context) |
|
static INLINE BOOL | progressive_tile_read (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, BOOL simple, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, const PROGRESSIVE_BLOCK_CONTEXT *WINPR_RESTRICT context) |
|
static void CALLBACK | progressive_process_tiles_tile_work_callback (PTP_CALLBACK_INSTANCE instance, void *context, PTP_WORK work) |
|
static INLINE SSIZE_T | progressive_process_tiles (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, const PROGRESSIVE_BLOCK_CONTEXT *WINPR_RESTRICT context) |
|
static INLINE SSIZE_T | progressive_wb_sync (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen) |
|
static INLINE SSIZE_T | progressive_wb_frame_begin (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen) |
|
static INLINE SSIZE_T | progressive_wb_frame_end (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen) |
|
static INLINE SSIZE_T | progressive_wb_context (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen) |
|
static INLINE SSIZE_T | progressive_wb_read_region_header (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region) |
|
static INLINE SSIZE_T | progressive_wb_skip_region (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen) |
|
static INLINE SSIZE_T | progressive_wb_region (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, UINT16 blockType, UINT32 blockLen, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region) |
|
static INLINE SSIZE_T | progressive_parse_block (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, wStream *WINPR_RESTRICT s, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region) |
|
static INLINE BOOL | update_tiles (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, PROGRESSIVE_SURFACE_CONTEXT *WINPR_RESTRICT surface, BYTE *WINPR_RESTRICT pDstData, UINT32 DstFormat, UINT32 nDstStep, UINT32 nXDst, UINT32 nYDst, PROGRESSIVE_BLOCK_REGION *WINPR_RESTRICT region, REGION16 *WINPR_RESTRICT invalidRegion) |
|
INT32 | progressive_decompress (PROGRESSIVE_CONTEXT *WINPR_RESTRICT progressive, const BYTE *WINPR_RESTRICT pSrcData, UINT32 SrcSize, BYTE *WINPR_RESTRICT pDstData, UINT32 DstFormat, UINT32 nDstStep, UINT32 nXDst, UINT32 nYDst, REGION16 *WINPR_RESTRICT invalidRegion, UINT16 surfaceId, UINT32 frameId) |
|
BOOL | progressive_rfx_write_message_progressive_simple (PROGRESSIVE_CONTEXT *progressive, wStream *s, const RFX_MESSAGE *msg) |
|
int | progressive_compress (PROGRESSIVE_CONTEXT *progressive, const BYTE *pSrcData, UINT32 SrcSize, UINT32 SrcFormat, UINT32 Width, UINT32 Height, UINT32 ScanLine, const REGION16 *invalidRegion, BYTE **ppDstData, UINT32 *pDstSize) |
|
BOOL | progressive_context_reset (PROGRESSIVE_CONTEXT *progressive) |
|
PROGRESSIVE_CONTEXT * | progressive_context_new (BOOL Compressor) |
|
PROGRESSIVE_CONTEXT * | progressive_context_new_ex (BOOL Compressor, UINT32 ThreadingFlags) |
|
void | progressive_context_free (PROGRESSIVE_CONTEXT *progressive) |
|