| OLD | NEW |
| 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_SRC_FXCODEC_LGIF_FX_GIF_H_ | 7 #ifndef CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ |
| 8 #define CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ | 8 #define CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ |
| 9 | 9 |
| 10 #include <setjmp.h> | 10 #include <setjmp.h> |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 int32_t pal_size); | 233 int32_t pal_size); |
| 234 uint8_t* next_in; | 234 uint8_t* next_in; |
| 235 FX_DWORD avail_in; | 235 FX_DWORD avail_in; |
| 236 int32_t decode_status; | 236 int32_t decode_status; |
| 237 FX_DWORD skip_size; | 237 FX_DWORD skip_size; |
| 238 void (*_gif_record_current_position_fn)(gif_decompress_struct_p gif_ptr, | 238 void (*_gif_record_current_position_fn)(gif_decompress_struct_p gif_ptr, |
| 239 FX_DWORD* cur_pos_ptr); | 239 FX_DWORD* cur_pos_ptr); |
| 240 void (*_gif_get_row_fn)(gif_decompress_struct_p gif_ptr, | 240 void (*_gif_get_row_fn)(gif_decompress_struct_p gif_ptr, |
| 241 int32_t row_num, | 241 int32_t row_num, |
| 242 uint8_t* row_buf); | 242 uint8_t* row_buf); |
| 243 FX_BOOL» » » (*_gif_get_record_position_fn)(gif_decompress_st
ruct_p gif_ptr, FX_DWORD cur_pos, | 243 FX_BOOL (*_gif_get_record_position_fn)(gif_decompress_struct_p gif_ptr, |
| 244 FX_DWORD cur_pos, |
| 244 int32_t left, int32_t top, int32_t width, int32_t height, | 245 int32_t left, int32_t top, int32_t width, int32_t height, |
| 245 int32_t pal_num, void* pal_ptr, | 246 int32_t pal_num, void* pal_ptr, |
| 246 int32_t delay_time, FX_BOOL user_input, | 247 int32_t delay_time, FX_BOOL user_input, |
| 247 int32_t trans_index, int32_t disposal_method, FX_BOOL interlace); | 248 int32_t trans_index, int32_t disposal_method, FX_BOOL interlace); |
| 248 #ifdef GIF_SUPPORT_APPLICATION_EXTENSION | 249 #ifdef GIF_SUPPORT_APPLICATION_EXTENSION |
| 249 uint8_t app_identify[8]; | 250 uint8_t app_identify[8]; |
| 250 uint8_t app_authentication[3]; | 251 uint8_t app_authentication[3]; |
| 251 FX_DWORD app_data_size; | 252 FX_DWORD app_data_size; |
| 252 uint8_t* app_data; | 253 uint8_t* app_data; |
| 253 #endif | 254 #endif |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 uint8_t* src_buf, | 325 uint8_t* src_buf, |
| 325 FX_DWORD src_size); | 326 FX_DWORD src_size); |
| 326 FX_DWORD _gif_get_avail_input(gif_decompress_struct_p gif_ptr, | 327 FX_DWORD _gif_get_avail_input(gif_decompress_struct_p gif_ptr, |
| 327 uint8_t** avial_buf_ptr); | 328 uint8_t** avial_buf_ptr); |
| 328 void interlace_buf(const uint8_t* buf, FX_DWORD width, FX_DWORD height); | 329 void interlace_buf(const uint8_t* buf, FX_DWORD width, FX_DWORD height); |
| 329 FX_BOOL _gif_encode(gif_compress_struct_p gif_ptr, | 330 FX_BOOL _gif_encode(gif_compress_struct_p gif_ptr, |
| 330 uint8_t*& dst_buf, | 331 uint8_t*& dst_buf, |
| 331 FX_DWORD& dst_len); | 332 FX_DWORD& dst_len); |
| 332 | 333 |
| 333 #endif // CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ | 334 #endif // CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ |
| OLD | NEW |