jdsample.c File Reference

#include "jinclude.h"
#include "jpeglib.h"

Go to the source code of this file.

Classes

struct  my_upsampler

Defines

#define JPEG_INTERNALS

Typedefs

typedef my_upsamplermy_upsample_ptr

Functions

typedef JMETHOD (void, upsample1_ptr,(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr))
 start_pass_upsample (j_decompress_ptr cinfo)
 sep_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)
 fullsize_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 noop_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 int_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 h2v2_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 jinit_upsampler (j_decompress_ptr cinfo)


Define Documentation

#define JPEG_INTERNALS

Definition at line 22 of file jdsample.c.


Typedef Documentation

typedef my_upsampler* my_upsample_ptr

Definition at line 62 of file jdsample.c.


Function Documentation

fullsize_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)

Definition at line 158 of file jdsample.c.

Referenced by jinit_upsampler().

h2v1_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)

Definition at line 234 of file jdsample.c.

Referenced by jinit_upsampler().

h2v2_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)

Definition at line 262 of file jdsample.c.

References jcopy_sample_rows().

Referenced by jinit_upsampler().

int_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)

Definition at line 190 of file jdsample.c.

References h, my_upsampler::h_expand, jcopy_sample_rows(), and my_upsampler::v_expand.

Referenced by jinit_upsampler().

jinit_upsampler ( j_decompress_ptr  cinfo  ) 

Definition at line 294 of file jdsample.c.

References my_upsampler::color_buf, jpeg_component_info::component_needed, compptr, jpeg_component_info::DCT_h_scaled_size, jpeg_component_info::DCT_v_scaled_size, ERREXIT, FALSE, fullsize_upsample(), h2v1_upsample(), h2v2_upsample(), my_upsampler::h_expand, jpeg_component_info::h_samp_factor, int_upsample(), JPOOL_IMAGE, jround_up(), my_upsampler::methods, jpeg_upsampler::need_context_rows, noop_upsample(), my_upsampler::pub, my_upsampler::rowgroup_height, sep_upsample(), SIZEOF, start_pass_upsample(), TRUE, my_upsampler::v_expand, and jpeg_component_info::v_samp_factor.

Referenced by master_selection().

typedef JMETHOD ( void  ,
upsample1_ptr  ,
(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)   
)

noop_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)

Definition at line 171 of file jdsample.c.

References NULL.

Referenced by jinit_upsampler().

sep_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 90 of file jdsample.c.

References my_upsampler::color_buf, compptr, if(), my_upsampler::methods, my_upsampler::next_row_out, num_rows, my_upsampler::rowgroup_height, and my_upsampler::rows_to_go.

Referenced by jinit_upsampler().

start_pass_upsample ( j_decompress_ptr  cinfo  ) 

Definition at line 70 of file jdsample.c.

References my_upsampler::next_row_out, and my_upsampler::rows_to_go.

Referenced by jinit_upsampler().


Generated on Tue Jul 5 15:57:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1