Home
last modified time | relevance | path

Searched refs:CFX_LZWDecompressor (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor.cpp17 std::unique_ptr<CFX_LZWDecompressor> CFX_LZWDecompressor::Create( in Create()
24 return std::unique_ptr<CFX_LZWDecompressor>( in Create()
25 new CFX_LZWDecompressor(color_exp, code_exp)); in Create()
28 CFX_LZWDecompressor::CFX_LZWDecompressor(uint8_t color_exp, uint8_t code_exp) in CFX_LZWDecompressor() function in CFX_LZWDecompressor
42 CFX_LZWDecompressor::~CFX_LZWDecompressor() {} in ~CFX_LZWDecompressor()
44 CFX_GifDecodeStatus CFX_LZWDecompressor::Decode(const uint8_t* src_buf, in Decode()
140 void CFX_LZWDecompressor::ClearTable() { in ClearTable()
151 void CFX_LZWDecompressor::AddCode(uint16_t prefix_code, uint8_t append_char) { in AddCode()
163 bool CFX_LZWDecompressor::DecodeString(uint16_t code) { in DecodeString()
184 uint32_t CFX_LZWDecompressor::ExtractData(uint8_t* dest_buf, in ExtractData()
Dcfx_lzwdecompressor_unittest.cpp10 TEST(CFX_LZWDecompressor, CreateBadParams) { in TEST() argument
11 EXPECT_EQ(nullptr, CFX_LZWDecompressor::Create(0x10, 0x02)); in TEST()
12 EXPECT_EQ(nullptr, CFX_LZWDecompressor::Create(0x04, 0x0F)); in TEST()
13 EXPECT_EQ(nullptr, CFX_LZWDecompressor::Create(0x02, 0x02)); in TEST()
16 TEST(CFX_LZWDecompressor, ExtractData) { in TEST() argument
19 auto decompressor = CFX_LZWDecompressor::Create(palette_exp, code_exp); in TEST()
79 TEST(CFX_LZWDecompressor, DecodeBadParams) { in TEST() argument
82 auto decompressor = CFX_LZWDecompressor::Create(palette_exp, code_exp); in TEST()
108 TEST(CFX_LZWDecompressor, Decode1x1SingleColour) { in TEST() argument
111 auto decompressor = CFX_LZWDecompressor::Create(palette_exp, code_exp); in TEST()
[all …]
Dcfx_lzwdecompressor.h15 class CFX_LZWDecompressor {
23 static std::unique_ptr<CFX_LZWDecompressor> Create(uint8_t color_exp,
25 ~CFX_LZWDecompressor();
41 CFX_LZWDecompressor(uint8_t color_exp, uint8_t code_exp);
Dcfx_gifcontext.h58 std::unique_ptr<CFX_LZWDecompressor> lzw_decompressor_;
Dcfx_gifcontext.cpp241 lzw_decompressor_ = CFX_LZWDecompressor::Create( in LoadFrame()
281 lzw_decompressor_ = CFX_LZWDecompressor::Create( in LoadFrame()
/external/pdfium/testing/fuzzers/
Dpdf_lzw_fuzzer.cc19 std::unique_ptr<CFX_LZWDecompressor> decompressor = in LZWFuzz()
20 CFX_LZWDecompressor::Create(color_exp, code_exp); in LZWFuzz()