libdcp
Classes | Functions
j2k_transcode.cc File Reference

Methods to encode and decode JPEG2000. More...

#include "array_data.h"
#include "j2k_transcode.h"
#include "exceptions.h"
#include "openjpeg_image.h"
#include "dcp_assert.h"
#include "compose.hpp"
#include <openjpeg.h>
#include <cmath>
#include <iostream>

Go to the source code of this file.

Classes

class  ReadBuffer
 
class  WriteBuffer
 

Functions

static OPJ_SIZE_T read_function (void *buffer, OPJ_SIZE_T nb_bytes, void *data)
 
static void read_free_function (void *data)
 
static void decompress_error_callback (char const *msg, void *)
 
static void compress_error_callback (char const *msg, void *)
 
static OPJ_SIZE_T write_function (void *buffer, OPJ_SIZE_T nb_bytes, void *data)
 
static void write_free_function (void *data)
 
static OPJ_BOOL seek_function (OPJ_OFF_T nb_bytes, void *data)
 

Detailed Description

Methods to encode and decode JPEG2000.

Definition in file j2k_transcode.cc.