38#ifndef UTILS_JPEG_READER_H_
39#define UTILS_JPEG_READER_H_
73 char com[65536 - 2 + 1];
const struct huffman_table default_huffman_tables[4]
@ LUM_DC
order of tables in default_huffman_tables
int jpeg_read_info(uint8_t *image, int len, struct jpeg_info *info)
@ JPEG_MAX_COMPONENT_COUNT
bool jpeg_get_rtp_hdr_data(uint8_t *jpeg_data, int len, struct jpeg_rtp_data *hdr_data)
int comp_table_quantization_map[JPEG_MAX_COMPONENT_COUNT]
mapping component -> index to table_quantization
int sampling_factor_h[JPEG_MAX_COMPONENT_COUNT]
enum jpeg_color_spec color_spec
uint8_t huff_chm_dc[16+256]
uint8_t * quantization_tables[JPEG_MAX_COMPONENT_COUNT]
int sampling_factor_v[JPEG_MAX_COMPONENT_COUNT]
uint8_t huff_chm_ac[16+256]
uint8_t huff_lum_dc[16+256]
uint8_t huff_lum_ac[16+256]
uint8_t * quantization_tables[2]