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.
Macros | |
#define | JPEG_INTERNALS |
#define | INPUT_VARS(cinfo) |
#define | INPUT_SYNC(cinfo) |
#define | INPUT_RELOAD(cinfo) |
#define | MAKE_BYTE_AVAIL(cinfo, action) |
#define | INPUT_BYTE(cinfo, V, action) |
#define | INPUT_2BYTES(cinfo, V, action) |
#define | get_dac(cinfo) skip_variable(cinfo) |
#define | APP0_DATA_LEN 14 /* Length of interesting data in APP0 */ |
#define | APP14_DATA_LEN 12 /* Length of interesting data in APP14 */ |
#define | APPN_DATA_LEN 14 /* Must be the largest of the above!! */ |
Typedefs | |
typedef my_marker_reader * | my_marker_ptr |
Enumerations | |
enum | JPEG_MARKER { M_SOF0 = 0xc0, M_SOF1 = 0xc1, M_SOF2 = 0xc2, M_SOF3 = 0xc3, M_SOF5 = 0xc5, M_SOF6 = 0xc6, M_SOF7 = 0xc7, M_JPG = 0xc8, M_SOF9 = 0xc9, M_SOF10 = 0xca, M_SOF11 = 0xcb, M_SOF13 = 0xcd, M_SOF14 = 0xce, M_SOF15 = 0xcf, M_DHT = 0xc4, M_DAC = 0xcc, M_RST0 = 0xd0, M_RST1 = 0xd1, M_RST2 = 0xd2, M_RST3 = 0xd3, M_RST4 = 0xd4, M_RST5 = 0xd5, M_RST6 = 0xd6, M_RST7 = 0xd7, M_SOI = 0xd8, M_EOI = 0xd9, M_SOS = 0xda, M_DQT = 0xdb, M_DNL = 0xdc, M_DRI = 0xdd, M_DHP = 0xde, M_EXP = 0xdf, M_APP0 = 0xe0, M_APP1 = 0xe1, M_APP2 = 0xe2, M_APP3 = 0xe3, M_APP4 = 0xe4, M_APP5 = 0xe5, M_APP6 = 0xe6, M_APP7 = 0xe7, M_APP8 = 0xe8, M_APP9 = 0xe9, M_APP10 = 0xea, M_APP11 = 0xeb, M_APP12 = 0xec, M_APP13 = 0xed, M_APP14 = 0xee, M_APP15 = 0xef, M_JPG0 = 0xf0, M_JPG13 = 0xfd, M_COM = 0xfe, M_TEM = 0x01, M_ERROR = 0x100, M_SOF0 = 0xc0, M_SOF1 = 0xc1, M_SOF2 = 0xc2, M_SOF3 = 0xc3, M_SOF5 = 0xc5, M_SOF6 = 0xc6, M_SOF7 = 0xc7, M_JPG = 0xc8, M_SOF9 = 0xc9, M_SOF10 = 0xca, M_SOF11 = 0xcb, M_SOF13 = 0xcd, M_SOF14 = 0xce, M_SOF15 = 0xcf, M_DHT = 0xc4, M_DAC = 0xcc, M_RST0 = 0xd0, M_RST1 = 0xd1, M_RST2 = 0xd2, M_RST3 = 0xd3, M_RST4 = 0xd4, M_RST5 = 0xd5, M_RST6 = 0xd6, M_RST7 = 0xd7, M_SOI = 0xd8, M_EOI = 0xd9, M_SOS = 0xda, M_DQT = 0xdb, M_DNL = 0xdc, M_DRI = 0xdd, M_DHP = 0xde, M_EXP = 0xdf, M_APP0 = 0xe0, M_APP1 = 0xe1, M_APP2 = 0xe2, M_APP3 = 0xe3, M_APP4 = 0xe4, M_APP5 = 0xe5, M_APP6 = 0xe6, M_APP7 = 0xe7, M_APP8 = 0xe8, M_APP9 = 0xe9, M_APP10 = 0xea, M_APP11 = 0xeb, M_APP12 = 0xec, M_APP13 = 0xed, M_APP14 = 0xee, M_APP15 = 0xef, M_JPG0 = 0xf0, M_JPG13 = 0xfd, M_COM = 0xfe, M_TEM = 0x01, M_ERROR = 0x100 } |
Definition at line 578 of file jdmarker.c.
Referenced by examine_app0(), and jpeg_save_markers().
Definition at line 579 of file jdmarker.c.
Referenced by examine_app14(), and jpeg_save_markers().
#define APPN_DATA_LEN 14 /* Must be the largest of the above!! */ |
Definition at line 580 of file jdmarker.c.
Referenced by get_interesting_appn().
#define get_dac | ( | cinfo | ) | skip_variable(cinfo) |
Definition at line 413 of file jdmarker.c.
Referenced by get_sos(), and read_markers().
#define INPUT_2BYTES | ( | cinfo, | |
V, | |||
action | |||
) |
Definition at line 156 of file jdmarker.c.
Referenced by get_dht(), get_dqt(), get_dri(), get_interesting_appn(), get_sof(), get_sos(), save_marker(), and skip_variable().
#define INPUT_BYTE | ( | cinfo, | |
V, | |||
action | |||
) |
Definition at line 148 of file jdmarker.c.
Referenced by first_marker(), get_dht(), get_dqt(), get_interesting_appn(), get_sof(), get_sos(), and next_marker().
#define INPUT_RELOAD | ( | cinfo | ) |
Definition at line 130 of file jdmarker.c.
#define INPUT_SYNC | ( | cinfo | ) |
Definition at line 125 of file jdmarker.c.
Referenced by first_marker(), get_dht(), get_dqt(), get_dri(), get_interesting_appn(), get_sof(), get_sos(), next_marker(), save_marker(), and skip_variable().
#define INPUT_VARS | ( | cinfo | ) |
Definition at line 119 of file jdmarker.c.
Referenced by first_marker(), get_dht(), get_dqt(), get_dri(), get_interesting_appn(), get_sof(), get_sos(), next_marker(), save_marker(), and skip_variable().
#define JPEG_INTERNALS |
Definition at line 15 of file jdmarker.c.
#define MAKE_BYTE_AVAIL | ( | cinfo, | |
action | |||
) |
Definition at line 138 of file jdmarker.c.
Referenced by save_marker().
typedef my_marker_reader* my_marker_ptr |
Definition at line 107 of file jdmarker.c.
enum JPEG_MARKER |
Definition at line 20 of file jdmarker.c.
examine_app0 | ( | j_decompress_ptr | cinfo, |
JOCTET FAR * | data, | ||
unsigned int | datalen, | ||
INT32 | remaining | ||
) |
Definition at line 584 of file jdmarker.c.
References APP0_DATA_LEN, GETJOCTET, LOCAL, TRACEMS1, TRACEMS2, TRACEMS5, TRUE, and WARNMS2.
Referenced by get_interesting_appn(), and save_marker().
examine_app14 | ( | j_decompress_ptr | cinfo, |
JOCTET FAR * | data, | ||
unsigned int | datalen, | ||
INT32 | remaining | ||
) |
Definition at line 660 of file jdmarker.c.
References jpeg_decompress_struct::Adobe_transform, APP14_DATA_LEN, datalen, GETJOCTET, METHODDEF, jpeg_decompress_struct::saw_Adobe_marker, TRACEMS1, TRACEMS4, TRUE, and version.
Referenced by get_interesting_appn(), and save_marker().
first_marker | ( | j_decompress_ptr | cinfo | ) |
Definition at line 921 of file jdmarker.c.
References ERREXIT2, FALSE, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, M_SOI, METHODDEF, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by read_markers().
get_dht | ( | j_decompress_ptr | cinfo | ) |
Definition at line 419 of file jdmarker.c.
References ERREXIT, ERREXIT1, FALSE, i, INPUT_2BYTES, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, jpeg_alloc_huff_table(), LOCAL, MEMCOPY, NULL, NUM_HUFF_TBLS, SIZEOF, TRACEMS1, TRACEMS8, and TRUE.
Referenced by read_markers().
get_dqt | ( | j_decompress_ptr | cinfo | ) |
Definition at line 490 of file jdmarker.c.
References DCTSIZE2, ERREXIT, ERREXIT1, FALSE, i, INPUT_2BYTES, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, jpeg_alloc_quant_table(), jpeg_natural_order, LOCAL, NULL, NUM_QUANT_TBLS, jpeg_decompress_struct::quant_tbl_ptrs, JQUANT_TBL::quantval, TRACEMS2, TRACEMS8, and TRUE.
Referenced by read_markers().
get_dri | ( | j_decompress_ptr | cinfo | ) |
Definition at line 548 of file jdmarker.c.
References ERREXIT, FALSE, INPUT_2BYTES, INPUT_SYNC, INPUT_VARS, jpeg_decompress_struct::restart_interval, TRACEMS1, and TRUE.
Referenced by read_markers().
get_interesting_appn | ( | j_decompress_ptr | cinfo | ) |
Definition at line 691 of file jdmarker.c.
References APPN_DATA_LEN, ERREXIT1, examine_app0(), examine_app14(), FALSE, FAR, i, INPUT_2BYTES, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, int, M_APP0, M_APP14, METHODDEF, jpeg_decompress_struct::src, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by jinit_marker_reader(), and jpeg_save_markers().
get_sof | ( | j_decompress_ptr | cinfo, |
boolean | is_prog, | ||
boolean | is_arith | ||
) |
Definition at line 237 of file jdmarker.c.
References jpeg_component_info::component_id, jpeg_component_info::component_index, compptr, ERREXIT, FALSE, jpeg_component_info::h_samp_factor, INPUT_2BYTES, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, JPOOL_IMAGE, LOCAL, NULL, jpeg_component_info::quant_tbl_no, SIZEOF, TRACEMS4, TRUE, and jpeg_component_info::v_samp_factor.
Referenced by read_markers().
get_soi | ( | j_decompress_ptr | cinfo | ) |
Definition at line 197 of file jdmarker.c.
References ERREXIT, FALSE, i, JCS_UNKNOWN, LOCAL, NUM_ARITH_TBLS, TRACEMS, and TRUE.
Referenced by read_markers().
get_sos | ( | j_decompress_ptr | cinfo | ) |
Definition at line 301 of file jdmarker.c.
References jpeg_component_info::ac_tbl_no, jpeg_decompress_struct::arith_ac_K, jpeg_decompress_struct::arith_dc_L, jpeg_decompress_struct::arith_dc_U, jpeg_component_info::component_id, compptr, jpeg_component_info::dc_tbl_no, ERREXIT, ERREXIT1, FALSE, get_dac, i, INPUT_2BYTES, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, LOCAL, MAX_COMPS_IN_SCAN, NUM_ARITH_TBLS, TRACEMS1, TRACEMS2, TRACEMS3, TRACEMS4, and TRUE.
Referenced by read_markers().
jinit_marker_reader | ( | j_decompress_ptr | cinfo | ) |
Definition at line 1262 of file jdmarker.c.
References get_interesting_appn(), GLOBAL, i, JPOOL_PERMANENT, marker, read_markers(), read_restart_marker(), reset_marker_reader(), SIZEOF, and skip_variable().
Referenced by jpeg_CreateDecompress().
jpeg_resync_to_restart | ( | j_decompress_ptr | cinfo, |
int | desired | ||
) |
Definition at line 1192 of file jdmarker.c.
References desired, FALSE, M_RST0, M_RST7, M_SOF0, marker, METHODDEF, next_marker(), TRACEMS2, TRUE, jpeg_decompress_struct::unread_marker, and WARNMS2.
Referenced by jpeg_stdio_src().
jpeg_save_markers | ( | j_decompress_ptr | cinfo, |
int | marker_code, | ||
unsigned int | length_limit | ||
) |
Definition at line 1300 of file jdmarker.c.
References APP0_DATA_LEN, APP14_DATA_LEN, ERREXIT1, get_interesting_appn(), GLOBAL, int, length_limit, M_APP0, M_APP14, M_APP15, M_COM, jpeg_decompress_struct::marker, marker, marker_code, save_marker(), SIZEOF, and skip_variable().
Referenced by jcopy_markers_setup().
jpeg_set_marker_processor | ( | j_decompress_ptr | cinfo, |
int | marker_code, | ||
jpeg_marker_parser_method | routine | ||
) |
Definition at line 1349 of file jdmarker.c.
References ERREXIT1, if(), int, M_APP0, M_APP15, M_COM, jpeg_decompress_struct::marker, marker, marker_code, and routine.
next_marker | ( | j_decompress_ptr | cinfo | ) |
Definition at line 874 of file jdmarker.c.
References jpeg_marker_reader::discarded_bytes, FALSE, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, LOCAL, jpeg_decompress_struct::marker, TRUE, jpeg_decompress_struct::unread_marker, and WARNMS2.
Referenced by jpeg_resync_to_restart(), read_markers(), and read_restart_marker().
read_markers | ( | j_decompress_ptr | cinfo | ) |
Definition at line 952 of file jdmarker.c.
References ERREXIT1, FALSE, first_marker(), get_dac, get_dht(), get_dqt(), get_dri(), get_sof(), get_soi(), get_sos(), JPEG_REACHED_EOI, JPEG_REACHED_SOS, JPEG_SUSPENDED, M_APP0, M_APP1, M_APP10, M_APP11, M_APP12, M_APP13, M_APP14, M_APP15, M_APP2, M_APP3, M_APP4, M_APP5, M_APP6, M_APP7, M_APP8, M_APP9, M_COM, M_DAC, M_DHT, M_DNL, M_DQT, M_DRI, M_EOI, M_JPG, M_RST0, M_RST1, M_RST2, M_RST3, M_RST4, M_RST5, M_RST6, M_RST7, M_SOF0, M_SOF1, M_SOF10, M_SOF11, M_SOF13, M_SOF14, M_SOF15, M_SOF2, M_SOF3, M_SOF5, M_SOF6, M_SOF7, M_SOF9, M_SOI, M_SOS, M_TEM, jpeg_decompress_struct::marker, METHODDEF, next_marker(), jpeg_marker_reader::saw_SOI, skip_variable(), TRACEMS, TRACEMS1, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by jinit_marker_reader().
read_restart_marker | ( | j_decompress_ptr | cinfo | ) |
Definition at line 1113 of file jdmarker.c.
References FALSE, GLOBAL, M_RST0, jpeg_decompress_struct::marker, next_marker(), jpeg_marker_reader::next_restart_num, jpeg_decompress_struct::src, TRACEMS1, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by jinit_marker_reader().
reset_marker_reader | ( | j_decompress_ptr | cinfo | ) |
Definition at line 1242 of file jdmarker.c.
References jpeg_decompress_struct::comp_info, FALSE, jpeg_decompress_struct::input_scan_number, jpeg_decompress_struct::marker, marker, NULL, and jpeg_decompress_struct::unread_marker.
Referenced by jinit_marker_reader().
save_marker | ( | j_decompress_ptr | cinfo | ) |
Definition at line 739 of file jdmarker.c.
References examine_app0(), examine_app14(), FALSE, FAR, INPUT_2BYTES, INPUT_SYNC, INPUT_VARS, int, JPOOL_IMAGE, M_APP0, M_APP14, M_COM, MAKE_BYTE_AVAIL, jpeg_decompress_struct::marker, marker, jpeg_decompress_struct::marker_list, METHODDEF, NULL, SIZEOF, jpeg_decompress_struct::src, TRACEMS2, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by jpeg_save_markers().
skip_variable | ( | j_decompress_ptr | cinfo | ) |
Definition at line 845 of file jdmarker.c.
References FALSE, INPUT_2BYTES, INPUT_SYNC, INPUT_VARS, LOCAL, jpeg_decompress_struct::src, TRACEMS2, TRUE, and jpeg_decompress_struct::unread_marker.
Referenced by jinit_marker_reader(), jpeg_save_markers(), and read_markers().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.