OpenJPEG 2.5.3
jp2k_decoder.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include "jp2k_decoder.h"
#include "openjpeg.h"

Functions

static void error_callback (const char *msg, void *client_data)
 sample error callback expecting a FILE* client object
static void warning_callback (const char *msg, void *client_data)
 sample warning callback expecting a FILE* client object
static void info_callback (const char *msg, void *client_data)
 sample debug callback expecting no client object
static Byte_timagetopnm (opj_image_t *image, ihdrbox_param_t **ihdrbox)
Byte_tj2k_to_pnm (const char *fn, ihdrbox_param_t **ihdrbox)

Function Documentation

◆ error_callback()

void error_callback ( const char * msg,
void * client_data )
static

sample error callback expecting a FILE* client object

Referenced by j2k_to_pnm().

◆ imagetopnm()

◆ info_callback()

void info_callback ( const char * msg,
void * client_data )
static

sample debug callback expecting no client object

Referenced by j2k_to_pnm().

◆ j2k_to_pnm()

◆ warning_callback()

void warning_callback ( const char * msg,
void * client_data )
static

sample warning callback expecting a FILE* client object

Referenced by j2k_to_pnm().