Home
last modified time | relevance | path

Searched refs:GetBPP (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_dibsource.cpp69 int bpp = pBitmap->GetBPP() / 8; in CFX_Palette()
223 int Bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_RgbOrCmyk2Gray()
262 if (pSrcBitmap->GetBPP() == 1) { in ConvertBuffer_IndexCopy()
321 int bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2PltRgb8()
562 int comps = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2Rgb32()
625 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone()
638 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
655 if (GetBPP() == 1) { in BuildPalette()
664 } else if (GetBPP() == 8) { in BuildPalette()
691 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteArgb()
[all …]
Dcfx_dibitmap.cpp201 if (GetBPP() == 1) { in TransferBitmap()
217 int Bpp = GetBPP() / 8; in TransferBitmap()
234 m_pBuffer.Get() + dest_top * m_Pitch + dest_left * GetBPP() / 8; in TransferBitmap()
256 if (pSrcBitmap->GetBPP() == 1) { in LoadChannel()
266 if (pSrcBitmap->GetBPP() < 24) { in LoadChannel()
295 if (GetBPP() < 24) { in LoadChannel()
335 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannel()
336 int destBytes = pDst->GetBPP() / 8; in LoadChannel()
373 if (GetBPP() < 24) { in LoadChannel()
388 int Bpp = GetBPP() / 8; in LoadChannel()
[all …]
Dcfx_bitmapcomposer.cpp59 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
117 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
131 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
Dcfx_dibsource.h55 int GetBPP() const { return m_bpp; } in GetBPP() function
Dcfx_imagetransformer.cpp329 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in Continue()
403 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcMono()
438 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcColor()
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp18 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) { in GetBitmapInfo()
19 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); in GetBitmapInfo()
24 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo()
29 if (pBitmap->GetBPP() == 8) { in GetBitmapInfo()
41 if (pBitmap->GetBPP() == 1) { in GetBitmapInfo()
Dcfx_psrenderer.cpp381 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
394 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits()
459 int bpp = pConverted->GetBPP() / 8; in DrawDIBits()
Dfx_win32_print.cpp110 if (pSource->GetBPP() != 1 || alpha != 255) in StretchDIBits()
170 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1))) { in StartDIBits()
Dfx_win32_gdipext.cpp591 ASSERT(pBitmap->GetBPP() == 1); in OutputImageMask()
681 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage()
692 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage()
973 ASSERT(pBitmap->GetBPP() == 1); in StretchBitMask()
Dfx_win32_device.cpp1172 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits()
1176 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage()) { in GetDIBits()
1208 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
/external/pdfium/core/fxcodec/codec/
Dccodec_tiffmodule.cpp303 switch (pDIBitmap->GetBPP()) { in IsSupport()
354 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB()
382 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB()
418 if (pDIBitmap->GetBPP() != 24 || !IsSupport(pDIBitmap)) in Decode24bppRGB()
451 if (pDIBitmap->GetBPP() == 32) { in Decode()
Dfx_codec_progress.cpp400 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf()
464 int32_t des_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz()
655 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBuf()
734 int des_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanline()
755 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert()
912 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT()
1484 int des_bpp = pDeviceBitmap->GetBPP(); in ReSampleScanline()
1685 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert()
1857 if (!pDIBitmap || pDIBitmap->GetBPP() < 8 || m_FrameNumber == 0) in StartDecode()
2235 if (m_pDeviceBitmap->GetBPP() == 32 && in TifContinueDecode()
Dfx_codec_jpeg.cpp518 int Bpp = pSource->GetBPP() / 8;
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp75 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
269 SkASSERT(bitmap->GetBPP() == 8 || bitmap->GetBPP() == 32); in DebugValidate()
270 if (bitmap->GetBPP() == 32) { in DebugValidate()
275 SkASSERT(device->GetBPP() == 8 || device->GetBPP() == 32); in DebugValidate()
276 if (device->GetBPP() == 32) { in DebugValidate()
586 switch (pSource->GetBPP()) { in Upsample()
1511 SkASSERT(pBitmap->GetBPP() == 8 || pBitmap->GetBPP() == 32); in CFX_SkiaDeviceDriver()
1514 pBitmap->GetBPP() == 8 ? kAlpha_8_SkColorType : kN32_SkColorType, in CFX_SkiaDeviceDriver()
1699 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1709 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfeditimg.cpp162 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap()
299 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp46 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel()
74 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect()
150 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
903 if (m_pDevice->GetBPP() == 8) { in Init()
925 if (m_pDevice->GetBPP() == 1) in Init()
949 int Bpp = m_pDevice->GetBPP() / 8; in render()
1154 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1164 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps()
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp60 int bpp = pBitmap->GetBPP(); in DetectFirstLastScan()
Dcpdf_imagerenderer.cpp375 if (!(m_Flags & RENDER_FORCE_DOWNSAMPLE) && m_pDIBSource->GetBPP() > 1) { in StartDIBSource()
376 FX_SAFE_SIZE_T image_size = m_pDIBSource->GetBPP(); in StartDIBSource()
Dcpdf_renderstatus.cpp2679 int Bpp = bitmap.GetBPP() / 8; in LoadSMask()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp178 const int32_t bpp = pBitmap->GetBPP(); in SetImage()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp221 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; in DrawNormalTextHelper()