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

Side by Side Diff: core/fxcodec/lgif/fx_gif.h

Issue 2230683002: fix 617135 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: FX_ArraySize and cleanup helper method Created 4 years, 4 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
« no previous file with comments | « no previous file | core/fxcodec/lgif/fx_gif.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FXCODEC_LGIF_FX_GIF_H_ 7 #ifndef CORE_FXCODEC_LGIF_FX_GIF_H_
8 #define CORE_FXCODEC_LGIF_FX_GIF_H_ 8 #define CORE_FXCODEC_LGIF_FX_GIF_H_
9 9
10 #include <setjmp.h> 10 #include <setjmp.h>
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 int32_t gif_get_frame(gif_decompress_struct_p gif_ptr); 284 int32_t gif_get_frame(gif_decompress_struct_p gif_ptr);
285 int32_t gif_get_frame_num(gif_decompress_struct_p gif_ptr); 285 int32_t gif_get_frame_num(gif_decompress_struct_p gif_ptr);
286 int32_t gif_decode_extension(gif_decompress_struct_p gif_ptr); 286 int32_t gif_decode_extension(gif_decompress_struct_p gif_ptr);
287 int32_t gif_decode_image_info(gif_decompress_struct_p gif_ptr); 287 int32_t gif_decode_image_info(gif_decompress_struct_p gif_ptr);
288 void gif_takeover_gce_ptr(gif_decompress_struct_p gif_ptr, 288 void gif_takeover_gce_ptr(gif_decompress_struct_p gif_ptr,
289 GifGCE** gce_ptr_ptr); 289 GifGCE** gce_ptr_ptr);
290 int32_t gif_load_frame(gif_decompress_struct_p gif_ptr, int32_t frame_num); 290 int32_t gif_load_frame(gif_decompress_struct_p gif_ptr, int32_t frame_num);
291 uint8_t* gif_read_data(gif_decompress_struct_p gif_ptr, 291 uint8_t* gif_read_data(gif_decompress_struct_p gif_ptr,
292 uint8_t** des_buf_pp, 292 uint8_t** des_buf_pp,
293 uint32_t data_size); 293 uint32_t data_size);
294 void gif_decoding_failure_at_tail_cleanup(gif_decompress_struct_p gif_ptr,
295 GifImage* gif_image_ptr);
294 void gif_save_decoding_status(gif_decompress_struct_p gif_ptr, int32_t status); 296 void gif_save_decoding_status(gif_decompress_struct_p gif_ptr, int32_t status);
295 void gif_input_buffer(gif_decompress_struct_p gif_ptr, 297 void gif_input_buffer(gif_decompress_struct_p gif_ptr,
296 uint8_t* src_buf, 298 uint8_t* src_buf,
297 uint32_t src_size); 299 uint32_t src_size);
298 uint32_t gif_get_avail_input(gif_decompress_struct_p gif_ptr, 300 uint32_t gif_get_avail_input(gif_decompress_struct_p gif_ptr,
299 uint8_t** avail_buf_ptr); 301 uint8_t** avail_buf_ptr);
300 void interlace_buf(const uint8_t* buf, uint32_t width, uint32_t height); 302 void interlace_buf(const uint8_t* buf, uint32_t width, uint32_t height);
301 FX_BOOL gif_encode(gif_compress_struct_p gif_ptr, 303 FX_BOOL gif_encode(gif_compress_struct_p gif_ptr,
302 uint8_t*& dst_buf, 304 uint8_t*& dst_buf,
303 uint32_t& dst_len); 305 uint32_t& dst_len);
304 306
305 #endif // CORE_FXCODEC_LGIF_FX_GIF_H_ 307 #endif // CORE_FXCODEC_LGIF_FX_GIF_H_
OLDNEW
« no previous file with comments | « no previous file | core/fxcodec/lgif/fx_gif.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698