Home
last modified time | relevance | path

Searched refs:pEncoders (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_a85_unittest.cpp20 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
21 EXPECT_TRUE(pEncoders); in TEST()
24 EXPECT_FALSE(pEncoders->A85Encode(src_buf, src_size, &dest_buf, nullptr)); in TEST()
25 EXPECT_FALSE(pEncoders->A85Encode(src_buf, src_size, nullptr, &dest_size)); in TEST()
26 EXPECT_FALSE(pEncoders->A85Encode(src_buf, 0, &dest_buf, &dest_size)); in TEST()
27 EXPECT_FALSE(pEncoders->A85Encode(nullptr, src_size, &dest_buf, &dest_size)); in TEST()
38 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
39 EXPECT_TRUE(pEncoders); in TEST()
42 EXPECT_TRUE(pEncoders->A85Encode(src_buf, src_size, &dest_buf, &dest_size)); in TEST()
63 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
[all …]
Dfx_codec_rle_unittest.cpp21 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
22 EXPECT_TRUE(pEncoders); in TEST()
26 pEncoders->RunLengthEncode(src_buf, src_size, &dest_buf, nullptr)); in TEST()
28 pEncoders->RunLengthEncode(src_buf, src_size, nullptr, &dest_size)); in TEST()
29 EXPECT_FALSE(pEncoders->RunLengthEncode(src_buf, 0, &dest_buf, &dest_size)); in TEST()
31 pEncoders->RunLengthEncode(nullptr, src_size, &dest_buf, &dest_size)); in TEST()
41 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
42 EXPECT_TRUE(pEncoders); in TEST()
45 pEncoders->RunLengthEncode(src_buf, src_size, &dest_buf, &dest_size)); in TEST()
70 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
[all …]
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp549 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in FlateEncode() local
550 return pEncoders && in FlateEncode()
551 pEncoders->GetFlateModule()->Encode(src_buf, src_size, dest_buf, in FlateEncode()
559 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in PngEncode() local
560 return pEncoders && in PngEncode()
561 pEncoders->GetFlateModule()->PngEncode(src_buf, src_size, dest_buf, in PngEncode()
569 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in FlateDecode() local
570 if (pEncoders) { in FlateDecode()
571 return pEncoders->GetFlateModule()->FlateOrLZWDecode( in FlateDecode()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp316 CCodec_ModuleMgr* pEncoders = CFX_GEModule::Get()->GetCodecModule(); in PSCompressData() local
320 if (pEncoders && in PSCompressData()
321 pEncoders->GetFlateModule()->Encode(src_buf, src_size, &dest_buf, in PSCompressData()
326 if (pEncoders && in PSCompressData()
327 pEncoders->GetBasicModule()->RunLengthEncode(src_buf, src_size, in PSCompressData()
677 CCodec_ModuleMgr* pEncoders = CFX_GEModule::Get()->GetCodecModule(); in WritePSBinary() local
678 if (pEncoders && in WritePSBinary()
679 pEncoders->GetBasicModule()->A85Encode(data, len, &dest_buf, in WritePSBinary()