"L. Spiro Engine"
Classes | Public Types | Static Public Member Functions

lsi::CTcd Class Reference

Implementation of a tile coder/decoder (TCD). More...

#include <LSITcd.h>

List of all members.

Classes

struct  opj_tcd_band
struct  opj_tcd_cblk_dec
struct  opj_tcd_cblk_enc
struct  opj_tcd_image
struct  opj_tcd_layer
struct  opj_tcd_pass
struct  opj_tcd_precinct
struct  opj_tcd_resolution
struct  opj_tcd_seg
struct  opj_tcd_t
struct  opj_tcd_tile
struct  opj_tcd_tilecomp

Public Types

typedef struct
lsi::CTcd::opj_tcd_seg 
opj_tcd_seg_t
typedef struct
lsi::CTcd::opj_tcd_pass 
opj_tcd_pass_t
typedef struct
lsi::CTcd::opj_tcd_layer 
opj_tcd_layer_t
typedef struct
lsi::CTcd::opj_tcd_cblk_enc 
opj_tcd_cblk_enc_t
typedef struct
lsi::CTcd::opj_tcd_cblk_dec 
opj_tcd_cblk_dec_t
typedef struct
lsi::CTcd::opj_tcd_precinct 
opj_tcd_precinct_t
typedef struct
lsi::CTcd::opj_tcd_band 
opj_tcd_band_t
typedef struct
lsi::CTcd::opj_tcd_resolution 
opj_tcd_resolution_t
typedef struct
lsi::CTcd::opj_tcd_tilecomp 
opj_tcd_tilecomp_t
typedef struct
lsi::CTcd::opj_tcd_tile 
opj_tcd_tile_t
typedef struct
lsi::CTcd::opj_tcd_image 
opj_tcd_image_t
typedef struct
lsi::CTcd::opj_tcd_t
LPopj_tcd_t
typedef struct lsi::CTcd::opj_tcd_t LPCopj_tcd_t

Static Public Member Functions

static opj_tcd_t *LSE_CALL tcd_create (CJpegCommonStructs::opj_common_ptr _cpCInfo)
static LSVOID LSE_CALL tcd_destroy (opj_tcd_t *_ptTcd)
static LSVOID LSE_CALL tcd_malloc_encode (opj_tcd_t *_ptTcd, CJpegImage::opj_image_t *_piImage, CJ2k::opj_cp_t *_pcCp, LSINT32 _i32CurtileNo)
static LSVOID LSE_CALL tcd_free_encode (opj_tcd_t *_ptTcd)
static LSVOID LSE_CALL tcd_init_encode (opj_tcd_t *_ptTcd, CJpegImage::opj_image_t *_piImage, CJ2k::opj_cp_t *_pcCp, LSINT32 _i32CurTileNo)
static LSVOID LSE_CALL tcd_malloc_decode (opj_tcd_t *_ptTcd, CJpegImage::opj_image_t *_piImage, CJ2k::opj_cp_t *_pcCp)
static LSVOID LSE_CALL tcd_malloc_decode_tile (opj_tcd_t *_ptTcd, CJpegImage::opj_image_t *_piImage, CJ2k::opj_cp_t *_pcCp, LSINT32 _i32TileNo, CJpegCommonStructs::opj_codestream_info_t *_pciInfoC)
static LSVOID LSE_CALL tcd_makelayer_fixed (opj_tcd_t *_ptTcd, LSINT32 _i32LayNo, LSINT32 _i32Final)
static LSVOID LSE_CALL tcd_rateallocate_fixed (opj_tcd_t *_ptTcd)
static LSVOID LSE_CALL tcd_makelayer (opj_tcd_t *_ptTcd, LSINT32 _i32LayNo, LSDOUBLE _dThresh, LSINT32 _i32Final)
static LSBOOL LSE_CALL tcd_rateallocate (opj_tcd_t *_ptTcd, LSUINT8 *_pui8Dest, LSINT32 _i32Len, CJpegCommonStructs::opj_codestream_info_t *_pciInfoC)
static LSINT32 LSE_CALL tcd_encode_tile (opj_tcd_t *_ptTcd, LSINT32 _i32TileNo, LSUINT8 *_pui8Dest, LSINT32 _i32Len, CJpegCommonStructs::opj_codestream_info_t *_pciInfoC)
static LSBOOL LSE_CALL tcd_decode_tile (opj_tcd_t *_ptTcd, LSUINT8 *_pui8Src, LSINT32 _i32Len, LSINT32 _i32TileNo, CJpegCommonStructs::opj_codestream_info_t *_pciInfoC)
static LSVOID LSE_CALL tcd_free_decode (opj_tcd_t *_ptTcd)
static LSVOID LSE_CALL tcd_free_decode_tile (opj_tcd_t *_ptTcd, LSINT32 _i32TileNo)

Detailed Description

Implementation of a tile coder/decoder (TCD).

Class CTcd Description: Implementation of a tile coder/decoder (TCD).


Member Typedef Documentation

Tile coder/decoder

FIXME: documentation

FIXME: documentation

FIXME: documentation

FIXME: documentation

FIXME: documentation.

FIXME: documentation.

FIXME: documentation

FIXME: documentation

FIXME: documentation

FIXME: documentation

FIXME: documentation


Member Function Documentation

static opj_tcd_t* LSE_CALL lsi::CTcd::tcd_create ( CJpegCommonStructs::opj_common_ptr  _cpCInfo) [static]

Dump the content of a tcd structure. Create a new TCD handle.

