Searched defs:bpc (Results 1 - 10 of 10) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_parser_new.cpp514 int bpc = m_pLastCloneImageDict->GetInteger(FX_BSTRC("BitsPerComponent")); local
523 int pitch = (width * bpc * nComponents + 7) / 8;
H A Dfpdf_page_parser_old.cpp247 int bpc = pDecoder->GetBPC(); local
250 int pitch = (width * ncomps * bpc + 7) / 8;
327 FX_DWORD bpc = pDict->GetInteger(FX_BSTRC("BitsPerComponent")); local
337 if (bpc && pitch > INT_MAX / bpc) {
340 pitch *= bpc;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_filters.cpp442 CPDF_PredictorFilter::CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols) argument
449 m_Bpp = (colors * bpc + 7) / 8;
450 m_Pitch = (colors * bpc * cols + 7) / 8;
H A Dfpdf_parser_decode.cpp240 int nComps, int bpc, const CPDF_Dictionary* pParams)
256 nComps, bpc, predictor, Colors, BitsPerComponent, Columns);
239 FPDFAPI_CreateFlateDecoder(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc, const CPDF_Dictionary* pParams) argument
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec.cpp258 FX_BOOL Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc);
324 FX_BOOL CCodec_RLScanlineDecoder::Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc) argument
331 m_bpc = bpc;
334 m_Pitch = (width * nComps * bpc + 31) / 32 * 4;
335 m_dwLineBytes = (width * nComps * bpc + 7) / 8;
436 int nComps, int bpc)
442 if (!pRLScanlineDecoder->Create(src_buf, src_size, width, height, nComps, bpc)) {
435 CreateRunLengthDecoder(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc) argument
H A Dfx_codec_flate.cpp323 int bpc, int nColors, int nPixels)
325 int row_size = (nPixels * bpc * nColors + 7) / 8;
326 int BytesPerPixel = (bpc * nColors + 7) / 8;
574 FX_BOOL Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc,
622 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns)
629 m_bpc = bpc;
631 m_Pitch = (width * nComps * bpc + 7) / 8;
851 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns)
857 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, Colors, BitsPerComponent, Columns);
322 PNG_PredictLine(FX_LPBYTE pDestData, FX_LPCBYTE pSrcData, FX_LPCBYTE pLastLine, int bpc, int nColors, int nPixels) argument
621 Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) argument
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Djp2.h171 OPJ_UINT32 bpc; member in struct:opj_jp2
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_loadimage.cpp577 int nComps, int bpc, const CPDF_Dictionary* pParams);
594 int comps, bpc; local
596 if (pJpegModule->LoadInfo(src_data, src_size, m_Width, m_Height, comps, bpc, bTransform)) {
598 m_bpc = bpc;
917 FX_DWORD bpc = m_bpc; local
925 bpc = 1;
927 bpc = 8;
934 bpc = 1;
938 bpc = 8;
942 return bpc;
973 FX_DWORD bpc = GetValidBpp(); local
1031 FX_DWORD bpc = GetValidBpp(); local
[all...]
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
H A DSkPdfRenderer.cpp374 int bpc, const SkString& colorSpace,
385 if ((colorSpace.equals("DeviceRGB") || colorSpace.equals("RGB")) && bpc == 8) {
402 else if ((colorSpace.equals("DeviceGray") || colorSpace.equals("Gray")) && bpc == 8) {
437 int bpc = (int)image->BitsPerComponent(pdfContext->fPdfDoc); local
483 if (bpc != 0 && bpc != 1) {
487 bpc = 1;
539 (int)bpc, colorSpace,
371 transferImageStreamToBitmap(const unsigned char* uncompressedStream, size_t uncompressedStreamLength, int width, int height, int bytesPerLine, int bpc, const SkString& colorSpace, bool transparencyMask) argument
/external/skia/experimental/PdfViewer/src/
H A DSkPdfRenderer.cpp374 int bpc, const SkString& colorSpace,
385 if ((colorSpace.equals("DeviceRGB") || colorSpace.equals("RGB")) && bpc == 8) {
402 else if ((colorSpace.equals("DeviceGray") || colorSpace.equals("Gray")) && bpc == 8) {
437 int bpc = (int)image->BitsPerComponent(pdfContext->fPdfDoc); local
483 if (bpc != 0 && bpc != 1) {
487 bpc = 1;
539 (int)bpc, colorSpace,
371 transferImageStreamToBitmap(const unsigned char* uncompressedStream, size_t uncompressedStreamLength, int width, int height, int bytesPerLine, int bpc, const SkString& colorSpace, bool transparencyMask) argument

Completed in 213 milliseconds