Home
last modified time | relevance | path

Searched refs:CFX_GifDecodeStatus (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.cpp69 CFX_GifDecodeStatus CFX_GifContext::ReadHeader() { in ReadHeader()
70 CFX_GifDecodeStatus status = ReadGifSignature(); in ReadHeader()
71 if (status != CFX_GifDecodeStatus::Success) in ReadHeader()
76 CFX_GifDecodeStatus CFX_GifContext::GetFrame() { in GetFrame()
77 CFX_GifDecodeStatus ret = CFX_GifDecodeStatus::Success; in GetFrame()
81 return CFX_GifDecodeStatus::Success; in GetFrame()
85 return CFX_GifDecodeStatus::Unfinished; in GetFrame()
96 return CFX_GifDecodeStatus::Success; in GetFrame()
104 return CFX_GifDecodeStatus::Success; in GetFrame()
110 return CFX_GifDecodeStatus::Unfinished; in GetFrame()
[all …]
Dcfx_lzwdecompressor.cpp45 CFX_GifDecodeStatus CFX_LZWDecompressor::Decode(uint8_t* src_buf, in Decode()
50 return CFX_GifDecodeStatus::Error; in Decode()
53 return CFX_GifDecodeStatus::InsufficientDestSize; in Decode()
64 return CFX_GifDecodeStatus::InsufficientDestSize; in Decode()
72 return CFX_GifDecodeStatus::Error; in Decode()
76 return CFX_GifDecodeStatus::Error; in Decode()
82 return CFX_GifDecodeStatus::Error; in Decode()
100 return CFX_GifDecodeStatus::Success; in Decode()
108 return CFX_GifDecodeStatus::Error; in Decode()
110 return CFX_GifDecodeStatus::Error; in Decode()
[all …]
Dcfx_gifcontext_unittest.cpp115 EXPECT_EQ(CFX_GifDecodeStatus::Unfinished, context.ReadGifSignature()); in TEST()
122 EXPECT_EQ(CFX_GifDecodeStatus::Unfinished, context.ReadGifSignature()); in TEST()
128 EXPECT_EQ(CFX_GifDecodeStatus::Error, context.ReadGifSignature()); in TEST()
135 EXPECT_EQ(CFX_GifDecodeStatus::Error, context.ReadGifSignature()); in TEST()
142 EXPECT_EQ(CFX_GifDecodeStatus::Error, context.ReadGifSignature()); in TEST()
149 EXPECT_EQ(CFX_GifDecodeStatus::Success, context.ReadGifSignature()); in TEST()
156 EXPECT_EQ(CFX_GifDecodeStatus::Success, context.ReadGifSignature()); in TEST()
166 EXPECT_EQ(CFX_GifDecodeStatus::Unfinished, in TEST()
175 EXPECT_EQ(CFX_GifDecodeStatus::Success, in TEST()
190 EXPECT_EQ(CFX_GifDecodeStatus::Success, in TEST()
[all …]
Dcfx_gifcontext.h39 CFX_GifDecodeStatus ReadHeader();
40 CFX_GifDecodeStatus GetFrame();
41 CFX_GifDecodeStatus LoadFrame(int32_t frame_num);
70 CFX_GifDecodeStatus ReadGifSignature();
71 CFX_GifDecodeStatus ReadLogicalScreenDescriptor();
75 CFX_GifDecodeStatus DecodeExtension();
76 CFX_GifDecodeStatus DecodeImageInfo();
Dcfx_lzwdecompressor_unittest.cpp92 CFX_GifDecodeStatus::Error, in TEST()
94 EXPECT_EQ(CFX_GifDecodeStatus::Error, in TEST()
97 CFX_GifDecodeStatus::Error, in TEST()
99 EXPECT_EQ(CFX_GifDecodeStatus::Error, in TEST()
104 CFX_GifDecodeStatus::InsufficientDestSize, in TEST()
123 CFX_GifDecodeStatus::Success, in TEST()
155 CFX_GifDecodeStatus::Success, in TEST()
190 CFX_GifDecodeStatus::Success, in TEST()
215 CFX_GifDecodeStatus::Error, in TEST()
Dcfx_lzwdecompressor.h27 CFX_GifDecodeStatus Decode(uint8_t* src_buf,
Dcfx_gif.h109 enum class CFX_GifDecodeStatus { enum
/external/pdfium/core/fxcodec/codec/
Dccodec_gifmodule.cpp25 CFX_GifDecodeStatus CCodec_GifModule::ReadHeader(Context* pContext, in ReadHeader()
33 CFX_GifDecodeStatus ret = context->ReadHeader(); in ReadHeader()
34 if (ret != CFX_GifDecodeStatus::Success) in ReadHeader()
43 return CFX_GifDecodeStatus::Success; in ReadHeader()
46 std::pair<CFX_GifDecodeStatus, size_t> CCodec_GifModule::LoadFrameInfo( in LoadFrameInfo()
49 CFX_GifDecodeStatus ret = context->GetFrame(); in LoadFrameInfo()
50 if (ret != CFX_GifDecodeStatus::Success) in LoadFrameInfo()
52 return {CFX_GifDecodeStatus::Success, context->GetFrameNum()}; in LoadFrameInfo()
55 CFX_GifDecodeStatus CCodec_GifModule::LoadFrame(Context* pContext, in LoadFrame()
59 CFX_GifDecodeStatus ret = context->LoadFrame(frame_num); in LoadFrame()
[all …]
Dccodec_gifmodule.h47 CFX_GifDecodeStatus ReadHeader(Context* context,
54 std::pair<CFX_GifDecodeStatus, size_t> LoadFrameInfo(Context* context);
55 CFX_GifDecodeStatus LoadFrame(Context* context,
Dfx_codec_progress.cpp1232 CFX_GifDecodeStatus readResult = pGifModule->ReadHeader( in GifDetectImageType()
1235 while (readResult == CFX_GifDecodeStatus::Unfinished) { in GifDetectImageType()
1246 if (readResult == CFX_GifDecodeStatus::Success) { in GifDetectImageType()
1823 CFX_GifDecodeStatus readResult; in GetFrames()
1826 while (readResult == CFX_GifDecodeStatus::Unfinished) { in GetFrames()
1834 if (readResult == CFX_GifDecodeStatus::Success) { in GetFrames()
2171 CFX_GifDecodeStatus readRes = in GifContinueDecode()
2173 while (readRes == CFX_GifDecodeStatus::Unfinished) { in GifContinueDecode()
2184 if (readRes == CFX_GifDecodeStatus::Success) { in GifContinueDecode()
/external/pdfium/testing/libfuzzer/
Dpdf_lzw_fuzzer.cc30 if (CFX_GifDecodeStatus::InsufficientDestSize != in LZWFuzz()