Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/jbig2/
DJBig2_SddProc.cpp118 auto pDecoder = pdfium::MakeUnique<CJBig2_TRDProc>(); in decode_Arith() local
119 pDecoder->SBHUFF = SDHUFF; in decode_Arith()
120 pDecoder->SBREFINE = 1; in decode_Arith()
121 pDecoder->SBW = SYMWIDTH; in decode_Arith()
122 pDecoder->SBH = HCHEIGHT; in decode_Arith()
123 pDecoder->SBNUMINSTANCES = REFAGGNINST; in decode_Arith()
124 pDecoder->SBSTRIPS = 1; in decode_Arith()
125 pDecoder->SBNUMSYMS = SDNUMINSYMS + NSYMSDECODED; in decode_Arith()
126 SBNUMSYMS = pDecoder->SBNUMSYMS; in decode_Arith()
132 pDecoder->SBSYMCODELEN = SBSYMCODELEN; in decode_Arith()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp39 uint32_t DecodeAllScanlines(std::unique_ptr<CCodec_ScanlineDecoder> pDecoder, in DecodeAllScanlines() argument
42 if (!pDecoder) in DecodeAllScanlines()
44 int ncomps = pDecoder->CountComps(); in DecodeAllScanlines()
45 int bpc = pDecoder->GetBPC(); in DecodeAllScanlines()
46 int width = pDecoder->GetWidth(); in DecodeAllScanlines()
47 int height = pDecoder->GetHeight(); in DecodeAllScanlines()
55 const uint8_t* pLine = pDecoder->GetScanline(row); in DecodeAllScanlines()
61 return pDecoder->GetSrcOffset(); in DecodeAllScanlines()
73 std::unique_ptr<CCodec_ScanlineDecoder> pDecoder = in DecodeInlineStream() local
75 return DecodeAllScanlines(std::move(pDecoder), dest_buf, dest_size); in DecodeInlineStream()
[all …]
/external/pdfium/core/fxcodec/codec/
Dccodec_jpxmodule.h26 void GetImageInfo(CJPX_Decoder* pDecoder,
30 bool Decode(CJPX_Decoder* pDecoder,
Dfx_codec.cpp1749 auto pDecoder = pdfium::MakeUnique<CCodec_RLScanlineDecoder>(); in CreateRunLengthDecoder() local
1750 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, bpc)) in CreateRunLengthDecoder()
1753 return std::move(pDecoder); in CreateRunLengthDecoder()
Dfx_codec_jpeg.cpp347 auto pDecoder = pdfium::MakeUnique<CCodec_JpegDecoder>(); in CreateDecoder() local
348 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, in CreateDecoder()
352 return std::move(pDecoder); in CreateDecoder()
Dfx_codec_jpx_opj.cpp627 void CCodec_JpxModule::GetImageInfo(CJPX_Decoder* pDecoder, in GetImageInfo() argument
631 pDecoder->GetInfo(width, height, components); in GetImageInfo()
634 bool CCodec_JpxModule::Decode(CJPX_Decoder* pDecoder, in Decode() argument
638 return pDecoder->Decode(dest_data, pitch, offsets); in Decode()
Dccodec_tiffmodule.cpp484 auto pDecoder = pdfium::MakeUnique<CTiffContext>(); in CreateDecoder() local
485 if (!pDecoder->InitDecoder(file_ptr)) in CreateDecoder()
488 return pDecoder; in CreateDecoder()
Dfx_codec_flate.cpp756 auto pDecoder = pdfium::MakeUnique<CCodec_FlateScanlineDecoder>(); in CreateDecoder() local
757 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, in CreateDecoder()
759 return std::move(pDecoder); in CreateDecoder()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp342 CPDF_Object* pDecoder = pDict ? pDict->GetDirectObjectFor("Filter") : nullptr; in PDF_DataDecode() local
343 if (!pDecoder || (!pDecoder->IsArray() && !pDecoder->IsName())) in PDF_DataDecode()
350 if (CPDF_Array* pDecoders = pDecoder->AsArray()) { in PDF_DataDecode()
359 {pDecoder->GetString(), pParams ? pParams->GetDict() : nullptr}); in PDF_DataDecode()
/external/sonivox/arm-wt-22k/lib_src/
Deas_pcm.c360 pState->pDecoder = decoders[pParams->decoder]; in EAS_PEOpenStream()
498 if (pState->pDecoder->pfLocate == NULL) in EAS_PELocate()
501 return pState->pDecoder->pfLocate(pEASData, pState, time); in EAS_PELocate()
952 if (pState->pDecoder->pfInit) in InitPCMStream()
953 return (*pState->pDecoder->pfInit)(pEASData, pState); in InitPCMStream()
1197 if ((result = (*pState->pDecoder->pfDecodeSample)(pEASData, pState)) != EAS_SUCCESS) in RenderPCMStream()
Deas_pcmdata.h79 struct s_decoder_interface_tag EAS_CONST * pDecoder; /* pointer to decoder interface */ member