Searched refs:bpc (Results 1 - 17 of 17) sorted by relevance

/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
H A Dcodec_int.h16 int nComps, int bpc);
119 int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
H A Dimageinfo.js65 var bpc = data.getByteAt(24);
68 var bpp = bpc;
/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...]
H A Dfpdf_render_image.cpp908 int nComps, int bpc, const CPDF_Dictionary* pParams);
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfilters_int.h50 CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols);
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/include/fxcodec/
H A 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_page/
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;
H A Dfpdf_page_parser_new.cpp514 int bpc = m_pLastCloneImageDict->GetInteger(FX_BSTRC("BitsPerComponent")); local
523 int pitch = (width * bpc * nComponents + 7) / 8;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dparse-events.l155 branch|branches|bpu|btb|bpc |
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Djp2.h171 OPJ_UINT32 bpc; member in struct:opj_jp2
H A Djp2.c94 * @param p_bpc_header_size the size of the bpc header
97 * @return true if the bpc header is valid, fale else.
290 * @return true if the bpc header is valid, fale else.
547 opj_read_bytes(p_image_header_data,&(jp2->bpc),1); /* BPC */
600 opj_write_bytes(l_current_ihdr_ptr, jp2->bpc, 1); /* BPC */
668 if (jp2->bpc != 255 ){
669 opj_event_msg(p_manager, EVT_WARNING, "A BPCC header box is available although BPC given by the IHDR box (%d) indicate components bit depth is constant\n",jp2->bpc);
1401 if (jp2->bpc == 255) {
1663 jp2->bpc = depth_0 + (sign << 7);
1668 jp2->bpc
[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 380 milliseconds