Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec_a85_unittest.cpp19 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
20 EXPECT_TRUE(pEncoders); in TEST()
23 EXPECT_FALSE(pEncoders->A85Encode(src_buf, src_size, &dest_buf, nullptr)); in TEST()
24 EXPECT_FALSE(pEncoders->A85Encode(src_buf, src_size, nullptr, &dest_size)); in TEST()
25 EXPECT_FALSE(pEncoders->A85Encode(src_buf, 0, &dest_buf, &dest_size)); in TEST()
26 EXPECT_FALSE(pEncoders->A85Encode(nullptr, src_size, &dest_buf, &dest_size)); in TEST()
37 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
38 EXPECT_TRUE(pEncoders); in TEST()
41 EXPECT_TRUE(pEncoders->A85Encode(src_buf, src_size, &dest_buf, &dest_size)); in TEST()
62 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
[all …]
Dfx_codec_rle_unittest.cpp20 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
21 EXPECT_TRUE(pEncoders); in TEST()
25 pEncoders->RunLengthEncode(src_buf, src_size, &dest_buf, nullptr)); in TEST()
27 pEncoders->RunLengthEncode(src_buf, src_size, nullptr, &dest_size)); in TEST()
28 EXPECT_FALSE(pEncoders->RunLengthEncode(src_buf, 0, &dest_buf, &dest_size)); in TEST()
30 pEncoders->RunLengthEncode(nullptr, src_size, &dest_buf, &dest_size)); in TEST()
40 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
41 EXPECT_TRUE(pEncoders); in TEST()
44 pEncoders->RunLengthEncode(src_buf, src_size, &dest_buf, &dest_size)); in TEST()
69 CCodec_BasicModule* pEncoders = CCodec_ModuleMgr().GetBasicModule(); in TEST() local
[all …]
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp552 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in FlateEncode() local
553 return pEncoders->GetFlateModule()->Encode(src_buf, src_size, dest_buf, in FlateEncode()
561 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in PngEncode() local
562 return pEncoders->GetFlateModule()->PngEncode(src_buf, src_size, dest_buf, in PngEncode()
570 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in FlateDecode() local
571 return pEncoders->GetFlateModule()->FlateOrLZWDecode( in FlateDecode()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp57 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in PSCompressData() local
61 if (pEncoders->GetFlateModule()->Encode(src_buf, src_size, &dest_buf, in PSCompressData()
66 if (pEncoders->GetBasicModule()->RunLengthEncode(src_buf, src_size, in PSCompressData()
691 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in WritePSBinary() local
692 if (pEncoders->GetBasicModule()->A85Encode(data, len, &dest_buf, in WritePSBinary()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp510 CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); in CreateDecoder() local
511 m_pDecoder = pEncoders->GetBasicModule()->CreateRunLengthDecoder( in CreateDecoder()