FreeRDP
progressive.h File Reference
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <winpr/wlog.h>
#include <winpr/collections.h>
#include <freerdp/codec/rfx.h>
#include <freerdp/codec/color.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  RFX_COMPONENT_CODEC_QUANT
struct  RFX_PROGRESSIVE_CODEC_QUANT
struct  PROGRESSIVE_BLOCK
struct  PROGRESSIVE_BLOCK_SYNC
struct  PROGRESSIVE_BLOCK_CONTEXT
struct  RFX_PROGRESSIVE_TILE
struct  PROGRESSIVE_BLOCK_REGION
struct  PROGRESSIVE_BLOCK_FRAME_BEGIN
struct  PROGRESSIVE_BLOCK_FRAME_END
struct  PROGRESSIVE_SURFACE_CONTEXT
struct  PROGRESSIVE_CONTEXT

Defines

#define RFX_SUBBAND_DIFFING   0x01
#define RFX_TILE_DIFFERENCE   0x01
#define RFX_DWT_REDUCE_EXTRAPOLATE   0x01
#define PROGRESSIVE_WBT_SYNC   0xCCC0
#define PROGRESSIVE_WBT_FRAME_BEGIN   0xCCC1
#define PROGRESSIVE_WBT_FRAME_END   0xCCC2
#define PROGRESSIVE_WBT_CONTEXT   0xCCC3
#define PROGRESSIVE_WBT_REGION   0xCCC4
#define PROGRESSIVE_WBT_TILE_SIMPLE   0xCCC5
#define PROGRESSIVE_WBT_TILE_FIRST   0xCCC6
#define PROGRESSIVE_WBT_TILE_UPGRADE   0xCCC7

Functions

FREERDP_API int progressive_compress (PROGRESSIVE_CONTEXT *progressive, BYTE *pSrcData, UINT32 SrcSize, BYTE **ppDstData, UINT32 *pDstSize)
FREERDP_API INT32 progressive_decompress (PROGRESSIVE_CONTEXT *progressive, const BYTE *pSrcData, UINT32 SrcSize, BYTE *pDstData, UINT32 DstFormat, UINT32 nDstStep, UINT32 nXDst, UINT32 nYDst, UINT32 nWidth, UINT32 nHeight, UINT16 surfaceId)
FREERDP_API INT32 progressive_create_surface_context (PROGRESSIVE_CONTEXT *progressive, UINT16 surfaceId, UINT32 width, UINT32 height)
FREERDP_API int progressive_delete_surface_context (PROGRESSIVE_CONTEXT *progressive, UINT16 surfaceId)
FREERDP_API BOOL progressive_context_reset (PROGRESSIVE_CONTEXT *progressive)
FREERDP_API PROGRESSIVE_CONTEXT * progressive_context_new (BOOL Compressor)
FREERDP_API void progressive_context_free (PROGRESSIVE_CONTEXT *progressive)

Define Documentation

#define PROGRESSIVE_WBT_CONTEXT   0xCCC3
#define PROGRESSIVE_WBT_FRAME_BEGIN   0xCCC1
#define PROGRESSIVE_WBT_FRAME_END   0xCCC2
#define PROGRESSIVE_WBT_REGION   0xCCC4
#define PROGRESSIVE_WBT_SYNC   0xCCC0
#define PROGRESSIVE_WBT_TILE_FIRST   0xCCC6
#define PROGRESSIVE_WBT_TILE_SIMPLE   0xCCC5
#define PROGRESSIVE_WBT_TILE_UPGRADE   0xCCC7
#define RFX_DWT_REDUCE_EXTRAPOLATE   0x01
#define RFX_SUBBAND_DIFFING   0x01
#define RFX_TILE_DIFFERENCE   0x01

Function Documentation

FREERDP_API int progressive_compress ( PROGRESSIVE_CONTEXT *  progressive,
BYTE pSrcData,
UINT32  SrcSize,
BYTE **  ppDstData,
UINT32 pDstSize 
)
FREERDP_API void progressive_context_free ( PROGRESSIVE_CONTEXT *  progressive)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API PROGRESSIVE_CONTEXT* progressive_context_new ( BOOL  Compressor)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL progressive_context_reset ( PROGRESSIVE_CONTEXT *  progressive)

Here is the caller graph for this function:

FREERDP_API INT32 progressive_create_surface_context ( PROGRESSIVE_CONTEXT *  progressive,
UINT16  surfaceId,
UINT32  width,
UINT32  height 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API INT32 progressive_decompress ( PROGRESSIVE_CONTEXT *  progressive,
const BYTE pSrcData,
UINT32  SrcSize,
BYTE pDstData,
UINT32  DstFormat,
UINT32  nDstStep,
UINT32  nXDst,
UINT32  nYDst,
UINT32  nWidth,
UINT32  nHeight,
UINT16  surfaceId 
)

If the number of elements specified by the regionCount field is larger than the actual number of elements in the regions field, the decoder SHOULD ignore this inconsistency.

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API int progressive_delete_surface_context ( PROGRESSIVE_CONTEXT *  progressive,
UINT16  surfaceId 
)

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines