Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/jp2.h

Issue 589243004: Update openjpeg (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Merge security fixes from openjpeg r2883 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698