Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Classes | |
struct | JQUANT_TBL |
struct | JHUFF_TBL |
struct | jpeg_component_info |
struct | jpeg_scan_info |
struct | jpeg_marker_struct |
struct | jpeg_common_struct |
struct | jpeg_compress_struct |
struct | jpeg_decompress_struct |
struct | jpeg_error_mgr |
struct | jpeg_progress_mgr |
struct | jpeg_destination_mgr |
struct | jpeg_source_mgr |
struct | jpeg_memory_mgr |
Macros | |
#define | JPEG_LIB_VERSION 62 /* Version 6b */ |
#define | DCTSIZE 8 /* The basic DCT block is 8x8 samples */ |
#define | DCTSIZE2 64 /* DCTSIZE squared; # of elements in a block */ |
#define | NUM_QUANT_TBLS 4 /* Quantization tables are numbered 0..3 */ |
#define | NUM_HUFF_TBLS 4 /* Huffman tables are numbered 0..3 */ |
#define | NUM_ARITH_TBLS 16 /* Arith-coding tables are numbered 0..15 */ |
#define | MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ |
#define | MAX_SAMP_FACTOR 4 /* JPEG limit on sampling factors */ |
#define | C_MAX_BLOCKS_IN_MCU 10 /* compressor's limit on blocks per MCU */ |
#define | D_MAX_BLOCKS_IN_MCU 10 /* decompressor's limit on blocks per MCU */ |
#define | JDCT_DEFAULT JDCT_ISLOW |
#define | JDCT_FASTEST JDCT_IFAST |
#define | jpeg_common_fields |
#define | JMSG_LENGTH_MAX 200 /* recommended size of format_message buffer */ |
#define | JMSG_STR_PARM_MAX 80 |
#define | JPOOL_PERMANENT 0 /* lasts until master record is destroyed */ |
#define | JPOOL_IMAGE 1 /* lasts until done with image/datastream */ |
#define | JPOOL_NUMPOOLS 2 |
#define | JPP(arglist) arglist |
#define | jpeg_create_compress(cinfo) |
#define | jpeg_create_decompress(cinfo) |
#define | JPEG_SUSPENDED 0 /* Suspended due to lack of input data */ |
#define | JPEG_HEADER_OK 1 /* Found valid image datastream */ |
#define | JPEG_HEADER_TABLES_ONLY 2 /* Found valid table-specs-only datastream */ |
#define | JPEG_REACHED_SOS 1 /* Reached start of new scan */ |
#define | JPEG_REACHED_EOI 2 /* Reached end of image */ |
#define | JPEG_ROW_COMPLETED 3 /* Completed one iMCU row */ |
#define | JPEG_SCAN_COMPLETED 4 /* Completed last iMCU row of a scan */ |
#define | JPEG_RST0 0xD0 /* RST0 marker code */ |
#define | JPEG_EOI 0xD9 /* EOI marker code */ |
#define | JPEG_APP0 0xE0 /* APP0 marker code */ |
#define | JPEG_COM 0xFE /* COM marker code */ |
Typedefs | |
typedef JSAMPLE FAR * | JSAMPROW |
typedef JSAMPROW * | JSAMPARRAY |
typedef JSAMPARRAY * | JSAMPIMAGE |
typedef JCOEF | JBLOCK[DCTSIZE2] |
typedef JBLOCK FAR * | JBLOCKROW |
typedef JBLOCKROW * | JBLOCKARRAY |
typedef JBLOCKARRAY * | JBLOCKIMAGE |
typedef JCOEF FAR * | JCOEFPTR |
typedef struct jpeg_marker_struct FAR * | jpeg_saved_marker_ptr |
typedef struct jpeg_common_struct * | j_common_ptr |
typedef struct jpeg_compress_struct * | j_compress_ptr |
typedef struct jpeg_decompress_struct * | j_decompress_ptr |
typedef struct jvirt_sarray_control * | jvirt_sarray_ptr |
typedef struct jvirt_barray_control * | jvirt_barray_ptr |
Enumerations | |
enum | J_COLOR_SPACE { JCS_UNKNOWN, JCS_GRAYSCALE, JCS_RGB, JCS_YCbCr, JCS_CMYK, JCS_YCCK } |
enum | J_DCT_METHOD { JDCT_ISLOW, JDCT_IFAST, JDCT_FLOAT } |
enum | J_DITHER_MODE { JDITHER_NONE, JDITHER_ORDERED, JDITHER_FS } |
Functions | |
typedef | JMETHOD (boolean, jpeg_marker_parser_method,(j_decompress_ptr cinfo)) |
EXTERN (struct jpeg_error_mgr *) jpeg_std_error JPP((struct jpeg_error_mgr *err)) | |
EXTERN (void) jpeg_CreateCompress JPP((j_compress_ptr cinfo | |
EXTERN (int) jpeg_quality_scaling JPP((int quality)) | |
EXTERN (JQUANT_TBL *) jpeg_alloc_quant_table JPP((j_common_ptr cinfo)) | |
EXTERN (JHUFF_TBL *) jpeg_alloc_huff_table JPP((j_common_ptr cinfo)) | |
EXTERN (JDIMENSION) jpeg_write_scanlines JPP((j_compress_ptr cinfo | |
EXTERN (boolean) jpeg_start_decompress JPP((j_decompress_ptr cinfo)) | |
EXTERN (jvirt_barray_ptr *) jpeg_read_coefficients JPP((j_decompress_ptr cinfo)) | |
Variables | |
int | version |
int size_t | structsize |
FILE * | outfile |
FILE * | infile |
J_COLOR_SPACE | colorspace |
int | quality |
int boolean | force_baseline |
int | scale_factor |
int | which_tbl |
int const unsigned int * | basic_table |
boolean | suppress |
boolean | write_all_tables |
JSAMPARRAY | scanlines |
JSAMPARRAY JDIMENSION | num_lines |
JSAMPIMAGE | data |
int | marker |
int const JOCTET * | dataptr |
int const JOCTET unsigned int | datalen |
int | val |
boolean | require_image |
JSAMPARRAY JDIMENSION | max_lines |
int | scan_number |
int | marker_code |
int unsigned int | length_limit |
int jpeg_marker_parser_method | routine |
jvirt_barray_ptr * | coef_arrays |
j_compress_ptr | dstinfo |
int | desired |
Definition at line 55 of file jpeglib.h.
Referenced by compress_output(), jinit_c_coef_controller(), per_scan_setup(), transencode_coef_controller(), and transencode_master_selection().
Definition at line 57 of file jpeglib.h.
Referenced by jinit_d_coef_controller(), and per_scan_setup().
#define DCTSIZE 8 /* The basic DCT block is 8x8 samples */ |
Definition at line 41 of file jpeglib.h.
Referenced by compress_data(), compress_first_pass(), create_context_buffer(), forward_DCT(), forward_DCT_float(), fullsize_downsample(), fullsize_smooth_downsample(), h2v1_downsample(), h2v2_downsample(), h2v2_smooth_downsample(), initial_setup(), int_downsample(), jinit_c_main_controller(), jinit_c_prep_controller(), jpeg_calc_output_dimensions(), jpeg_fdct_float(), jpeg_fdct_ifast(), jpeg_fdct_islow(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), jpeg_idct_islow(), jpeg_write_raw_data(), per_scan_setup(), pre_process_data(), process_data_simple_main(), start_pass(), and start_pass_fdctmgr().
Definition at line 42 of file jpeglib.h.
Referenced by decode_mcu(), decode_mcu_AC_refine(), emit_dqt(), encode_mcu_AC_refine(), encode_one_block(), forward_DCT(), forward_DCT_float(), get_dqt(), htest_one_block(), jcopy_block_row(), jinit_phuff_decoder(), jpeg_add_quant_table(), jpeg_copy_critical_parameters(), jpeg_idct_float(), jpeg_idct_ifast(), jpeg_idct_islow(), jpeg_set_linear_quality(), read_quant_tables(), read_scan_script(), select_scan_parameters(), start_pass(), start_pass_fdctmgr(), start_pass_huff_decoder(), and validate_script().
#define JDCT_DEFAULT JDCT_ISLOW |
Definition at line 224 of file jpeglib.h.
Referenced by default_decompress_parms(), and jpeg_set_defaults().
#define JDCT_FASTEST JDCT_IFAST |
#define JMSG_LENGTH_MAX 200 /* recommended size of format_message buffer */ |
Definition at line 652 of file jpeglib.h.
Referenced by output_message().
#define JPEG_APP0 0xE0 /* APP0 marker code */ |
Definition at line 1047 of file jpeglib.h.
Referenced by jcopy_markers_execute(), jcopy_markers_setup(), and print_text_marker().
#define JPEG_COM 0xFE /* COM marker code */ |
Definition at line 1048 of file jpeglib.h.
Referenced by jcopy_markers_setup(), and print_text_marker().
#define jpeg_common_fields |
#define jpeg_create_compress | ( | cinfo | ) |
Definition at line 894 of file jpeglib.h.
Referenced by vl::saveJPG(), and write_JPEG_file().
#define jpeg_create_decompress | ( | cinfo | ) |
Definition at line 897 of file jpeglib.h.
Referenced by vl::loadJPG(), and read_JPEG_file().
#define JPEG_EOI 0xD9 /* EOI marker code */ |
Definition at line 1046 of file jpeglib.h.
Referenced by fill_input_buffer().
#define JPEG_HEADER_OK 1 /* Found valid image datastream */ |
Definition at line 966 of file jpeglib.h.
Referenced by jpeg_read_header().
#define JPEG_HEADER_TABLES_ONLY 2 /* Found valid table-specs-only datastream */ |
Definition at line 967 of file jpeglib.h.
Referenced by jpeg_read_header().
#define JPEG_LIB_VERSION 62 /* Version 6b */ |
Definition at line 33 of file jpeglib.h.
Referenced by jpeg_CreateCompress(), and jpeg_CreateDecompress().
Definition at line 997 of file jpeglib.h.
Referenced by consume_markers(), jpeg_read_header(), and read_markers().
#define JPEG_REACHED_SOS 1 /* Reached start of new scan */ |
Definition at line 996 of file jpeglib.h.
Referenced by consume_markers(), jpeg_consume_input(), jpeg_read_header(), and read_markers().
#define JPEG_ROW_COMPLETED 3 /* Completed one iMCU row */ |
Definition at line 998 of file jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), and decompress_smooth_data().
#define JPEG_RST0 0xD0 /* RST0 marker code */ |
Definition at line 1045 of file jpeglib.h.
Referenced by emit_restart().
Definition at line 999 of file jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), and decompress_smooth_data().
Definition at line 965 of file jpeglib.h.
Referenced by consume_data(), consume_markers(), decompress_data(), decompress_onepass(), decompress_smooth_data(), dummy_consume_data(), jpeg_consume_input(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_read_header(), and read_markers().
Definition at line 749 of file jpeglib.h.
Referenced by alloc_fs_workspace(), build_ycc_rgb_table(), create_colorindex(), create_context_buffer(), free_pool(), get_sof(), init_destination(), init_error_limit(), jinit_1pass_quantizer(), jinit_2pass_quantizer(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_master_control(), jinit_c_prep_controller(), jinit_color_converter(), jinit_color_deconverter(), jinit_d_coef_controller(), jinit_d_main_controller(), jinit_d_post_controller(), jinit_downsampler(), jinit_forward_dct(), jinit_huff_decoder(), jinit_huff_encoder(), jinit_inverse_dct(), jinit_marker_writer(), jinit_master_decompress(), jinit_merged_upsampler(), jinit_phuff_decoder(), jinit_phuff_encoder(), jinit_read_bmp(), jinit_read_ppm(), jinit_read_targa(), jinit_upsampler(), jinit_write_bmp(), jinit_write_gif(), jinit_write_ppm(), jinit_write_targa(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), latch_quant_tables(), vl::loadJPG(), make_odither_array(), prepare_range_limit_table(), read_color_map(), read_JPEG_file(), read_scan_script(), realize_virt_arrays(), request_virt_barray(), request_virt_sarray(), rgb_ycc_start(), save_marker(), select_colors(), smoothing_ok(), start_input_bmp(), start_input_ppm(), start_input_tga(), start_pass_2_quant(), start_pass_fdctmgr(), and transencode_coef_controller().
#define JPOOL_NUMPOOLS 2 |
Definition at line 750 of file jpeglib.h.
Referenced by alloc_large(), alloc_small(), free_pool(), jinit_memory_mgr(), jpeg_abort(), and self_destruct().
#define JPOOL_PERMANENT 0 /* lasts until master record is destroyed */ |
Definition at line 748 of file jpeglib.h.
Referenced by jinit_input_controller(), jinit_marker_reader(), jinit_memory_mgr(), jpeg_abort(), jpeg_alloc_huff_table(), jpeg_alloc_quant_table(), jpeg_set_defaults(), jpeg_simple_progression(), jpeg_stdio_dest(), jpeg_stdio_src(), and self_destruct().
#define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ |
Definition at line 46 of file jpeglib.h.
Referenced by compress_output(), consume_data(), fill_dc_scans(), get_sos(), jpeg_simple_progression(), per_scan_setup(), read_scan_script(), select_scan_parameters(), and validate_script().
#define MAX_SAMP_FACTOR 4 /* JPEG limit on sampling factors */ |
Definition at line 47 of file jpeglib.h.
Referenced by initial_setup().
#define NUM_ARITH_TBLS 16 /* Arith-coding tables are numbered 0..15 */ |
Definition at line 45 of file jpeglib.h.
Referenced by emit_dac(), get_soi(), get_sos(), and jpeg_set_defaults().
#define NUM_HUFF_TBLS 4 /* Huffman tables are numbered 0..3 */ |
Definition at line 44 of file jpeglib.h.
Referenced by finish_pass_gather(), finish_pass_gather_phuff(), get_dht(), jinit_huff_decoder(), jinit_huff_encoder(), jinit_phuff_decoder(), jinit_phuff_encoder(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), jpeg_suppress_tables(), and write_tables_only().
#define NUM_QUANT_TBLS 4 /* Quantization tables are numbered 0..3 */ |
Definition at line 43 of file jpeglib.h.
Referenced by get_dqt(), jinit_forward_dct(), jpeg_add_quant_table(), jpeg_copy_critical_parameters(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_suppress_tables(), latch_quant_tables(), read_quant_tables(), set_quant_slots(), start_pass_fdctmgr(), and write_tables_only().
typedef struct jpeg_common_struct* j_common_ptr |
typedef struct jpeg_compress_struct* j_compress_ptr |
typedef struct jpeg_decompress_struct* j_decompress_ptr |
typedef JBLOCKROW* JBLOCKARRAY |
typedef JBLOCKARRAY* JBLOCKIMAGE |
typedef struct jpeg_marker_struct FAR* jpeg_saved_marker_ptr |
typedef JSAMPROW* JSAMPARRAY |
typedef JSAMPARRAY* JSAMPIMAGE |
typedef struct jvirt_barray_control* jvirt_barray_ptr |
typedef struct jvirt_sarray_control* jvirt_sarray_ptr |
enum J_COLOR_SPACE |
enum J_DCT_METHOD |
enum J_DITHER_MODE |
EXTERN | ( | struct jpeg_error_mgr * | ) |
EXTERN | ( | void | ) |
EXTERN | ( | int | ) |
EXTERN | ( | JQUANT_TBL * | ) |
EXTERN | ( | JHUFF_TBL * | ) |
EXTERN | ( | JDIMENSION | ) |
EXTERN | ( | boolean | ) |
EXTERN | ( | jvirt_barray_ptr * | ) |
typedef JMETHOD | ( | boolean | , |
jpeg_marker_parser_method | , | ||
(j_decompress_ptr cinfo) | |||
) |
jvirt_barray_ptr* coef_arrays |
Definition at line 1017 of file jpeglib.h.
Referenced by transencode_coef_controller().
J_COLOR_SPACE colorspace |
Definition at line 917 of file jpeglib.h.
Referenced by jpeg_set_colorspace().
Definition at line 950 of file jpeglib.h.
Referenced by examine_app14(), jpeg_write_m_header(), jpeg_write_marker(), and write_marker_header().
Definition at line 950 of file jpeglib.h.
Referenced by jpeg_fdct_float(), jpeg_fdct_ifast(), jpeg_fdct_islow(), and jpeg_write_marker().
int desired |
Definition at line 1038 of file jpeglib.h.
Referenced by jinit_2pass_quantizer(), and jpeg_resync_to_restart().
j_compress_ptr dstinfo |
Definition at line 1006 of file jpeglib.h.
Referenced by jpeg_save_markers().
int marker |
Definition at line 950 of file jpeglib.h.
Referenced by jcopy_markers_execute(), jinit_marker_reader(), jinit_marker_writer(), jpeg_resync_to_restart(), jpeg_save_markers(), jpeg_set_marker_processor(), jpeg_write_m_header(), jpeg_write_marker(), main(), reset_marker_reader(), save_marker(), write_file_header(), write_marker_header(), and write_scan_header().
int marker_code |
Definition at line 1006 of file jpeglib.h.
Referenced by jpeg_save_markers(), and jpeg_set_marker_processor().
JSAMPIMAGE JDIMENSION max_lines |
JSAMPIMAGE JDIMENSION num_lines |
Definition at line 939 of file jpeglib.h.
Referenced by jpeg_write_raw_data(), and jpeg_write_scanlines().
FILE* outfile |
Definition at line 910 of file jpeglib.h.
Referenced by file_compress(), file_uncompress(), finish_output_bmp(), gunpipe(), in(), jpeg_stdio_dest(), lunpipe(), main(), start_output_tga(), tar(), and write_JPEG_file().
int quality |
Definition at line 919 of file jpeglib.h.
Referenced by jpeg_quality_scaling(), jpeg_set_quality(), parse_switches(), and vl::saveJPG().
boolean require_image |
Definition at line 963 of file jpeglib.h.
Referenced by jpeg_read_header().
int jpeg_marker_parser_method routine |
Definition at line 1011 of file jpeglib.h.
Referenced by jpeg_set_marker_processor(), and t1_decoder_parse_charstrings().
int scan_number |
Definition at line 989 of file jpeglib.h.
Referenced by jpeg_start_output().
JSAMPARRAY scanlines |
Definition at line 939 of file jpeglib.h.
Referenced by jpeg_write_scanlines().
boolean suppress |
Definition at line 931 of file jpeglib.h.
Referenced by jpeg_suppress_tables().
int which_tbl |
Definition at line 924 of file jpeglib.h.
Referenced by jpeg_add_quant_table().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.