OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph_codestream.cpp File Reference
#include <climits>
#include <cmath>
#include "ojph_file.h"
#include "ojph_mem.h"
#include "ojph_params.h"
#include "ojph_codestream.h"
#include "ojph_codestream_local.h"
#include "../transform/ojph_colour.h"
#include "../transform/ojph_transform.h"
#include "../coding/ojph_block_decoder.h"
#include "../coding/ojph_block_encoder.h"

Go to the source code of this file.

Classes

struct  ojph::local::bit_write_buf
 
struct  ojph::local::tag_tree
 
struct  ojph::local::bit_read_buf
 

Namespaces

namespace  ojph
 
namespace  ojph::local
 

Functions

static ui16 ojph::local::swap_byte (ui16 t)
 
static int ojph::local::find_marker (infile_base *f, const ui16 *char_list, int list_len)
 
static int ojph::local::skip_marker (infile_base *file, const char *marker, const char *msg, int msg_level, bool resilient)
 
static void ojph::local::rotate_buffers (line_buf *line1, line_buf *line2, line_buf *line3, line_buf *line4)
 
static void ojph::local::rotate_buffers (line_buf *line1, line_buf *line2, line_buf *line3, line_buf *line4, line_buf *line5, line_buf *line6)
 
static void ojph::local::bb_expand_buf (bit_write_buf *bbp, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list)
 
static void ojph::local::bb_init (bit_write_buf *bbp, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list)
 
static void ojph::local::bb_put_bit (bit_write_buf *bbp, ui32 bit, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list, ui32 &ph_bytes)
 
static void ojph::local::bb_put_bits (bit_write_buf *bbp, ui32 data, int num_bits, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list, ui32 &ph_bytes)
 
static void ojph::local::bb_terminate (bit_write_buf *bbp)
 
static ui32 ojph::local::log2ceil (ui32 x)
 
static void ojph::local::bb_init (bit_read_buf *bbp, ui32 bytes_left, infile_base *file)
 
static bool ojph::local::bb_read (bit_read_buf *bbp)
 
static bool ojph::local::bb_read_bit (bit_read_buf *bbp, ui32 &bit)
 
static bool ojph::local::bb_read_bits (bit_read_buf *bbp, int num_bits, ui32 &bits)
 
static bool ojph::local::bb_read_chunk (bit_read_buf *bbp, ui32 num_bytes, coded_lists *&cur_coded_list, mem_elastic_allocator *elastic)
 
static void ojph::local::bb_skip_eph (bit_read_buf *bbp)
 
static bool ojph::local::bb_terminate (bit_read_buf *bbp, bool uses_eph)
 
static bool ojph::local::bb_skip_sop (bit_read_buf *bbp)