Parameters:
_cpCInfoCodec context info.
Returns:
Returns a new TCD handle if successful returns NULL otherwise.
static LSBOOL LSE_CALL lsi::CTcd::tcd_decode_tile ( opj_tcd_t _ptTcd,
LSUINT8 *  _pui8Src,
LSINT32  _i32Len,
LSINT32  _i32TileNo,
CJpegCommonStructs::opj_codestream_info_t _pciInfoC 
) [static]

Decode a tile from a buffer into a raw image.

Parameters:
_ptTcdTCD handle.
_pui8SrcSource buffer.
_i32LenLength of source buffer.
_i32TileNoNumber that identifies one of the tiles to be decoded.
_pciInfoCCodestream information structure.
Returns:
Undocumented return from the OpenJpeg Library.
static LSVOID LSE_CALL lsi::CTcd::tcd_destroy ( opj_tcd_t _ptTcd) [static]

Destroy a previously created TCD handle.

Parameters:
_ptTcdTCD handle to destroy.
static LSINT32 LSE_CALL lsi::CTcd::tcd_encode_tile ( opj_tcd_t _ptTcd,
LSINT32  _i32TileNo,
LSUINT8 *  _pui8Dest,
LSINT32  _i32Len,
CJpegCommonStructs::opj_codestream_info_t _pciInfoC 
) [static]

Encode a tile from the raw image into a buffer.

Parameters:
_ptTcdTCD handle.
_i32TileNoNumber that identifies one of the tiles to be encoded.
_pui8DestDestination buffer.
_i32LenLength of destination buffer.
_pciInfoCCodestream information structure.
Returns:
Undocumented return from the OpenJpeg Library.
static LSVOID LSE_CALL lsi::CTcd::tcd_free_decode ( opj_tcd_t _ptTcd) [static]

Free the memory allocated for decoding.

Parameters:
_ptTcdTCD handle.
static LSVOID LSE_CALL lsi::CTcd::tcd_free_decode_tile ( opj_tcd_t _ptTcd,
LSINT32  _i32TileNo 
) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.
_i32TileNoUndocumented OpenJpeg Library parameter.
static LSVOID LSE_CALL lsi::CTcd::tcd_free_encode ( opj_tcd_t _ptTcd) [static]

Free the memory allocated for encoding.

Parameters:
_ptTcdTCD handle.
static LSVOID LSE_CALL lsi::CTcd::tcd_init_encode ( opj_tcd_t _ptTcd,
CJpegImage::opj_image_t _piImage,
CJ2k::opj_cp_t _pcCp,
LSINT32  _i32CurTileNo 
) [static]

Initialize the tile coder (reuses the memory allocated by tcd_malloc_encode).

Parameters:
_ptTcdTCD handle.
_piImageRaw image.
_pcCpCoding parameters.
_i32CurTileNoNumber that identifies the tile that will be encoded.
static LSVOID LSE_CALL lsi::CTcd::tcd_makelayer ( opj_tcd_t _ptTcd,
LSINT32  _i32LayNo,
LSDOUBLE  _dThresh,
LSINT32  _i32Final 
) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.
_i32LayNoUndocumented OpenJpeg Library parameter.
_dThreshUndocumented OpenJpeg Library parameter.
_i32FinalUndocumented OpenJpeg Library parameter.
static LSVOID LSE_CALL lsi::CTcd::tcd_makelayer_fixed ( opj_tcd_t _ptTcd,
LSINT32  _i32LayNo,
LSINT32  _i32Final 
) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.
_i32LayNoUndocumented OpenJpeg Library parameter.
_i32FinalUndocumented OpenJpeg Library parameter.
static LSVOID LSE_CALL lsi::CTcd::tcd_malloc_decode ( opj_tcd_t _ptTcd,
CJpegImage::opj_image_t _piImage,
CJ2k::opj_cp_t _pcCp 
) [static]

Initialize the tile decoder.

Parameters:
_ptTcdTCD handle.
_piImageRaw image.
_pcCpCoding parameters.
static LSVOID LSE_CALL lsi::CTcd::tcd_malloc_decode_tile ( opj_tcd_t _ptTcd,
CJpegImage::opj_image_t _piImage,
CJ2k::opj_cp_t _pcCp,
LSINT32  _i32TileNo,
CJpegCommonStructs::opj_codestream_info_t _pciInfoC 
) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.
_piImageRaw image.
_pcCpCoding parameters.
_i32TileNoUndocumented OpenJpeg Library parameter.
_pciInfoCUndocumented OpenJpeg Library parameter.
static LSVOID LSE_CALL lsi::CTcd::tcd_malloc_encode ( opj_tcd_t _ptTcd,
CJpegImage::opj_image_t _piImage,
CJ2k::opj_cp_t _pcCp,
LSINT32  _i32CurtileNo 
) [static]

Initialize the tile coder (allocate the memory).

Parameters:
_ptTcdTCD handle.
_piImageRaw _piImage.
_pcCpCoding parameters.
_i32CurtileNoNumber that identifies the tile that will be encoded.
static LSBOOL LSE_CALL lsi::CTcd::tcd_rateallocate ( opj_tcd_t _ptTcd,
LSUINT8 *  _pui8Dest,
LSINT32  _i32Len,
CJpegCommonStructs::opj_codestream_info_t _pciInfoC 
) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.
_pui8DestUndocumented OpenJpeg Library parameter.
_i32LenUndocumented OpenJpeg Library parameter.
_pciInfoCUndocumented OpenJpeg Library parameter.
static LSVOID LSE_CALL lsi::CTcd::tcd_rateallocate_fixed ( opj_tcd_t _ptTcd) [static]

Undocumented OpenJpeg Library function.

Parameters:
_ptTcdTCD handle.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator