Lines Matching refs:jdec_private
209 static void resync(struct jdec_private *priv);
222 static int get_next_huffman_code(struct jdec_private *priv, struct huffman_table *huffman_table) in get_next_huffman_code()
265 void tinyjpeg_process_Huffman_data_unit(struct jdec_private *priv, int component) in tinyjpeg_process_Huffman_data_unit()
409 static void build_default_huffman_tables(struct jdec_private *priv) in build_default_huffman_tables()
502 static int parse_DQT(struct jdec_private *priv, const unsigned char *stream) in parse_DQT()
529 static int parse_SOF(struct jdec_private *priv, const unsigned char *stream) in parse_SOF()
575 static int parse_SOS(struct jdec_private *priv, const unsigned char *stream) in parse_SOS()
609 static int parse_DHT(struct jdec_private *priv, const unsigned char *stream) in parse_DHT()
652 static int parse_DRI(struct jdec_private *priv, const unsigned char *stream) in parse_DRI()
678 static void resync(struct jdec_private *priv) in resync()
694 static int find_next_rst_marker(struct jdec_private *priv) in find_next_rst_marker()
729 static int parse_JFIF(struct jdec_private *priv, const unsigned char *stream) in parse_JFIF()
822 struct jdec_private *tinyjpeg_init(void) in tinyjpeg_init()
824 struct jdec_private *priv; in tinyjpeg_init()
826 priv = (struct jdec_private *)calloc(1, sizeof(struct jdec_private)); in tinyjpeg_init()
837 void tinyjpeg_free(struct jdec_private *priv) in tinyjpeg_free()
854 int tinyjpeg_parse_header(struct jdec_private *priv, const unsigned char *buf, unsigned int size) in tinyjpeg_parse_header()
876 int tinyjpeg_decode(struct jdec_private *priv, in tinyjpeg_decode()
976 const char *tinyjpeg_get_errorstring(struct jdec_private *priv) in tinyjpeg_get_errorstring()
983 void tinyjpeg_get_size(struct jdec_private *priv, unsigned int *width, unsigned int *height) in tinyjpeg_get_size()
989 int tinyjpeg_get_components(struct jdec_private *priv, unsigned char **components, unsigned int nco… in tinyjpeg_get_components()
999 int tinyjpeg_set_components(struct jdec_private *priv, unsigned char * const *components, unsigned … in tinyjpeg_set_components()
1009 int tinyjpeg_get_bytes_per_row(struct jdec_private *priv, in tinyjpeg_get_bytes_per_row()
1021 int tinyjpeg_set_bytes_per_row(struct jdec_private *priv, in tinyjpeg_set_bytes_per_row()
1033 int tinyjpeg_set_flags(struct jdec_private *priv, int flags) in tinyjpeg_set_flags()