OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph_colour.cpp File Reference
#include <cmath>
#include "ojph_defs.h"
#include "ojph_arch.h"
#include "ojph_mem.h"
#include "ojph_colour.h"
#include "ojph_colour_local.h"

Go to the source code of this file.

Namespaces

namespace  ojph
 
namespace  ojph::local
 

Functions

void ojph::local::init_colour_transform_functions ()
 
void ojph::local::gen_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
 
void ojph::local::gen_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
 
void ojph::local::gen_cnvrt_si32_to_float_shftd (const si32 *sp, float *dp, float mul, ui32 width)
 
void ojph::local::gen_cnvrt_si32_to_float (const si32 *sp, float *dp, float mul, ui32 width)
 
void ojph::local::gen_cnvrt_float_to_si32_shftd (const float *sp, si32 *dp, float mul, ui32 width)
 
void ojph::local::gen_cnvrt_float_to_si32 (const float *sp, si32 *dp, float mul, ui32 width)
 
void ojph::local::gen_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
 
void ojph::local::gen_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
 
void ojph::local::gen_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
 
void ojph::local::gen_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
 

Variables

void(* ojph::local::rev_convert )(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) = NULL
 
void(* ojph::local::rev_convert_nlt_type3 )(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) = NULL
 
void(* ojph::local::cnvrt_si32_to_float_shftd )(const si32 *sp, float *dp, float mul, ui32 width) = NULL
 
void(* ojph::local::cnvrt_si32_to_float )(const si32 *sp, float *dp, float mul, ui32 width) = NULL
 
void(* ojph::local::cnvrt_float_to_si32_shftd )(const float *sp, si32 *dp, float mul, ui32 width) = NULL
 
void(* ojph::local::cnvrt_float_to_si32 )(const float *sp, si32 *dp, float mul, ui32 width) = NULL
 
void(* ojph::local::rct_forward )(const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat) = NULL
 
void(* ojph::local::rct_backward )(const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat) = NULL
 
void(* ojph::local::ict_forward )(const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat) = NULL
 
void(* ojph::local::ict_backward )(const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat) = NULL
 
static bool ojph::local::colour_transform_functions_initialized = false