Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp257 …_BOOL Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc);
323 …eDecoder::Create(FX_LPCBYTE src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc) in Create() argument
330 m_bpc = bpc; 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_flate.cpp327 int bpc, int nColors, int nPixels) in PNG_PredictLine() argument
329 int row_size = (nPixels * bpc * nColors + 7) / 8; in PNG_PredictLine()
330 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()
586 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
641 m_bpc = bpc; 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()
Dcodec_int.h25 int nComps, int bpc);
128 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns);
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp257 int bpc = pDecoder->GetBPC(); in _DecodeAllScanlines() local
260 int pitch = (width * ncomps * bpc + 7) / 8; in _DecodeAllScanlines()
336 FX_DWORD bpc = pDict->GetInteger(FX_BSTRC("BitsPerComponent")); in ReadInlineStream() local
346 if (bpc && pitch > INT_MAX / bpc) { in ReadInlineStream()
349 pitch *= bpc; in ReadInlineStream()
/external/pdfium/core/include/fxcodec/
Dfx_codec.h93 int nComps, int bpc) = 0;
127 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) = 0;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfilters_int.h53 CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols);
Dfpdf_parser_filters.cpp442 CPDF_PredictorFilter::CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols) in CPDF_PredictorFilter() argument
449 m_Bpp = (colors * bpc + 7) / 8; in CPDF_PredictorFilter()
450 m_Pitch = (colors * bpc * cols + 7) / 8; in CPDF_PredictorFilter()
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_loadimage.cpp35 FX_SAFE_DWORD CalculatePitch8(FX_DWORD bpc, in CalculatePitch8() argument
40 FX_SAFE_DWORD pitch = bpc; in CalculatePitch8()
552 int nComps, int bpc, const CPDF_Dictionary* pParams);
572 int comps, bpc; in CreateDecoder() local
574 … if (pJpegModule->LoadInfo(src_data, src_size, m_Width, m_Height, comps, bpc, bTransform)) { in CreateDecoder()
587 m_bpc = bpc; in CreateDecoder()
Dfpdf_render_image.cpp826 int nComps, int bpc, const CPDF_Dictionary* pParams);
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.h171 OPJ_UINT32 bpc; member
Djp2.c557 opj_read_bytes(p_image_header_data,&(jp2->bpc),1); /* BPC */ in opj_jp2_read_ihdr()
609 opj_write_bytes(l_current_ihdr_ptr, jp2->bpc, 1); /* BPC */ in opj_jp2_write_ihdr()
676 if (jp2->bpc != 255 ){ in opj_jp2_read_bpcc()
677 …ble although BPC given by the IHDR box (%d) indicate components bit depth is constant\n",jp2->bpc); in opj_jp2_read_bpcc()
1474 if (jp2->bpc == 255) { in opj_jp2_write_jp2h()
1746 jp2->bpc = depth_0 + (sign << 7); in opj_jp2_setup_encoder()
1751 jp2->bpc = 255; in opj_jp2_setup_encoder()
/external/linux-tools-perf/src/tools/perf/util/
Dparse-events.l155 branch|branches|bpu|btb|bpc |
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp375 int bpc, const SkString& colorSpace, in transferImageStreamToBitmap() argument
386 if ((colorSpace.equals("DeviceRGB") || colorSpace.equals("RGB")) && bpc == 8) { in transferImageStreamToBitmap()
404 else if ((colorSpace.equals("DeviceGray") || colorSpace.equals("Gray")) && bpc == 8) { in transferImageStreamToBitmap()
439 int bpc = (int)image->BitsPerComponent(pdfContext->fPdfDoc); in getImageFromObjectCore() local
541 (int)bpc, colorSpace, in getImageFromObjectCore()
/external/libvncserver/x11vnc/
Dscreen.c1093 int bpc; in install_fake_fb() local
1107 bpc = guess_bits_per_color(bpp); in install_fake_fb()
1110 screen, fake_fb, w, h, bpc, 1, bpp/8); in install_fake_fb()
1112 rfb_new_framebuffer(screen, fake_fb, w, h, bpc, 1, bpp/8); in install_fake_fb()