summaryrefslogtreecommitdiff
path: root/libopenjpeg/tcd.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-05-18 11:02:27 +0000
committerAntonin Descampe <antonin@gmail.com>2011-05-18 11:02:27 +0000
commit88f43b15fab0c75c10635c9e3d6381e5d716b8e9 (patch)
treedd05218cd57a6d2de5bfc10db1e777f84e31d314 /libopenjpeg/tcd.h
parent0c9f6a3ac9ede04eb6faf96b7d7a9586c551a9c2 (diff)
defined new type "opj_bool", and new constants OPJ_FALSE and OPJ_TRUE, to avoid having to deal with "stdbool.h" (patch from Winfried)
Diffstat (limited to 'libopenjpeg/tcd.h')
-rw-r--r--libopenjpeg/tcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/tcd.h b/libopenjpeg/tcd.h
index a5330730..e3f93adc 100644
--- a/libopenjpeg/tcd.h
+++ b/libopenjpeg/tcd.h
@@ -251,7 +251,7 @@ void tcd_malloc_decode_tile(opj_tcd_t *tcd, opj_image_t * image, opj_cp_t * cp,
void tcd_makelayer_fixed(opj_tcd_t *tcd, int layno, int final);
void tcd_rateallocate_fixed(opj_tcd_t *tcd);
void tcd_makelayer(opj_tcd_t *tcd, int layno, double thresh, int final);
-bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_codestream_info_t *cstr_info);
+opj_bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_codestream_info_t *cstr_info);
/**
Encode a tile from the raw image into a buffer
@param tcd TCD handle
@@ -270,7 +270,7 @@ Decode a tile from a buffer into a raw image
@param tileno Number that identifies one of the tiles to be decoded
@param cstr_info Codestream information structure
*/
-bool tcd_decode_tile(opj_tcd_t *tcd, unsigned char *src, int len, int tileno, opj_codestream_info_t *cstr_info);
+opj_bool tcd_decode_tile(opj_tcd_t *tcd, unsigned char *src, int len, int tileno, opj_codestream_info_t *cstr_info);
/**
Free the memory allocated for decoding
@param tcd TCD handle