Functions | |
bool | jpeg_lib_decode (int offset) |
void * | jpeg_lib_decode_ex (int offset, uint16_t *width, uint16_t *height) |
void | jpeg_lib_exit (void) |
bool | jpeg_lib_init (void) |
bool jpeg_lib_decode | ( | int | offset | ) |
References jpeg_lib::cinfo, cinfo, jpeg_decompress_struct::dct_method, jpeg_decompress_struct::do_fancy_upsampling, file_close(), file_open(), file_seek(), FOPEN_MODE_R, FS_SEEK_SET, jpeg_decompress_struct::image_height, jpeg_decompress_struct::image_width, JCS_RGB565, JDCT_FASTEST, jpeg_abort_decompress(), jpeg_finish_decompress(), JPEG_HEADER_OK, jpeg_lib_data, jpeg_out_buffer_pos, jpeg_read_header(), jpeg_read_scanlines(), jpeg_stdio_src(), max_lines, NULL, jpeg_decompress_struct::out_color_space, jpeg_decompress_struct::output_height, jpeg_lib::output_image, jpeg_decompress_struct::output_scanline, jpeg_decompress_struct::output_width, jpeg_decompress_struct::scale_denom, stream_close(), stream_open(), stream_seek(), and TRUE.
Referenced by jpeg_lib_decode_ex().
void* jpeg_lib_decode_ex | ( | int | offset, |
uint16_t * | width, | ||
uint16_t * | height | ||
) |
References jpeg_lib::cinfo, cinfo, if(), jpeg_lib_data, jpeg_lib_decode(), NULL, jpeg_decompress_struct::output_height, jpeg_lib::output_image, and jpeg_decompress_struct::output_width.
Referenced by ai_usb_ms_support_info_image(), and main().
void jpeg_lib_exit | ( | void | ) |
References jpeg_lib::cinfo, jpeg_destroy_decompress(), jpeg_lib_data, and jpeg_lib::output_image.
Referenced by main().
bool jpeg_lib_init | ( | void | ) |