OpenJPEG  2.4.0
Functions
jp2k_encoder.h File Reference
#include "byte_manager.h"
#include "msgqueue_manager.h"

Go to the source code of this file.

Functions

Byte_trecons_j2k (msgqueue_param_t *msgqueue, Byte_t *jpipstream, Byte8_t csn, int fw, int fh, Byte8_t *j2klen)
 reconstruct j2k codestream from message queue More...
 
Byte_trecons_jp2 (msgqueue_param_t *msgqueue, Byte_t *jpipstream, Byte8_t csn, Byte8_t *jp2len)
 reconstruct jp2 file codestream from message queue More...
 
Byte_trecons_j2kmainhead (msgqueue_param_t *msgqueue, Byte_t *jpipstream, Byte8_t csn, Byte8_t *j2klen)
 reconstruct j2k codestream of mainheader from message queue More...
 

Function Documentation

Byte_t* recons_j2k ( msgqueue_param_t msgqueue,
Byte_t jpipstream,
Byte8_t  csn,
int  fw,
int  fh,
Byte8_t j2klen 
)

reconstruct j2k codestream from message queue

Parameters
[in]msgqueuemessage queue pointer
[in]jpipstreamoriginal jpt- jpp- stream
[in]csncodestream number
[in]fwreconstructing image frame width
[in]fhreconstructing image frame height
[out]j2klenpointer to the j2k codestream length
Returns
generated reconstructed j2k codestream

References add_emptyboxstream(), add_msgstream(), and recons_codestream().

Referenced by decode_jpip(), and jpipstream_to_pnm().

Byte_t* recons_j2kmainhead ( msgqueue_param_t msgqueue,
Byte_t jpipstream,
Byte8_t  csn,
Byte8_t j2klen 
)

reconstruct j2k codestream of mainheader from message queue

Parameters
[in]msgqueuemessage queue pointer
[in]jpipstreamoriginal jpt- jpp- stream
[in]csncodestream number
[out]j2klenpointer to the j2k codestream length
Returns
generated reconstructed j2k codestream

References add_mainhead_msgstream().

Referenced by get_SIZ_from_jpipstream().

Byte_t* recons_jp2 ( msgqueue_param_t msgqueue,
Byte_t jpipstream,
Byte8_t  csn,
Byte8_t jp2len 
)

reconstruct jp2 file codestream from message queue

Parameters
[in]msgqueuemessage queue pointer
[in]jpipstreamoriginal jpt- jpp- stream
[in]csncodestream number
[out]jp2lenpointer to the jp2 codestream length
Returns
generated reconstructed jp2 codestream

References add_emptyboxstream(), add_EOC(), add_msgstream(), msgqueue_param::first, isJPPstream(), METADATA_MSG, message_param::next, opj_free(), placeholder_param::OrigBH, placeholder_param::OrigBHlen, message_param::phld, recons_codestream(), recons_codestream_from_JPPstream(), recons_codestream_from_JPTstream(), and search_message().

Referenced by decode_jpip(), and handle_JP2saveMSG().