Home
last modified time | relevance | path

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

/external/pdfium/core/include/fxcodec/
Dfx_codec_provider.h18 virtual void DestroyDecoder(void* pDecoder) = 0;
20 virtual void DownScale(void* pDecoder, int dest_width, int dest_height) = 0;
22 virtual FX_BOOL Rewind(void* pDecoder) = 0;
24 virtual FX_LPBYTE GetNextLine(void* pDecoder) = 0;
26 virtual FX_DWORD GetSrcOffset(void* pDecoder) = 0;
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp251 FX_DWORD _DecodeAllScanlines(ICodec_ScanlineDecoder* pDecoder, FX_LPBYTE& dest_buf, FX_DWORD& dest_… in _DecodeAllScanlines() argument
253 if (pDecoder == NULL) { 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 FX_LPBYTE pLine = pDecoder->GetScanline(row); in _DecodeAllScanlines()
274 FX_DWORD srcoff = pDecoder->GetSrcOffset(); in _DecodeAllScanlines()
275 delete pDecoder; in _DecodeAllScanlines()
[all …]
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.cpp2447 CJBig2_TRDProc *pDecoder; in decode_Arith() local
2448 JBIG2_ALLOC(pDecoder, CJBig2_TRDProc()); in decode_Arith()
2449 pDecoder->SBHUFF = SDHUFF; in decode_Arith()
2450 pDecoder->SBREFINE = 1; in decode_Arith()
2451 pDecoder->SBW = SYMWIDTH; in decode_Arith()
2452 pDecoder->SBH = HCHEIGHT; in decode_Arith()
2453 pDecoder->SBNUMINSTANCES = REFAGGNINST; in decode_Arith()
2454 pDecoder->SBSTRIPS = 1; in decode_Arith()
2455 pDecoder->SBNUMSYMS = SDNUMINSYMS + NSYMSDECODED; in decode_Arith()
2456 SBNUMSYMS = pDecoder->SBNUMSYMS; in decode_Arith()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp273 CPDF_Object* pDecoder = pDict ? pDict->GetElementValue(FX_BSTRC("Filter")) : NULL; in PDF_DataDecode() local
274 …if (pDecoder == NULL || (pDecoder->GetType() != PDFOBJ_ARRAY && pDecoder->GetType() != PDFOBJ_NAME… in PDF_DataDecode()
280 if (pDecoder->GetType() == PDFOBJ_ARRAY) { in PDF_DataDecode()
284 CPDF_Array* pDecoders = (CPDF_Array*)pDecoder; in PDF_DataDecode()
295 DecoderList.Add(pDecoder->GetConstString()); in PDF_DataDecode()
Dfpdf_parser_filters.cpp135 CPDF_Object* pDecoder = pDict->GetElementValue("Filter"); in _FPDF_CreateFilterFromDict() local
136 if (pDecoder == NULL) { in _FPDF_CreateFilterFromDict()
142 if (pDecoder->GetType() == PDFOBJ_ARRAY) { in _FPDF_CreateFilterFromDict()
146 for (FX_DWORD i = 0; i < ((CPDF_Array*)pDecoder)->GetCount(); i ++) { in _FPDF_CreateFilterFromDict()
147 CFX_ByteString name = ((CPDF_Array*)pDecoder)->GetString(i); in _FPDF_CreateFilterFromDict()
165 … pFirstFilter = FPDF_CreateFilter(pDecoder->GetString(), (CPDF_Dictionary*)pParams, width, height); in _FPDF_CreateFilterFromDict()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp789 CJPX_Decoder* pDecoder = new CJPX_Decoder; in CreateDecoder() local
790 pDecoder->m_useColorSpace = useColorSpace; in CreateDecoder()
791 if (!pDecoder->Init(src_buf, src_size)) { in CreateDecoder()
792 delete pDecoder; in CreateDecoder()
795 return pDecoder; in CreateDecoder()
800 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx; in GetImageInfo() local
801 pDecoder->GetInfo(width, height, codestream_nComps, output_nComps); in GetImageInfo()
805 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx; in Decode() local
806 return pDecoder->Decode(dest_data, pitch, bTranslateColor, offsets); in Decode()
810 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx; in DestroyDecoder() local
[all …]
Dfx_codec_jpeg.cpp494 CCodec_JpegDecoder* pDecoder = new CCodec_JpegDecoder; in CreateDecoder() local
495 … if (!pDecoder->Create(src_buf, src_size, width, height, nComps, ColorTransform, m_pExtProvider)) { in CreateDecoder()
496 delete pDecoder; in CreateDecoder()
499 return pDecoder; in CreateDecoder()
Dfx_codec_fax.cpp982 CCodec_FaxDecoder* pDecoder = new CCodec_FaxDecoder; in CreateDecoder() local
983pDecoder->Create(src_buf, src_size, width, height, K, EndOfLine, EncodedByteAlign, BlackIs1, Colum… in CreateDecoder()
984 return pDecoder; in CreateDecoder()
Dfx_codec_flate.cpp831 CCodec_FlateScanlineDecoder* pDecoder = new CCodec_FlateScanlineDecoder; in CreateDecoder() local
832pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, Colors, BitsPerComponen… in CreateDecoder()
833 return pDecoder; in CreateDecoder()
/external/sonivox/arm-fm-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/sonivox/arm-hybrid-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/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