OpenJPEG  2.4.0
Functions
jpipstream_manager.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "jpipstream_manager.h"
#include "jp2k_encoder.h"
#include "jp2k_decoder.h"
#include "ihdrbox_manager.h"
#include "j2kheader_manager.h"

Functions

Byte_tupdate_JPIPstream (Byte_t *newstream, OPJ_SIZE_T newstreamlen, Byte_t *cache_stream, OPJ_SIZE_T *streamlen)
 
void save_codestream (Byte_t *codestream, OPJ_SIZE_T streamlen, const char *fmt)
 
Byte_tjpipstream_to_pnm (Byte_t *jpipstream, msgqueue_param_t *msgqueue, Byte8_t csn, int fw, int fh, ihdrbox_param_t **ihdrbox)
 
ihdrbox_param_tget_SIZ_from_jpipstream (Byte_t *jpipstream, msgqueue_param_t *msgqueue, Byte8_t csn)
 

Function Documentation

ihdrbox_param_t* get_SIZ_from_jpipstream ( Byte_t jpipstream,
msgqueue_param_t msgqueue,
Byte8_t  csn 
)
Byte_t* jpipstream_to_pnm ( Byte_t jpipstream,
msgqueue_param_t msgqueue,
Byte8_t  csn,
int  fw,
int  fh,
ihdrbox_param_t **  ihdrbox 
)

References j2k_to_pnm(), opj_free(), and recons_j2k().

Referenced by handle_PNMreqMSG().

void save_codestream ( Byte_t codestream,
OPJ_SIZE_T  streamlen,
const char *  fmt 
)
Byte_t* update_JPIPstream ( Byte_t newstream,
OPJ_SIZE_T  newstreamlen,
Byte_t cache_stream,
OPJ_SIZE_T streamlen 
)

References opj_free(), and opj_malloc().

Referenced by handle_JPIPstreamMSG().