diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-03 17:26:59 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-03 17:26:59 +0000 |
| commit | 79fee501af2a55e244a5c2abc14c2ab1280bcfbe (patch) | |
| tree | d6f81e099b4d15f4078784aec3872e4806e94078 /libopenjpeg/openjpeg.h | |
| parent | 12dfaa2d74ffae0d08cd9b8d32f9a2f9fbfe394c (diff) | |
Apply doxygen fixes suggested by Brad Hards on opj mailing list.
Diffstat (limited to 'libopenjpeg/openjpeg.h')
| -rw-r--r-- | libopenjpeg/openjpeg.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 90de1d27..36f83f8f 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -1153,8 +1153,8 @@ OPJ_API void OPJ_CALLCONV opj_stream_set_user_data_length(opj_stream_t* p_stream /** * Helper function. * Sets the stream to be a file stream. The FILE must have been open previously. - * @param p_stream the stream to modify - * @param p_file handler to an already open file. + * @param p_file the file stream to operate on + * @param p_is_read_stream whether the stream is a read stream (true) or not (false) */ OPJ_API opj_stream_t* OPJ_CALLCONV opj_stream_create_default_file_stream (FILE * p_file, opj_bool p_is_read_stream); OPJ_API opj_stream_t* OPJ_CALLCONV opj_stream_create_file_stream (FILE * p_file, OPJ_UINT32 p_buffer_size, opj_bool p_is_read_stream); @@ -1285,9 +1285,10 @@ DEPRECATED( OPJ_API opj_image_t* OPJ_CALLCONV opj_decode(opj_dinfo_t *dinfo, opj /** * Decode an image from a JPEG-2000 codestream - * @param dinfo decompressor handle + * @param p_decompressor decompressor handle * @param cio Input buffer stream - * @return Returns a decoded image if successful, returns NULL otherwise + * @param p_image the decoded image + * @return Returns a true on success, otherwise false * */ OPJ_API opj_bool OPJ_CALLCONV opj_decode_v2(opj_codec_t *p_decompressor, opj_stream_t * cio, @@ -1456,7 +1457,7 @@ OPJ_API void OPJ_CALLCONV opj_destroy_cstr_info_v2(opj_codestream_info_v2_t **cs /** * Destroy a decompressor handle * - * @param dinfo decompressor handle to destroy + * @param p_codec decompressor handle to destroy */ OPJ_API void OPJ_CALLCONV opj_destroy_codec(opj_codec_t * p_codec); |
