/external/pdfium/core/include/fxcodec/ |
H A D | fx_codec_provider.h | 18 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/ |
H A D | fpdf_page_parser_old.cpp | 241 FX_DWORD _DecodeAllScanlines(ICodec_ScanlineDecoder* pDecoder, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
argument 243 if (pDecoder == NULL) {
246 int ncomps = pDecoder->CountComps();
247 int bpc = pDecoder->GetBPC();
248 int width = pDecoder->GetWidth();
249 int height = pDecoder->GetHeight();
252 delete pDecoder;
258 FX_LPBYTE pLine = pDecoder->GetScanline(row);
264 FX_DWORD srcoff = pDecoder->GetSrcOffset();
265 delete pDecoder;
279 ICodec_ScanlineDecoder* pDecoder = FPDFAPI_CreateFaxDecoder(src_buf, limit, width, height, pParam); local 290 ICodec_ScanlineDecoder* pDecoder = CPDF_ModuleMgr::Get()->GetJpegModule()->CreateDecoder( local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_flate.cpp | 853 CCodec_FlateScanlineDecoder* pDecoder = FX_NEW CCodec_FlateScanlineDecoder;
854 if (pDecoder == NULL) {
857 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, Colors, BitsPerComponent, Columns);
858 return pDecoder;
864 CLZWDecoder* pDecoder = NULL;
876 pDecoder = FX_NEW CLZWDecoder;
877 if (pDecoder == NULL) {
882 int err = pDecoder->Decode(NULL, dest_size, src_buf, offset, bEarlyChange);
883 delete pDecoder;
887 pDecoder [all...] |
H A D | fx_codec_jpx_opj.cpp | 773 CJPX_Decoder* pDecoder = FX_NEW CJPX_Decoder;
local 774 if (pDecoder == NULL) {
777 pDecoder->m_useColorSpace = useColorSpace;
778 if (!pDecoder->Init(src_buf, src_size)) {
779 delete pDecoder;
782 return pDecoder;
787 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx;
local 788 pDecoder->GetInfo(width, height, codestream_nComps, output_nComps);
792 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx;
local 793 return pDecoder 797 CJPX_Decoder* pDecoder = (CJPX_Decoder*)ctx; local [all...] |
H A D | fx_codec_jpeg.cpp | 549 CCodec_JpegDecoder* pDecoder = FX_NEW CCodec_JpegDecoder;
local 550 if (pDecoder == NULL) {
553 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, ColorTransform, m_pExtProvider)) {
554 delete pDecoder;
557 return pDecoder;
|
H A D | fx_codec_fax.cpp | 962 CCodec_FaxDecoder* pDecoder = FX_NEW CCodec_FaxDecoder;
local 963 if (pDecoder == NULL) {
966 pDecoder->Create(src_buf, src_size, width, height, K, EndOfLine, EncodedByteAlign, BlackIs1, Columns, Rows);
967 return pDecoder;
|
/external/pdfium/core/src/fxcodec/jbig2/ |
H A D | JBig2_GeneralDecoder.cpp | 2397 CJBig2_TRDProc *pDecoder;
local 2398 JBIG2_ALLOC(pDecoder, CJBig2_TRDProc());
2399 pDecoder->SBHUFF = SDHUFF;
2400 pDecoder->SBREFINE = 1;
2401 pDecoder->SBW = SYMWIDTH;
2402 pDecoder->SBH = HCHEIGHT;
2403 pDecoder->SBNUMINSTANCES = REFAGGNINST;
2404 pDecoder->SBSTRIPS = 1;
2405 pDecoder->SBNUMSYMS = SDNUMINSYMS + NSYMSDECODED;
2406 SBNUMSYMS = pDecoder 2708 CJBig2_TRDProc *pDecoder; local [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_pcmdata.h | 79 struct s_decoder_interface_tag EAS_CONST * pDecoder; /* pointer to decoder interface */ member in struct:s_pcm_state_tag
|
H A D | eas_pcm.c | 360 pState->pDecoder = decoders[pParams->decoder]; 498 if (pState->pDecoder->pfLocate == NULL) 501 return pState->pDecoder->pfLocate(pEASData, pState, time); 952 if (pState->pDecoder->pfInit) 953 return (*pState->pDecoder->pfInit)(pEASData, pState); 1197 if ((result = (*pState->pDecoder->pfDecodeSample)(pEASData, pState)) != EAS_SUCCESS)
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_pcmdata.h | 79 struct s_decoder_interface_tag EAS_CONST * pDecoder; /* pointer to decoder interface */ member in struct:s_pcm_state_tag
|
H A D | eas_pcm.c | 360 pState->pDecoder = decoders[pParams->decoder]; 498 if (pState->pDecoder->pfLocate == NULL) 501 return pState->pDecoder->pfLocate(pEASData, pState, time); 952 if (pState->pDecoder->pfInit) 953 return (*pState->pDecoder->pfInit)(pEASData, pState); 1197 if ((result = (*pState->pDecoder->pfDecodeSample)(pEASData, pState)) != EAS_SUCCESS)
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_pcmdata.h | 79 struct s_decoder_interface_tag EAS_CONST * pDecoder; /* pointer to decoder interface */ member in struct:s_pcm_state_tag
|
H A D | eas_pcm.c | 360 pState->pDecoder = decoders[pParams->decoder]; 498 if (pState->pDecoder->pfLocate == NULL) 501 return pState->pDecoder->pfLocate(pEASData, pState, time); 952 if (pState->pDecoder->pfInit) 953 return (*pState->pDecoder->pfInit)(pEASData, pState); 1197 if ((result = (*pState->pDecoder->pfDecodeSample)(pEASData, pState)) != EAS_SUCCESS)
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
H A D | fpdf_parser_decode.cpp | 283 CPDF_Object* pDecoder = pDict->GetElementValue(FX_BSTRC("Filter"));
local 284 if (pDecoder == NULL || (pDecoder->GetType() != PDFOBJ_ARRAY && pDecoder->GetType() != PDFOBJ_NAME)) {
290 if (pDecoder->GetType() == PDFOBJ_ARRAY) {
294 CPDF_Array* pDecoders = (CPDF_Array*)pDecoder;
305 DecoderList.Add(pDecoder->GetConstString());
|
H A D | fpdf_parser_filters.cpp | 135 CPDF_Object* pDecoder = pDict->GetElementValue("Filter");
local 136 if (pDecoder == NULL) {
142 if (pDecoder->GetType() == PDFOBJ_ARRAY) {
146 for (FX_DWORD i = 0; i < ((CPDF_Array*)pDecoder)->GetCount(); i ++) {
147 CFX_ByteString name = ((CPDF_Array*)pDecoder)->GetString(i);
165 pFirstFilter = FPDF_CreateFilter(pDecoder->GetString(), (CPDF_Dictionary*)pParams, width, height);
|