summaryrefslogtreecommitdiff
path: root/core/fxcodec/lbmp/fx_bmp.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-06-15 11:13:34 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-15 15:26:57 +0000
commit65a55343e623924c9c3bbbd953097cf7fd0f5fc6 (patch)
tree884df6a4b11fe11130742a1f777ab3e6021587ac /core/fxcodec/lbmp/fx_bmp.h
parentc71fdcb1c9c4bc4457afff0f0358d3862ef3b8b7 (diff)
downloadpdfium-65a55343e623924c9c3bbbd953097cf7fd0f5fc6.tar.xz
Remove unused BMP compressing code
Change-Id: I64e32fc9226f57e1c9adff7809fabc6cd56e7a8f Reviewed-on: https://pdfium-review.googlesource.com/6611 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/lbmp/fx_bmp.h')
-rw-r--r--core/fxcodec/lbmp/fx_bmp.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/core/fxcodec/lbmp/fx_bmp.h b/core/fxcodec/lbmp/fx_bmp.h
index b16aecb02b..2612d7eb8c 100644
--- a/core/fxcodec/lbmp/fx_bmp.h
+++ b/core/fxcodec/lbmp/fx_bmp.h
@@ -138,30 +138,6 @@ class CBmpContext : public CCodec_BmpModule::Context {
char m_szLastError[256];
};
-typedef struct tag_bmp_compress_struct bmp_compress_struct;
-typedef bmp_compress_struct* bmp_compress_struct_p;
-typedef bmp_compress_struct_p* bmp_compress_struct_pp;
-struct tag_bmp_compress_struct {
- BmpFileHeader file_header;
- BmpInfoHeader info_header;
- uint8_t* src_buf;
- uint32_t src_pitch;
- uint32_t src_row;
- uint8_t src_bpp;
- uint32_t src_width;
- bool src_free;
- uint32_t* pal_ptr;
- uint16_t pal_num;
- uint8_t bit_type;
-};
-
-bmp_compress_struct_p bmp_create_compress();
-void bmp_destroy_compress(bmp_compress_struct_p bmp_ptr);
-bool bmp_encode_image(bmp_compress_struct_p bmp_ptr,
- uint8_t*& dst_buf,
- uint32_t& dst_size);
-
uint16_t GetWord_LSBFirst(uint8_t* p);
-void SetWord_LSBFirst(uint8_t* p, uint16_t v);
#endif // CORE_FXCODEC_LBMP_FX_BMP_H_