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 |
#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 } |
Variables | |
FILE * | outfile |
FILE * | infile |
boolean | suppress |
int | val |
Definition at line 50 of file mrpt_jpeglib.h.
Referenced by compress_output(), jinit_c_coef_controller(), per_scan_setup(), and transencode_coef_controller().
Definition at line 52 of file mrpt_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 36 of file mrpt_jpeglib.h.
Referenced by compress_data(), compress_first_pass(), create_context_buffer(), for(), forward_DCT(), forward_DCT_float(), fullsize_downsample(), fullsize_smooth_downsample(), GLOBAL(), h2v1_downsample(), h2v2_downsample(), h2v2_smooth_downsample(), initial_setup(), int_downsample(), jinit_c_main_controller(), jinit_c_prep_controller(), jpeg_calc_output_dimensions(), jpeg_idct_2x2(), jpeg_write_raw_data(), per_scan_setup(), pre_process_data(), process_data_simple_main(), start_pass(), and start_pass_fdctmgr().
Definition at line 37 of file mrpt_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_set_linear_quality(), select_scan_parameters(), start_pass(), start_pass_fdctmgr(), start_pass_huff_decoder(), start_pass_phuff_decoder(), and validate_script().
#define JDCT_DEFAULT JDCT_ISLOW |
Definition at line 220 of file mrpt_jpeglib.h.
Referenced by default_decompress_parms(), and jpeg_set_defaults().
#define JDCT_FASTEST JDCT_IFAST |
Definition at line 223 of file mrpt_jpeglib.h.
#define JMSG_LENGTH_MAX 200 /* recommended size of format_message buffer */ |
Definition at line 654 of file mrpt_jpeglib.h.
Referenced by output_message().
#define JMSG_STR_PARM_MAX 80 |
Definition at line 662 of file mrpt_jpeglib.h.
#define JPEG_APP0 0xE0 /* APP0 marker code */ |
Definition at line 1050 of file mrpt_jpeglib.h.
Referenced by jcopy_markers_execute(), and jcopy_markers_setup().
#define JPEG_COM 0xFE /* COM marker code */ |
Definition at line 1051 of file mrpt_jpeglib.h.
Referenced by jcopy_markers_setup().
#define jpeg_common_fields |
Definition at line 236 of file mrpt_jpeglib.h.
#define jpeg_create_compress | ( | cinfo | ) |
Definition at line 889 of file mrpt_jpeglib.h.
Referenced by mrpt::utils::CImage::saveToStreamAsJPEG().
#define jpeg_create_decompress | ( | cinfo | ) |
Definition at line 893 of file mrpt_jpeglib.h.
Referenced by mrpt::utils::CImage::loadFromStreamAsJPEG().
#define JPEG_EOI 0xD9 /* EOI marker code */ |
Definition at line 1049 of file mrpt_jpeglib.h.
Referenced by fill_input_buffer().
#define JPEG_HEADER_OK 1 /* Found valid image datastream */ |
Definition at line 965 of file mrpt_jpeglib.h.
Referenced by jpeg_read_header().
#define JPEG_HEADER_TABLES_ONLY |
Definition at line 966 of file mrpt_jpeglib.h.
Referenced by jpeg_read_header().
#define JPEG_LIB_VERSION 62 /* Version 6b */ |
Definition at line 29 of file mrpt_jpeglib.h.
Referenced by jpeg_CreateCompress(), and jpeg_CreateDecompress().
Definition at line 998 of file mrpt_jpeglib.h.
Referenced by consume_markers(), jpeg_read_coefficients(), jpeg_read_header(), jpeg_start_decompress(), and read_markers().
#define JPEG_REACHED_SOS 1 /* Reached start of new scan */ |
Definition at line 997 of file mrpt_jpeglib.h.
Referenced by consume_markers(), jpeg_consume_input(), jpeg_read_coefficients(), jpeg_read_header(), jpeg_start_decompress(), and read_markers().
#define JPEG_ROW_COMPLETED 3 /* Completed one iMCU row */ |
Definition at line 999 of file mrpt_jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), decompress_smooth_data(), jpeg_read_coefficients(), and jpeg_start_decompress().
#define JPEG_RST0 0xD0 /* RST0 marker code */ |
Definition at line 1048 of file mrpt_jpeglib.h.
Referenced by emit_restart().
Definition at line 1000 of file mrpt_jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), and decompress_smooth_data().
Definition at line 964 of file mrpt_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_coefficients(), jpeg_read_header(), jpeg_start_decompress(), and read_markers().
#define JPOOL_IMAGE 1 /* lasts until done with image/datastream */ |
Definition at line 750 of file mrpt_jpeglib.h.
Referenced by alloc_fs_workspace(), alloc_funny_pointers(), build_ycc_rgb_table(), create_colorindex(), create_colormap(), 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_upsampler(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), latch_quant_tables(), mrpt::utils::CImage::loadFromStreamAsJPEG(), make_odither_array(), prepare_range_limit_table(), realize_virt_arrays(), request_virt_barray(), request_virt_sarray(), rgb_ycc_start(), save_marker(), select_colors(), smoothing_ok(), start_pass_2_quant(), start_pass_fdctmgr(), start_pass_huff(), start_pass_phuff(), and transencode_coef_controller().
#define JPOOL_NUMPOOLS 2 |
Definition at line 751 of file mrpt_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 749 of file mrpt_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 JPP | ( | arglist | ) | arglist |
Definition at line 815 of file mrpt_jpeglib.h.
#define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ |
Definition at line 41 of file mrpt_jpeglib.h.
Referenced by compress_output(), consume_data(), fill_dc_scans(), get_sos(), jpeg_simple_progression(), per_scan_setup(), select_scan_parameters(), and validate_script().
#define MAX_SAMP_FACTOR 4 /* JPEG limit on sampling factors */ |
Definition at line 42 of file mrpt_jpeglib.h.
Referenced by initial_setup().
#define NUM_ARITH_TBLS 16 /* Arith-coding tables are numbered 0..15 */ |
Definition at line 40 of file mrpt_jpeglib.h.
Referenced by emit_dac(), get_soi(), and jpeg_set_defaults().
#define NUM_HUFF_TBLS 4 /* Huffman tables are numbered 0..3 */ |
Definition at line 39 of file mrpt_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(), start_pass_huff(), start_pass_phuff(), and write_tables_only().
#define NUM_QUANT_TBLS 4 /* Quantization tables are numbered 0..3 */ |
Definition at line 38 of file mrpt_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(), start_pass_fdctmgr(), and write_tables_only().
typedef struct jpeg_common_struct* j_common_ptr |
Definition at line 258 of file mrpt_jpeglib.h.
typedef struct jpeg_compress_struct* j_compress_ptr |
Definition at line 259 of file mrpt_jpeglib.h.
typedef struct jpeg_decompress_struct* j_decompress_ptr |
Definition at line 260 of file mrpt_jpeglib.h.
Definition at line 64 of file mrpt_jpeglib.h.
typedef JBLOCKROW* JBLOCKARRAY |
Definition at line 66 of file mrpt_jpeglib.h.
typedef JBLOCKARRAY* JBLOCKIMAGE |
Definition at line 67 of file mrpt_jpeglib.h.
Definition at line 65 of file mrpt_jpeglib.h.
Definition at line 69 of file mrpt_jpeglib.h.
typedef struct jpeg_marker_struct FAR* jpeg_saved_marker_ptr |
Definition at line 187 of file mrpt_jpeglib.h.
typedef JSAMPROW* JSAMPARRAY |
Definition at line 61 of file mrpt_jpeglib.h.
typedef JSAMPARRAY* JSAMPIMAGE |
Definition at line 62 of file mrpt_jpeglib.h.
Definition at line 60 of file mrpt_jpeglib.h.
typedef struct jvirt_barray_control* jvirt_barray_ptr |
Definition at line 754 of file mrpt_jpeglib.h.
typedef struct jvirt_sarray_control* jvirt_sarray_ptr |
Definition at line 753 of file mrpt_jpeglib.h.
enum J_COLOR_SPACE |
Enumerator | |
---|---|
JCS_UNKNOWN | |
JCS_GRAYSCALE | |
JCS_RGB | |
JCS_YCbCr | |
JCS_CMYK | |
JCS_YCCK |
Definition at line 202 of file mrpt_jpeglib.h.
enum J_DCT_METHOD |
Enumerator | |
---|---|
JDCT_ISLOW | |
JDCT_IFAST | |
JDCT_FLOAT |
Definition at line 213 of file mrpt_jpeglib.h.
enum J_DITHER_MODE |
Enumerator | |
---|---|
JDITHER_NONE | |
JDITHER_ORDERED | |
JDITHER_FS |
Definition at line 228 of file mrpt_jpeglib.h.
EXTERN | ( | void | ) |
EXTERN | ( | int | ) |
EXTERN | ( | JQUANT_TBL * | ) |
EXTERN | ( | JHUFF_TBL * | ) |
EXTERN | ( | jvirt_barray_ptr * | ) |
typedef JMETHOD | ( | boolean | , |
jpeg_marker_parser_method | , | ||
(j_decompress_ptr cinfo) | |||
) |
jpeg_std_error JPP | ( | (struct jpeg_error_mgr *err) | ) |
jpeg_CreateCompress JPP | ( | (j_compress_ptr cinfo, int version, size_t structsize) | ) |
jpeg_CreateDecompress JPP | ( | (j_decompress_ptr cinfo, int version, size_t structsize) | ) |
jpeg_set_colorspace JPP | ( | (j_compress_ptr cinfo, J_COLOR_SPACE colorspace) | ) |
jpeg_set_quality JPP | ( | (j_compress_ptr cinfo, int quality, boolean force_baseline) | ) |
jpeg_set_linear_quality JPP | ( | (j_compress_ptr cinfo, int scale_factor, boolean force_baseline) | ) |
jpeg_add_quant_table JPP | ( | (j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline) | ) |
jpeg_start_compress JPP | ( | (j_compress_ptr cinfo, boolean write_all_tables) | ) |
jpeg_write_scanlines JPP | ( | (j_compress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION num_lines) | ) |
jpeg_write_raw_data JPP | ( | (j_compress_ptr cinfo, JSAMPIMAGE data, JDIMENSION num_lines) | ) |
jpeg_write_marker JPP | ( | (j_compress_ptr cinfo, int marker, const JOCTET *dataptr, unsigned int datalen) | ) |
jpeg_write_m_header JPP | ( | (j_compress_ptr cinfo, int marker, unsigned int datalen) | ) |
jpeg_read_header JPP | ( | (j_decompress_ptr cinfo, boolean require_image) | ) |
jpeg_read_scanlines JPP | ( | (j_decompress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION max_lines) | ) |
jpeg_read_raw_data JPP | ( | (j_decompress_ptr cinfo, JSAMPIMAGE data, JDIMENSION max_lines) | ) |
jpeg_start_output JPP | ( | (j_decompress_ptr cinfo, int scan_number) | ) |
jpeg_save_markers JPP | ( | (j_decompress_ptr cinfo, int marker_code, unsigned int length_limit) | ) |
jpeg_set_marker_processor JPP | ( | (j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine) | ) |
jpeg_write_coefficients JPP | ( | (j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays) | ) |
jpeg_copy_critical_parameters JPP | ( | (j_decompress_ptr srcinfo, j_compress_ptr dstinfo) | ) |
jpeg_resync_to_restart JPP | ( | (j_decompress_ptr cinfo, int desired) | ) |
FILE* infile |
Definition at line 909 of file mrpt_jpeglib.h.
Referenced by jpeg_stdio_src().
FILE* outfile |
Definition at line 908 of file mrpt_jpeglib.h.
Referenced by jpeg_stdio_dest(), and mrpt::hwdrivers::CNTRIPEmitter::setRawOutputFilePrefix().
boolean suppress |
Definition at line 929 of file mrpt_jpeglib.h.
Referenced by jpeg_suppress_tables().
int val |
Definition at line 955 of file mrpt_jpeglib.h.
Referenced by add_huff_table(), mrpt::poses::CPose3DQuat::assign(), mrpt::poses::CPose3DPDFSOG::assureSymmetry(), mrpt::obs::carmen_log_parse_line(), mrpt::maps::CMultiMetricMapPDF::prediction_and_update< mrpt::slam::OptimalProposal >(), mrpt::nav::PlannerSimple2D::computePath(), consume_markers(), mrpt::poses::CPose3DPDFSOG::copyFrom(), mrpt::poses::CPointPDFSOG::copyFrom(), mrpt::synch::CPipeBaseEndPoint::CPipeBaseEndPoint(), create_colorindex(), create_colormap(), mrpt::utils::TCamera::cx(), mrpt::utils::TCamera::cy(), mrpt::slam::data_association_full_covariance(), mrpt::nav::CMultiObjectiveMotionOptimizerBase::decide(), emit_byte(), mrpt::obs::gnss::nv_oem6_position_type::enum2str(), mrpt::obs::gnss::nv_oem6_solution_status::enum2str(), mrpt::obs::gnss::nv_oem6_ins_status_type::enum2str(), mrpt::nav::CHolonomicFullEval::evalSingleTarget(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::fillAll(), mrpt::utils::TCamera::fx(), mrpt::utils::TCamera::fy(), mrpt::maps::CBeacon::generateObservationModelDistribution(), mrpt::maps::CBeacon::getAsMatlabDrawCommands(), mrpt::poses::CPose3DPDFSOG::getCovarianceAndMean(), mrpt::opengl::CPolyhedron::getDual(), mrpt::poses::CPose3DPDFSOG::getMean(), mrpt::vision::CFeatureExtraction::getTimesExtrema(), mrpt::hmtslam::THypothesisIDSet::has(), mrpt::comms::net::http_request(), mrpt::nav::CMultiObjMotionOpt_Scalarization::impl_decide(), mrpt::hwdrivers::CGPSInterface::implement_parser_NMEA(), mrpt::math::CSparseMatrix::insert_entry(), mrpt::math::CSparseMatrix::insert_entry_fast(), mrpt::poses::CPose3DPDFSOG::inverse(), jpeg_write_m_byte(), jpeg_write_marker(), mrpt::utils::TCamera::k1(), mrpt::utils::TCamera::k2(), mrpt::utils::TCamera::k3(), mrpt::vision::CFeatureList::loadFromTextFile(), mrpt::vision::CFeatureExtraction::my_scale_space_extrema(), mrpt::utils::CImage::normalize(), mrpt::utils::metaprogramming::ObjectConvert< TARGET_TYPE >::operator()(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator()(), mrpt::utils::TCamera::p1(), mrpt::utils::TCamera::p2(), mrpt::utils::circular_buffer< uint8_t >::peek_many(), push_back(), mrpt::poses::CPose3DPDFSOG::readFromStream(), mrpt::opengl::CColorBar::render_dl(), mrpt::math::round2up(), mrpt::utils::round_10power(), mrpt::poses::CPose3DPDFSOG::saveToTextFile(), set_unsafe(), xsens::Message::setDataF1220(), mrpt::utils::CImage::setOriginTopLeft(), setpix32f(), setpix64f(), setpix8(), mrpt::obs::CObservation2DRangeScan::setScanIntensity(), mrpt::obs::CObservation2DRangeScan::setScanRange(), mrpt::obs::CObservation2DRangeScan::setScanRangeValidity(), mrpt::kinematics::CVehicleVelCmd_DiffDriven::setVelCmdElement(), mrpt::kinematics::CVehicleVelCmd_Holo::setVelCmdElement(), TEST(), mrpt::hmtslam::THypothesisIDSet::THypothesisIDSet(), mrpt::utils::TParameters< double >::TParameters(), mrpt::poses::CPosePDFGrid::uniformDistribution(), mrpt::system::unitsFormat(), mrpt::opengl::CMesh::updateColorsMatrix(), mrpt::utils::TEnumType< ENUMTYPE >::value2name(), write_marker_byte(), and mrpt::poses::CPose3DPDFSOG::writeToStream().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |