diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-09-05 17:06:14 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-09-05 17:06:14 -0700 |
commit | 23f602a07a570de8a3a356b6b156fe036c38ab27 (patch) | |
tree | df0746687069b53ef0ffa6ccfee955b67ad184c9 /com32/include | |
parent | 0cd5e05574453627bc9d5fba7bb9c6a6b2d3dd22 (diff) | |
download | syslinux-23f602a07a570de8a3a356b6b156fe036c38ab27.tar.gz |
Augment tinyjpeg so that we can decode straight into the buffer;
clear the screen on startup.
Diffstat (limited to 'com32/include')
-rw-r--r-- | com32/include/tinyjpeg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/com32/include/tinyjpeg.h b/com32/include/tinyjpeg.h index b800a4b0..d320f9bb 100644 --- a/com32/include/tinyjpeg.h +++ b/com32/include/tinyjpeg.h @@ -59,8 +59,10 @@ int tinyjpeg_parse_header(struct jdec_private *priv, const unsigned char *buf, u int tinyjpeg_decode(struct jdec_private *priv, tinyjpeg_colorspace_t pixel_format); const char *tinyjpeg_get_errorstring(struct jdec_private *priv); void tinyjpeg_get_size(struct jdec_private *priv, unsigned int *width, unsigned int *height); -int tinyjpeg_get_components(struct jdec_private *priv, unsigned char **components); -int tinyjpeg_set_components(struct jdec_private *priv, unsigned char **components, unsigned int ncomponents); +int tinyjpeg_get_components(struct jdec_private *priv, unsigned char **components, unsigned int ncomponents); +int tinyjpeg_set_components(struct jdec_private *priv, unsigned char * const *components, unsigned int ncomponents); +int tinyjpeg_get_bytes_per_row(struct jdec_private *priv, unsigned int *bytes, unsigned int ncomponents); +int tinyjpeg_set_bytes_per_row(struct jdec_private *priv, const unsigned int *bytes, unsigned int ncomponents); int tinyjpeg_set_flags(struct jdec_private *priv, int flags); #ifdef __cplusplus |