diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-11 18:44:29 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-12 16:06:57 +0000 |
commit | 2199ab8e048ae19ee3ae01afe640ce3a66092a00 (patch) | |
tree | 9902df65f20b9e9c67e6dc7ad8afdff5ecb9b8e7 /core/fxcodec/lgif/fx_gif.h | |
parent | 3c58aa0bf51c64eb126be165e7478e70fbb68043 (diff) | |
download | pdfium-2199ab8e048ae19ee3ae01afe640ce3a66092a00.tar.xz |
Merge FXGIF_Context and CGifDecompressor into CGifContextchromium/3098
Change-Id: I60c9cbd83ff9e7a30a5a570a6ad1cf8f52360c07
Reviewed-on: https://pdfium-review.googlesource.com/5410
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/lgif/fx_gif.h')
-rw-r--r-- | core/fxcodec/lgif/fx_gif.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/core/fxcodec/lgif/fx_gif.h b/core/fxcodec/lgif/fx_gif.h index 7bae79f245..5df1f817ef 100644 --- a/core/fxcodec/lgif/fx_gif.h +++ b/core/fxcodec/lgif/fx_gif.h @@ -13,7 +13,7 @@ #include "core/fxcrt/fx_basic.h" -class CGifDecompressor; +class CGifContext; #define GIF_SIGNATURE "GIF" #define GIF_SIG_EXTENSION 0x21 @@ -166,14 +166,13 @@ class CGifLZWDecoder { static const int32_t s_gif_interlace_step[4] = {8, 8, 4, 2}; -GifDecodeStatus gif_read_header(CGifDecompressor* gif_ptr); -GifDecodeStatus gif_get_frame(CGifDecompressor* gif_ptr); -int32_t gif_get_frame_num(CGifDecompressor* gif_ptr); -GifDecodeStatus gif_load_frame(CGifDecompressor* gif_ptr, int32_t frame_num); -void gif_input_buffer(CGifDecompressor* gif_ptr, +GifDecodeStatus gif_read_header(CGifContext* gif_ptr); +GifDecodeStatus gif_get_frame(CGifContext* gif_ptr); +int32_t gif_get_frame_num(CGifContext* gif_ptr); +GifDecodeStatus gif_load_frame(CGifContext* gif_ptr, int32_t frame_num); +void gif_input_buffer(CGifContext* gif_ptr, uint8_t* src_buf, uint32_t src_size); -uint32_t gif_get_avail_input(CGifDecompressor* gif_ptr, - uint8_t** avail_buf_ptr); +uint32_t gif_get_avail_input(CGifContext* gif_ptr, uint8_t** avail_buf_ptr); #endif // CORE_FXCODEC_LGIF_FX_GIF_H_ |