OLD | NEW |
1 /* | 1 /* |
2 * The copyright in this software is being made available under the 2-clauses | 2 * The copyright in this software is being made available under the 2-clauses |
3 * BSD License, included below. This software may be subject to other third | 3 * BSD License, included below. This software may be subject to other third |
4 * party and contributor rights, including patent rights, and no such rights | 4 * party and contributor rights, including patent rights, and no such rights |
5 * are granted under this license. | 5 * are granted under this license. |
6 * | 6 * |
7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium | 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium |
8 * Copyright (c) 2002-2014, Professor Benoit Macq | 8 * Copyright (c) 2002-2014, Professor Benoit Macq |
9 * Copyright (c) 2002-2003, Yannick Verschueren | 9 * Copyright (c) 2002-2003, Yannick Verschueren |
10 * Copyright (c) 2005, Herve Drolon, FreeImage Team | 10 * Copyright (c) 2005, Herve Drolon, FreeImage Team |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 opj_event_mgr_t * p_manager); | 271 opj_event_mgr_t * p_manager); |
272 | 272 |
273 /** | 273 /** |
274 * Setup the encoder parameters using the current image and using user parameter
s. | 274 * Setup the encoder parameters using the current image and using user parameter
s. |
275 * Coding parameters are returned in jp2->j2k->cp. | 275 * Coding parameters are returned in jp2->j2k->cp. |
276 * | 276 * |
277 * @param jp2 JP2 compressor handle | 277 * @param jp2 JP2 compressor handle |
278 * @param parameters compression parameters | 278 * @param parameters compression parameters |
279 * @param image input filled image | 279 * @param image input filled image |
280 * @param p_manager FIXME DOC | 280 * @param p_manager FIXME DOC |
| 281 * @return OPJ_TRUE if successful, OPJ_FALSE otherwise |
281 */ | 282 */ |
282 void opj_jp2_setup_encoder( opj_jp2_t *jp2, | 283 OPJ_BOOL opj_jp2_setup_encoder( opj_jp2_t *jp2, |
283 opj_cparameters_t *parameters, | 284 opj_cparameters_t *parameters, |
284 opj_image_t *image, | 285 opj_image_t *image, |
285 opj_event_mgr_t * p_manager); | 286 opj_event_mgr_t * p_manager); |
286 | 287 |
287 /** | 288 /** |
288 Encode an image into a JPEG-2000 file stream | 289 Encode an image into a JPEG-2000 file stream |
289 @param jp2 JP2 compressor handle | 290 @param jp2 JP2 compressor handle |
290 @param stream Output buffer stream | 291 @param stream Output buffer stream |
291 @param p_manager event manager | 292 @param p_manager event manager |
292 @return Returns true if successful, returns false otherwise | 293 @return Returns true if successful, returns false otherwise |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 */ | 487 */ |
487 opj_codestream_index_t* jp2_get_cstr_index(opj_jp2_t* p_jp2); | 488 opj_codestream_index_t* jp2_get_cstr_index(opj_jp2_t* p_jp2); |
488 | 489 |
489 | 490 |
490 /*@}*/ | 491 /*@}*/ |
491 | 492 |
492 /*@}*/ | 493 /*@}*/ |
493 | 494 |
494 #endif /* __JP2_H */ | 495 #endif /* __JP2_H */ |
495 | 496 |
OLD | NEW |