Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_SddProc.cpp117 std::unique_ptr<CJBig2_TRDProc> pDecoder(new CJBig2_TRDProc()); in decode_Arith() local
118 pDecoder->SBHUFF = SDHUFF; in decode_Arith()
119 pDecoder->SBREFINE = 1; in decode_Arith()
120 pDecoder->SBW = SYMWIDTH; in decode_Arith()
121 pDecoder->SBH = HCHEIGHT; in decode_Arith()
122 pDecoder->SBNUMINSTANCES = REFAGGNINST; in decode_Arith()
123 pDecoder->SBSTRIPS = 1; in decode_Arith()
124 pDecoder->SBNUMSYMS = SDNUMINSYMS + NSYMSDECODED; in decode_Arith()
125 SBNUMSYMS = pDecoder->SBNUMSYMS; in decode_Arith()
131 pDecoder->SBSYMCODELEN = SBSYMCODELEN; in decode_Arith()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_tiff.cpp516 CCodec_TiffContext* pDecoder = new CCodec_TiffContext; in CreateDecoder() local
517 if (!pDecoder->InitDecoder(file_ptr)) { in CreateDecoder()
518 delete pDecoder; in CreateDecoder()
521 return pDecoder; in CreateDecoder()
524 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx; in GetFrames() local
525 pDecoder->GetFrames(frames); in GetFrames()
534 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx; in LoadFrameInfo() local
535 return pDecoder->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute); in LoadFrameInfo()
538 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx; in Decode() local
539 return pDecoder->Decode(pDIBitmap); in Decode()
[all …]
Dcodec_int.h338 void GetImageInfo(CJPX_Decoder* pDecoder,
342 bool Decode(CJPX_Decoder* pDecoder,
346 void DestroyDecoder(CJPX_Decoder* pDecoder) override;
Dfx_codec_jpeg.cpp522 CCodec_JpegDecoder* pDecoder = new CCodec_JpegDecoder; in CreateDecoder() local
523 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, in CreateDecoder()
525 delete pDecoder; in CreateDecoder()
528 return pDecoder; in CreateDecoder()
Dfx_codec_jpx_opj.cpp872 void CCodec_JpxModule::GetImageInfo(CJPX_Decoder* pDecoder, in GetImageInfo() argument
876 pDecoder->GetInfo(width, height, components); in GetImageInfo()
879 bool CCodec_JpxModule::Decode(CJPX_Decoder* pDecoder, in Decode() argument
883 return pDecoder->Decode(dest_data, pitch, offsets); in Decode()
886 void CCodec_JpxModule::DestroyDecoder(CJPX_Decoder* pDecoder) { in DestroyDecoder() argument
887 delete pDecoder; in DestroyDecoder()
Dfx_codec_fax.cpp827 CCodec_FaxDecoder* pDecoder = new CCodec_FaxDecoder; in CreateDecoder() local
828 pDecoder->Create(src_buf, src_size, width, height, K, EndOfLine, in CreateDecoder()
830 return pDecoder; in CreateDecoder()
Dfx_codec_flate.cpp910 CCodec_FlateScanlineDecoder* pDecoder = new CCodec_FlateScanlineDecoder; in CreateDecoder() local
911 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, in CreateDecoder()
913 return pDecoder; in CreateDecoder()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp250 FX_DWORD _DecodeAllScanlines(ICodec_ScanlineDecoder* pDecoder, in _DecodeAllScanlines() argument
253 if (!pDecoder) { in _DecodeAllScanlines()
256 int ncomps = pDecoder->CountComps(); in _DecodeAllScanlines()
257 int bpc = pDecoder->GetBPC(); in _DecodeAllScanlines()
258 int width = pDecoder->GetWidth(); in _DecodeAllScanlines()
259 int height = pDecoder->GetHeight(); in _DecodeAllScanlines()
262 delete pDecoder; in _DecodeAllScanlines()
268 const uint8_t* pLine = pDecoder->GetScanline(row); in _DecodeAllScanlines()
274 FX_DWORD srcoff = pDecoder->GetSrcOffset(); in _DecodeAllScanlines()
275 delete pDecoder; in _DecodeAllScanlines()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp328 CPDF_Object* pDecoder = pDict ? pDict->GetElementValue("Filter") : nullptr; in PDF_DataDecode() local
329 if (!pDecoder || (!pDecoder->IsArray() && !pDecoder->IsName())) in PDF_DataDecode()
336 if (CPDF_Array* pDecoders = pDecoder->AsArray()) { in PDF_DataDecode()
347 DecoderList.Add(pDecoder->GetConstString()); in PDF_DataDecode()
400 if (CPDF_Array* pDecoders = pDecoder->AsArray()) in PDF_DataDecode()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp410 CBC_CommonByteMatrix* pDecoder = new CBC_CommonByteMatrix( in EncodeWithSpecifyVersion() local
412 pDecoder->Init(); in EncodeWithSpecifyVersion()
413 CBC_AutoPtr<CBC_CommonByteMatrix> matrix(pDecoder); in EncodeWithSpecifyVersion()
501 CBC_CommonByteMatrix* pDecoder = new CBC_CommonByteMatrix( in EncodeWithAutoVersion() local
503 pDecoder->Init(); in EncodeWithAutoVersion()
504 CBC_AutoPtr<CBC_CommonByteMatrix> matrix(pDecoder); in EncodeWithAutoVersion()
552 CBC_CommonByteMatrix* pDecoder = new CBC_CommonByteMatrix( in Encode() local
554 pDecoder->Init(); in Encode()
555 CBC_AutoPtr<CBC_CommonByteMatrix> matrix(pDecoder); in Encode()
/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
/external/pdfium/core/include/fxcodec/
Dfx_codec.h266 virtual void GetImageInfo(CJPX_Decoder* pDecoder,
271 virtual bool Decode(CJPX_Decoder* pDecoder,
276 virtual void DestroyDecoder(CJPX_Decoder* pDecoder) = 0;