Data Structures | |
struct | my_marker_reader |
Macros | |
#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!! */ |
#define | get_dac(cinfo) skip_variable(cinfo) |
#define | INPUT_2BYTES(cinfo, V, action) |
#define | INPUT_BYTE(cinfo, V, action) |
#define | INPUT_RELOAD(cinfo) |
#define | INPUT_SYNC(cinfo) |
#define | INPUT_VARS(cinfo) |
#define | JPEG_INTERNALS |
#define | MAKE_BYTE_AVAIL(cinfo, action) |
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 } |
Referenced by examine_app0(), and jpeg_save_markers().
Referenced by examine_app14(), and jpeg_save_markers().
#define APPN_DATA_LEN 14 /* Must be the largest of the above!! */ |
Referenced by read_markers().
#define INPUT_2BYTES | ( | cinfo, | |
V, | |||
action | |||
) |
#define INPUT_BYTE | ( | cinfo, | |
V, | |||
action | |||
) |
Referenced by for(), next_marker(), and while().
#define INPUT_RELOAD | ( | cinfo | ) |
INPUT_SYNC | ( | cinfo | ) |
Referenced by next_marker(), and while().
INPUT_VARS | ( | cinfo | ) |
Referenced by next_marker().
#define JPEG_INTERNALS |
#define MAKE_BYTE_AVAIL | ( | cinfo, | |
action | |||
) |
Referenced by while().
typedef my_marker_reader* my_marker_ptr |
enum JPEG_MARKER |
ERREXIT | ( | cinfo | , |
JERR_SOI_DUPLICATE | |||
) |
ERREXIT | ( | cinfo | , |
JERR_SOF_DUPLICATE | |||
) |
ERREXIT | ( | cinfo | , |
JERR_BAD_LENGTH | |||
) |
ERREXIT | ( | cinfo | , |
JERR_SOS_NO_SOF | |||
) |
examine_app0 | ( | j_decompress_ptr | cinfo, |
JOCTET FAR * | data, | ||
unsigned int | datalen, | ||
INT32 | remaining | ||
) |
References APP0_DATA_LEN, GETJOCTET, TRACEMS1, TRACEMS2(), TRACEMS5, TRUE, and WARNMS2.
examine_app14 | ( | j_decompress_ptr | cinfo, |
JOCTET FAR * | data, | ||
unsigned int | datalen, | ||
INT32 | remaining | ||
) |
for | ( | ) |
References i.
if | ( | cinfo-> | comp_info = =NULL | ) | -> comp_info=(jpeg_component_info *)(*cinfo->mem->alloc_small)((j_common_ptr) cinfo, JPOOL_IMAGE, cinfo->num_components *SIZEOF(jpeg_component_info)) |
References jpeg_component_info::DCT_scaled_size, DCTSIZE, jpeg_component_info::height_in_blocks, jpeg_component_info::last_col_width, jpeg_component_info::last_row_height, jpeg_component_info::MCU_blocks, jpeg_component_info::MCU_height, jpeg_component_info::MCU_sample_width, jpeg_component_info::MCU_width, tmp, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.
References ERREXIT1, examine_app0(), examine_app14(), FAR, M_APP0, and M_APP14.
if | ( | cur_marker | = = NULL | ) |
References cur_marker, data, data_length, FAR, INPUT_2BYTES, JPOOL_IMAGE, length, M_APP0, M_COM, NULL, and SIZEOF.
if | ( | cur_marker! | = NULL | ) |
References cur_marker, data, data_length, and NULL.
jinit_marker_reader | ( | j_decompress_ptr | cinfo | ) |
References i, JPOOL_PERMANENT, marker, my_marker_writer::pub, read_markers(), read_restart_marker(), reset_marker_reader(), and SIZEOF.
Referenced by jpeg_CreateDecompress().
jpeg_resync_to_restart | ( | j_decompress_ptr | cinfo, |
int | desired | ||
) |
References FALSE, M_RST0, M_RST7, M_SOF0, next_marker(), TRACEMS2(), TRUE, and WARNMS2.
jpeg_save_markers | ( | j_decompress_ptr | cinfo, |
int | marker_code, | ||
unsigned int | length_limit | ||
) |
References APP0_DATA_LEN, APP14_DATA_LEN, ERREXIT1, length_limit, M_APP0, M_APP14, M_APP15, M_COM, and SIZEOF.
jpeg_set_marker_processor | ( | j_decompress_ptr | cinfo, |
int | marker_code, | ||
jpeg_marker_parser_method | routine | ||
) |
next_marker | ( | j_decompress_ptr | cinfo | ) |
References c, INPUT_BYTE, INPUT_SYNC, INPUT_VARS, TRUE, and WARNMS2.
Referenced by jpeg_resync_to_restart(), read_markers(), and read_restart_marker().
read_markers | ( | j_decompress_ptr | cinfo | ) |
References ERREXIT1, get_dac, 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, next_marker(), TRACEMS(), TRACEMS1, and TRUE.
Referenced by jinit_marker_reader().
read_restart_marker | ( | j_decompress_ptr | cinfo | ) |
References FALSE, M_RST0, next_marker(), TRACEMS1, and TRUE.
Referenced by jinit_marker_reader().
reset_marker_reader | ( | j_decompress_ptr | cinfo | ) |
References NULL, and my_marker_writer::pub.
Referenced by jinit_marker_reader().
switch | ( | cinfo-> | unread_marker | ) |
References data, data_length, examine_app0(), examine_app14(), M_APP0, M_APP14, and TRACEMS2().
TRACEMS | ( | cinfo | , |
1 | , | ||
JTRC_SOI | |||
) |
Referenced by jinit_downsampler(), and read_markers().
Referenced by examine_app0(), jpeg_resync_to_restart(), switch(), and while().
TRACEMS4 | ( | cinfo | , |
1 | , | ||
JTRC_SOF | , | ||
cinfo-> | unread_marker, | ||
(int) cinfo-> | image_width, | ||
(int) cinfo-> | image_height, | ||
cinfo-> | num_components | ||
) |
while | ( | length | , |
16 | |||
) |
References count, ERREXIT, ERREXIT1, i, index, INPUT_BYTE, jpeg_alloc_huff_table(), MEMCOPY(), NULL, NUM_HUFF_TBLS, SIZEOF, TRACEMS1, and TRACEMS8.
while | ( | length | , |
0 | |||
) |
References DCTSIZE2, ERREXIT1, i, INPUT_2BYTES, INPUT_BYTE, jpeg_alloc_quant_table(), jpeg_natural_order, n, NULL, NUM_QUANT_TBLS, JQUANT_TBL::quantval, TRACEMS2(), and TRACEMS8.
while | ( | ) |
References bytes_read, data, INPUT_SYNC, and MAKE_BYTE_AVAIL.
cinfo Adobe_transform = 0 |
cinfo arith_code = is_arith |
long b |
Referenced by Adam7_deinterlace(), cmyk_ycck_convert(), dlmalloc(), dsp_debug_read_q(), fixed_sqrt(), LodePNG_InfoColor_addPalette(), LodePNG_InfoPng_swap(), paethPredictor(), pbuf_memcmp(), printi(), rgb_gray_convert(), rgb_ycc_convert(), and str2ip().
UINT8 bits[17] |
Referenced by HuffmanTree_makeFromLengths2(), and jpeg_gen_optimal_table().
unsigned int bytes_read |
Referenced by bmp_get_cal_param(), and while().
int c |
Referenced by cmd_ttcp(), console_gets(), Crc32_make_crc_table(), Crc32_update_crc(), device_cdc_task(), dsp_debug_parse_int(), dsp_debug_read(), dsp_debug_read_q(), dsp_debug_read_ui(), fat_example_append_file(), fat_example_build_cmd(), fill_tx_buffer(), for(), fsaccess_example_get_filename(), fsaccess_example_get_mode(), host_cdc_task(), host_check_class(), host_check_VID_PID(), host_transfer_control(), init_ping_info(), jpeg_fill_bit_buffer(), LodePNG_convert(), main(), next_marker(), paethPredictor(), printchar(), sio2host_getchar(), sio2host_getchar_nowait(), sio2ncp_getchar(), sio2ncp_getchar_nowait(), str2ip(), ucvector_push_back(), usart_getchar(), usart_int_handler(), and while().
int cc |
int ci |
Referenced by compress_data(), compress_first_pass(), compress_output(), consume_data(), create_context_buffer(), decode_mcu(), decode_mcu_DC_first(), decompress_data(), decompress_onepass(), decompress_smooth_data(), emit_restart(), encode_mcu_gather(), encode_mcu_huff(), finish_pass_gather(), for(), io_getc(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_prep_controller(), jinit_color_deconverter(), jinit_d_coef_controller(), jinit_d_main_controller(), jinit_downsampler(), jinit_inverse_dct(), jinit_phuff_decoder(), jinit_upsampler(), jpeg_copy_critical_parameters(), jpeg_set_colorspace(), latch_quant_tables(), METHODDEF(), null_convert(), pre_process_context(), pre_process_data(), process_restart(), quantize_fs_dither(), quantize_ord_dither(), sep_downsample(), sep_upsample(), smoothing_ok(), start_pass(), start_pass_fdctmgr(), and start_pass_huff_decoder().
(* cinfo)(cinfo,(long) length) |
Referenced by build_ycc_rgb_table(), compress_first_pass(), compress_output(), consume_data(), create_colorindex(), create_colormap(), create_context_buffer(), decompress_data(), decompress_onepass(), decompress_smooth_data(), encode_mcu_huff(), finish_pass_huff(), finish_pass_master(), for(), if(), jinit_2pass_quantizer(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_prep_controller(), jinit_compress_master(), jinit_d_coef_controller(), jinit_d_post_controller(), jinit_inverse_dct(), jinit_upsampler(), jpeg_alloc_huff_table(), jpeg_alloc_quant_table(), jpeg_fill_bit_buffer(), jpeg_read_raw_data(), jpeg_read_scanlines(), jpeg_start_compress(), jpeg_write_raw_data(), jpeg_write_scanlines(), LOCAL(), master_selection(), merged_1v_upsample(), METHODDEF(), output_pass_setup(), post_process_2pass(), post_process_prepass(), process_data_context_main(), process_data_simple_main(), process_restart(), rgb_ycc_start(), transdecode_master_selection(), and transencode_master_selection().
jpeg_component_info* compptr |
int count |
JSAMPIMAGE data = cur_marker->data + bytes_read |
Referenced by aic23b_write_reg(), ak8975_selftest(), at25dfx_read(), at25dfx_write(), at42qt1060_read_reg(), at42qt1060_write_reg(), at45dbx_read_byte(), at45dbx_read_sector_2_ram(), bus_get(), decodeGeneric(), dsp16_resampling_compute(), dsp_debug_read_q(), ecc_make_block_256b(), hmc5883l_init(), hmc5883l_selftest(), http_recv(), if(), ili9341_read_byte(), isp_crc8(), jpeg_fdct_ifast(), jpeg_fdct_islow(), LodePNG_InfoColor_addPalette(), mxt_crc_8(), printbuf(), sd_mmc_mci_card_init(), spi_at45dbx_mem_check(), ssc_i2s_transfer(), string_resize(), switch(), test_set_data(), twi_probe(), ucvector_cleanup(), ucvector_resize(), uivector_cleanup(), uivector_resize(), and while().
data_length = cur_marker->data_length |
Referenced by host_set_p_txpacket(), host_transfer_control(), if(), switch(), and usb_set_ep_txpacket().
cinfo density_unit = 0 |
else |
JHUFF_TBL** htblptr |
Referenced by finish_pass_gather().
UINT8 huffval[256] |
unsigned int i |
int index |
Referenced by ai_usb_ms_audio_ctrl_resume(), ai_usb_ms_audio_nav_playfile(), ai_usb_ms_nav_getplayfile(), ai_usb_ms_specific_audio_nav_playlist_play_link(), ai_usb_ms_specific_nav_getplaylistfile(), b_temperature_get_value(), convert_byte_array_to_32_bit(), convert_byte_array_to_64_bit(), get_message(), if(), kxtf9_set_bandwidth(), kxtf9_set_sample_rate(), lin_int_handler_node0(), lin_pdca_int_rx_handler_node0(), lin_pdca_int_tx_handler_node0(), lin_send_cmd(), mxt_crc_8(), nav_filterflat_gotoparent(), nav_flat_gotoparent(), nav_getcwd(), nav_getindex(), nav_partition_label(), nav_setcwd(), navauto_open(), pl_main_close(), pl_main_save(), pressure_isa_layer(), send_message(), sensor_find(), sensor_ioctl(), sfh7770_set_threshold(), and while().
cinfo input_scan_number |
JERR_EMPTY_IMAGE |
cinfo JFIF_major_version = 1 |
cinfo JFIF_minor_version = 1 |
cinfo jpeg_color_space = JCS_UNKNOWN |
length = 8 |
int n |
Referenced by Crc32_make_crc_table(), Crc32_update_crc(), dsp16_debug_printf(), dsp16_debug_sprintf(), dsp16_filt_iir(), dsp16_filt_iirpart(), dsp16_filt_interpolation_no_loop_kernel_x0(), dsp16_op_sin(), dsp16_resampling_no_loop_kernel_x0(), dsp16_vect_add(), dsp16_vect_add_and_sat(), dsp16_vect_complex_abs(), dsp16_vect_complex_add(), dsp16_vect_complex_conj(), dsp16_vect_complex_sub(), dsp16_vect_dotdiv(), dsp16_vect_dotmul(), dsp16_vect_intdiv(), dsp16_vect_intmul(), dsp16_vect_max(), dsp16_vect_min(), dsp16_vect_neg(), dsp16_vect_pow(), dsp16_vect_realadd(), dsp16_vect_realdiv(), dsp16_vect_realmul(), dsp16_vect_realsub(), dsp16_vect_sub(), dsp16_win_kaiser(), dsp32_debug_printf(), dsp32_debug_sprintf(), dsp32_filt_iir(), dsp32_filt_iirpart(), dsp32_op_sin(), dsp32_vect_add(), dsp32_vect_add_and_sat(), dsp32_vect_complex_abs(), dsp32_vect_complex_add(), dsp32_vect_complex_sub(), dsp32_vect_dotdiv(), dsp32_vect_dotmul(), dsp32_vect_intdiv(), dsp32_vect_intmul(), dsp32_vect_max(), dsp32_vect_min(), dsp32_vect_neg(), dsp32_vect_pow(), dsp32_vect_realadd(), dsp32_vect_realdiv(), dsp32_vect_realmul(), dsp32_vect_realsub(), dsp32_vect_sub(), dsp32_win_kaiser(), dsp_debug_sprint(), dsp_debug_sprint_after_radix(), dsp_debug_sprint_fct(), dsp_op_gcd(), fixed_sqrt(), getTreeInflateDynamic(), host_get_data(), HuffmanTree_make2DTree(), HuffmanTree_makeFromLengths2(), inflateNoCompression(), median_cut(), pbuf_memcmp(), sensor_device_enum(), udi_cdc_data_received(), usb_pipe_interrupt(), and while().
numtoread = APPN_DATA_LEN |
int prec |
cinfo progressive_mode = is_prog |
JQUANT_TBL* quant_ptr |
cinfo restart_interval = 0 |
unsigned int tmp |
Referenced by flashc_memset64(), for(), if(), main(), print_char_hex(), print_hex(), print_short_hex(), print_ulong(), reverse_argv_elements(), and udi_dfu_atmel_select_memory().
return TRUE |
cinfo X_density = 1 |
cinfo Y_density = 1 |