Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Typedefs | Functions
jdmerge.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Go to the source code of this file.

Macros

#define JPEG_INTERNALS
 
#define SCALEBITS   16 /* speediest right-shift on some machines */
 
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
 
#define FIX(x)   ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
 

Typedefs

typedef my_upsampler * my_upsample_ptr
 

Functions

 build_ycc_rgb_table (j_decompress_ptr cinfo)
 
 start_pass_merged_upsample (j_decompress_ptr cinfo)
 
 merged_2v_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 
 merged_1v_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 
 h2v1_merged_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
 
 h2v2_merged_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
 
 jinit_merged_upsampler (j_decompress_ptr cinfo)
 

Macro Definition Documentation

◆ FIX

#define FIX (   x)    ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))

Definition at line 74 of file jdmerge.c.

Referenced by build_ycc_rgb_table().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 35 of file jdmerge.c.

◆ ONE_HALF

#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))

Definition at line 73 of file jdmerge.c.

Referenced by build_ycc_rgb_table().

◆ SCALEBITS

#define SCALEBITS   16 /* speediest right-shift on some machines */

Definition at line 72 of file jdmerge.c.

Referenced by build_ycc_rgb_table(), h2v1_merged_upsample(), and h2v2_merged_upsample().

Typedef Documentation

◆ my_upsample_ptr

typedef my_upsampler* my_upsample_ptr

Definition at line 70 of file jdmerge.c.

Function Documentation

◆ build_ycc_rgb_table()

build_ycc_rgb_table ( j_decompress_ptr  cinfo)

◆ h2v1_merged_upsample()

h2v1_merged_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_group_ctr,
JSAMPARRAY  output_buf 
)

Definition at line 226 of file jdmerge.c.

References for(), GETJSAMPLE, int, METHODDEF, output_buf, RIGHT_SHIFT, SCALEBITS, and SHIFT_TEMPS.

Referenced by jinit_merged_upsampler().

◆ h2v2_merged_upsample()

h2v2_merged_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_group_ctr,
JSAMPARRAY  output_buf 
)

Definition at line 288 of file jdmerge.c.

References for(), GETJSAMPLE, GLOBAL, int, output_buf, RIGHT_SHIFT, SCALEBITS, and SHIFT_TEMPS.

Referenced by jinit_merged_upsampler().

◆ jinit_merged_upsampler()

jinit_merged_upsampler ( j_decompress_ptr  cinfo)

◆ merged_1v_upsample()

merged_1v_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION in_row_group_ctr,
JDIMENSION  in_row_groups_avail,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

Definition at line 193 of file jdmerge.c.

References METHODDEF, and output_buf.

Referenced by jinit_merged_upsampler().

◆ merged_2v_upsample()

merged_2v_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION in_row_group_ctr,
JDIMENSION  in_row_groups_avail,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

Definition at line 144 of file jdmerge.c.

References FALSE, if(), jcopy_sample_rows(), METHODDEF, num_rows, and TRUE.

Referenced by jinit_merged_upsampler().

◆ start_pass_merged_upsample()

start_pass_merged_upsample ( j_decompress_ptr  cinfo)

Definition at line 126 of file jdmerge.c.

References FALSE.

Referenced by jinit_merged_upsampler().