summaryrefslogtreecommitdiff
path: root/core/fxcodec/lgif/fx_gif.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-09-22 11:05:13 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-22 15:13:06 +0000
commit92827b695a69c7a3fd5940dc0aa1713fe3f3ee96 (patch)
tree1698c9f11f3709683cd4eea615b9a4d970409e3e /core/fxcodec/lgif/fx_gif.h
parent73bed4ef57444a2ea066d532a8a82b230fd206d9 (diff)
downloadpdfium-92827b695a69c7a3fd5940dc0aa1713fe3f3ee96.tar.xz
Move C-style functions into CGifContext
There are a number of functions in fx_gix.h/.cpp that take in a pointer to a CGifContext as their first parameter. Moving these to be methods in that class. BUG=pdfium:902 Change-Id: I8c583ab9e42dda4241aa8a6f865408a94fa6d273 Reviewed-on: https://pdfium-review.googlesource.com/14670 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/lgif/fx_gif.h')
-rw-r--r--core/fxcodec/lgif/fx_gif.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/fxcodec/lgif/fx_gif.h b/core/fxcodec/lgif/fx_gif.h
index bddb22b30c..c3ddf36e3b 100644
--- a/core/fxcodec/lgif/fx_gif.h
+++ b/core/fxcodec/lgif/fx_gif.h
@@ -164,15 +164,4 @@ class CGifLZWDecoder {
char* err_msg_ptr;
};
-static const int32_t s_gif_interlace_step[4] = {8, 8, 4, 2};
-
-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(CGifContext* gif_ptr, uint8_t** avail_buf_ptr);
-
#endif // CORE_FXCODEC_LGIF_FX_GIF_H_