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

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

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « core/fxcodec/lbmp/fx_bmp.h ('k') | core/fxcrt/cfx_count_ref.h » ('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>
11 11
12 #include "core/fxcrt/include/fx_basic.h" 12 #include "core/fxcrt/fx_basic.h"
13 13
14 #define GIF_SIGNATURE "GIF" 14 #define GIF_SIGNATURE "GIF"
15 #define GIF_SIG_EXTENSION 0x21 15 #define GIF_SIG_EXTENSION 0x21
16 #define GIF_SIG_IMAGE 0x2C 16 #define GIF_SIG_IMAGE 0x2C
17 #define GIF_SIG_TRAILER 0x3B 17 #define GIF_SIG_TRAILER 0x3B
18 #define GIF_BLOCK_GCE 0xF9 18 #define GIF_BLOCK_GCE 0xF9
19 #define GIF_BLOCK_PTE 0x01 19 #define GIF_BLOCK_PTE 0x01
20 #define GIF_BLOCK_CE 0xFE 20 #define GIF_BLOCK_CE 0xFE
21 #define GIF_BLOCK_AE 0xFF 21 #define GIF_BLOCK_AE 0xFF
22 #define GIF_BLOCK_TERMINAL 0x00 22 #define GIF_BLOCK_TERMINAL 0x00
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 uint8_t* src_buf, 298 uint8_t* src_buf,
299 uint32_t src_size); 299 uint32_t src_size);
300 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,
301 uint8_t** avail_buf_ptr); 301 uint8_t** avail_buf_ptr);
302 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);
303 FX_BOOL gif_encode(gif_compress_struct_p gif_ptr, 303 FX_BOOL gif_encode(gif_compress_struct_p gif_ptr,
304 uint8_t*& dst_buf, 304 uint8_t*& dst_buf,
305 uint32_t& dst_len); 305 uint32_t& dst_len);
306 306
307 #endif // CORE_FXCODEC_LGIF_FX_GIF_H_ 307 #endif // CORE_FXCODEC_LGIF_FX_GIF_H_
OLDNEW
« no previous file with comments | « core/fxcodec/lbmp/fx_bmp.h ('k') | core/fxcrt/cfx_count_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698