Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp257 …FX_BOOL Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bp…
323 …eDecoder::Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc) in Create() argument
329 m_nComps = nComps; in Create()
333 m_Pitch = (width * nComps * bpc + 31) / 32 * 4; in Create()
334 m_dwLineBytes = (width * nComps * bpc + 7) / 8; in Create()
431 int nComps, int bpc) in CreateRunLengthDecoder() argument
434 if (!pRLScanlineDecoder->Create(src_buf, src_size, width, height, nComps, bpc)) { in CreateRunLengthDecoder()
Dfx_codec_jpeg.cpp280 FX_BOOL Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps,
367 int nComps, FX_BOOL ColorTransform, IFX_JpegProvider* pJP) in Create() argument
371 …m_pExtContext = m_pExtProvider->CreateDecoder(src_buf, src_size, width, height, nComps, ColorTrans… in Create()
397 if (cinfo.num_components < nComps) { in Create()
489 int width, int height, int nComps, FX_BOOL ColorTransform) in CreateDecoder() argument
495 … if (!pDecoder->Create(src_buf, src_size, width, height, nComps, ColorTransform, m_pExtProvider)) { in CreateDecoder()
617 int CCodec_JpegModule::ReadHeader(void* pContext, int* width, int* height, int* nComps) in ReadHeader() argument
620 return m_pExtProvider->ReadHeader(pContext, width, height, nComps); in ReadHeader()
635 *nComps = p->m_Info.num_components; in ReadHeader()
Dcodec_int.h25 int nComps, int bpc);
128 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns);
146 … int width, int height, int nComps, FX_BOOL ColorTransform);
154 virtual int ReadHeader(void* pContext, int* width, int* height, int* nComps);
Dfx_codec_flate.cpp586 void Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc,
634 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) in Create() argument
640 m_nComps = nComps; in Create()
643 m_Pitch = (width * nComps * bpc + 7) / 8; in Create()
829 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) in CreateDecoder() argument
832 …pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, Colors, BitsPerComponen… in CreateDecoder()
/external/pdfium/core/include/fxcodec/
Dfx_codec_provider.h15 …ecoder(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, FX_BOOL ColorTran…
42 virtual int ReadHeader(void* pContext, int* width, int* height, int* nComps) = 0;
Dfx_codec.h93 int nComps, int bpc) = 0;
127 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) = 0;
158 int width, int height, int nComps, FX_BOOL ColorTransform) = 0;
173 virtual int ReadHeader(void* pContext, int* width, int* height, int* nComps) = 0;
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_pattern.cpp171 int nComps = pCS->CountComponents(); in Load() local
172 if (nComps > 8) { in Load()
175 m_nComps = nFuncs ? 1 : nComps; in Load()
Dfpdf_page_colors.cpp977 int nComps = m_pAltCS->CountComponents(); in GetRGB() local
978 CFX_FixedBufGrow<FX_FLOAT, 16> results(nComps); in GetRGB()
979 for (int i = 0; i < nComps; i ++) { in GetRGB()
1289 int nComps = 3; in CPDF_Color() local
1291 nComps = 1; in CPDF_Color()
1293 nComps = 4; in CPDF_Color()
1295 m_pBuffer = FX_Alloc(FX_FLOAT, nComps); in CPDF_Color()
1296 for (int i = 0; i < nComps; i ++) { in CPDF_Color()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp232 int nComps, int bpc, const CPDF_Dictionary* pParams) in FPDFAPI_CreateFlateDecoder() argument
246 nComps, bpc, predictor, Colors, BitsPerComponent, Columns); in FPDFAPI_CreateFlateDecoder()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp826 int nComps, int bpc, const CPDF_Dictionary* pParams);
Dfpdf_render_loadimage.cpp552 int nComps, int bpc, const CPDF_Dictionary* pParams);