Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
vil_openjpeg_decoder Class Reference

List of all members.

Public Member Functions

 vil_openjpeg_decoder (OPJ_CODEC_FORMAT opj_codec_format)
 ~vil_openjpeg_decoder (void)
bool error (void) const
void silence (void)
bool init_from_stream (unsigned int reduction, void *stream)
bool set_decode_area (unsigned int x, unsigned int y, unsigned int w, unsigned int h)
opj_image_t * take_image (void)
opj_image_t * decode (void)
const opj_headerheader (void) const

Private Member Functions

bool init_decoder (unsigned int reduction)
bool init_stream (void *stream)
bool read_header (void)

Static Private Member Functions

static vxl_uint_32 opj_vil_stream_read (void *p_buffer, vxl_uint_32 p_nb_bytes, void *p_user_data)
static vxl_uint_32 opj_vil_stream_write (void *p_buffer, vxl_uint_32 p_nb_bytes, void *p_user_data)
static vxl_uint_32 opj_vil_stream_skip (vxl_uint_32 p_nb_bytes, void *p_user_data)
static bool opj_vil_stream_seek (vxl_uint_32 p_nb_bytes, void *p_user_data)
static void opj_event_info (const char *msg, void *data)
static void opj_event_warning (const char *msg, void *data)
static void opj_event_error (const char *msg, void *data)

Private Attributes

opj_dparameters_t params_
opj_codec_t * codec_
opj_image_t * image_
opj_stream_t * stream_
opj_header header_
OPJ_CODEC_FORMAT opj_codec_format_
bool error_
bool silent_

Detailed Description

Definition at line 88 of file vil_openjpeg.cxx.


Constructor & Destructor Documentation

vil_openjpeg_decoder::vil_openjpeg_decoder ( OPJ_CODEC_FORMAT  opj_codec_format)

Definition at line 173 of file vil_openjpeg.cxx.

vil_openjpeg_decoder::~vil_openjpeg_decoder ( void  )

Definition at line 183 of file vil_openjpeg.cxx.


Member Function Documentation

opj_image_t * vil_openjpeg_decoder::decode ( void  )

Definition at line 350 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::error ( void  ) const

Definition at line 206 of file vil_openjpeg.cxx.

const opj_header * vil_openjpeg_decoder::header ( void  ) const

Definition at line 359 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::init_decoder ( unsigned int  reduction) [private]

Definition at line 269 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::init_from_stream ( unsigned int  reduction,
void *  stream 
)

Definition at line 222 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::init_stream ( void *  stream) [private]

Definition at line 239 of file vil_openjpeg.cxx.

void vil_openjpeg_decoder::opj_event_error ( const char *  msg,
void *  data 
) [static, private]

Definition at line 473 of file vil_openjpeg.cxx.

void vil_openjpeg_decoder::opj_event_info ( const char *  msg,
void *  data 
) [static, private]

Definition at line 457 of file vil_openjpeg.cxx.

void vil_openjpeg_decoder::opj_event_warning ( const char *  msg,
void *  data 
) [static, private]

Definition at line 465 of file vil_openjpeg.cxx.

vxl_uint_32 vil_openjpeg_decoder::opj_vil_stream_read ( void *  p_buffer,
vxl_uint_32  p_nb_bytes,
void *  p_user_data 
) [static, private]

Definition at line 371 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::opj_vil_stream_seek ( vxl_uint_32  p_nb_bytes,
void *  p_user_data 
) [static, private]

Definition at line 433 of file vil_openjpeg.cxx.

vxl_uint_32 vil_openjpeg_decoder::opj_vil_stream_skip ( vxl_uint_32  p_nb_bytes,
void *  p_user_data 
) [static, private]

Definition at line 411 of file vil_openjpeg.cxx.

vxl_uint_32 vil_openjpeg_decoder::opj_vil_stream_write ( void *  p_buffer,
vxl_uint_32  p_nb_bytes,
void *  p_user_data 
) [static, private]

Definition at line 391 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::read_header ( void  ) [private]

Definition at line 308 of file vil_openjpeg.cxx.

bool vil_openjpeg_decoder::set_decode_area ( unsigned int  x,
unsigned int  y,
unsigned int  w,
unsigned int  h 
)

Definition at line 330 of file vil_openjpeg.cxx.

void vil_openjpeg_decoder::silence ( void  )

Definition at line 214 of file vil_openjpeg.cxx.

opj_image_t * vil_openjpeg_decoder::take_image ( void  )

Definition at line 340 of file vil_openjpeg.cxx.


Member Data Documentation

opj_codec_t* vil_openjpeg_decoder::codec_ [private]

Definition at line 107 of file vil_openjpeg.cxx.

Definition at line 113 of file vil_openjpeg.cxx.

Definition at line 110 of file vil_openjpeg.cxx.

opj_image_t* vil_openjpeg_decoder::image_ [private]

Definition at line 108 of file vil_openjpeg.cxx.

OPJ_CODEC_FORMAT vil_openjpeg_decoder::opj_codec_format_ [private]

Definition at line 111 of file vil_openjpeg.cxx.

opj_dparameters_t vil_openjpeg_decoder::params_ [private]

Definition at line 106 of file vil_openjpeg.cxx.

Definition at line 114 of file vil_openjpeg.cxx.

opj_stream_t* vil_openjpeg_decoder::stream_ [private]

Definition at line 109 of file vil_openjpeg.cxx.


The documentation for this class was generated from the following file: