Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_dibbase.cpp68 int bpp = pBitmap->GetBPP() / 8; in CFX_Palette()
221 int Bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_RgbOrCmyk2Gray()
260 if (pSrcBitmap->GetBPP() == 1) { in ConvertBuffer_IndexCopy()
319 int bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2PltRgb8()
558 int comps = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2Rgb32()
743 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone()
758 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
775 if (GetBPP() == 1) { in BuildPalette()
784 } else if (GetBPP() == 8) { in BuildPalette()
825 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteArgb()
[all …]
Dcfx_dibitmap.cpp207 if (GetBPP() != 1) { in TransferBitmap()
234 m_pBuffer.Get() + dest_top * m_Pitch + dest_left * GetBPP() / 8; in TransferWithUnequalFormats()
251 int Bpp = GetBPP() / 8; in TransferWithMultipleBPP()
293 if (pSrcBitmap->GetBPP() == 1) { in LoadChannelFromAlpha()
315 if (GetBPP() < 24) { in LoadChannelFromAlpha()
358 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannelFromAlpha()
359 int destBytes = pDst->GetBPP() / 8; in LoadChannelFromAlpha()
396 if (GetBPP() < 24) { in LoadChannel()
413 int Bpp = GetBPP() / 8; in LoadChannel()
460 if (pSrcClone->GetBPP() == 1) { in MultiplyAlpha()
[all …]
Dcfx_bitmapcomposer.cpp56 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
113 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
126 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
Dcfx_dibbase.h59 int GetBPP() const { return m_bpp; } in GetBPP() function
Dcfx_imagetransformer.cpp454 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in ContinueOther()
527 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcMono()
562 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcColor()
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp17 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) in GetBitmapInfo()
18 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); in GetBitmapInfo()
27 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo()
32 if (pBitmap->GetBPP() == 8) { in GetBitmapInfo()
44 if (pBitmap->GetBPP() == 1) { in GetBitmapInfo()
Dcfx_psrenderer.cpp313 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits()
326 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits()
392 int bpp = pConverted->GetBPP() / 8; in DrawDIBits()
Dfx_win32_print.cpp113 if (pSource->GetBPP() != 1 || alpha != 255) in StretchDIBits()
173 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1))) { in StartDIBits()
Dfx_win32_device.cpp1175 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits()
1179 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage()) { in GetDIBits()
1211 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
Dfx_win32_gdipext.cpp325 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage()
336 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage()
/external/pdfium/core/fxcodec/tiff/
Dtiffmodule.cpp303 switch (pDIBitmap->GetBPP()) { in IsSupport()
356 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB()
384 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB()
420 if (pDIBitmap->GetBPP() != 24 || !IsSupport(pDIBitmap)) in Decode24bppRGB()
453 if (pDIBitmap->GetBPP() == 32) { in Decode()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp82 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
276 ASSERT(bitmap->GetBPP() == 8 || bitmap->GetBPP() == 32); in DebugValidate()
277 if (bitmap->GetBPP() == 32) { in DebugValidate()
282 ASSERT(device->GetBPP() == 8 || device->GetBPP() == 32); in DebugValidate()
283 if (device->GetBPP() == 32) { in DebugValidate()
640 switch (pSource->GetBPP()) { in Upsample()
1611 ASSERT(pBitmap->GetBPP() == 8 || pBitmap->GetBPP() == 32); in CFX_SkiaDeviceDriver()
1614 pBitmap->GetBPP() == 8 ? kAlpha_8_SkColorType : kN32_SkColorType, in CFX_SkiaDeviceDriver()
1832 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1842 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_editimg.cpp209 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap()
342 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp57 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel()
85 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect()
161 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
928 if (m_pDevice->GetBPP() == 8) { in Init()
950 if (m_pDevice->GetBPP() == 1) in Init()
976 int Bpp = m_pDevice->GetBPP() / 8; in render()
1180 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1190 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps()
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp313 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf()
465 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBuf()
543 int dest_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanline()
607 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT()
927 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert()
1151 int32_t dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz()
1380 if (m_pDeviceBitmap->GetBPP() == 32 && in TiffContinueDecode()
1807 int dest_bytes_per_pixel = pDeviceBitmap->GetBPP() / 8; in ReSampleScanline()
2028 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert()
2212 if (!pDIBitmap || pDIBitmap->GetBPP() < 8 || m_FrameNumber == 0) in StartDecode()
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp66 int bpp = pBitmap->GetBPP(); in DetectFirstLastScan()
Dcpdf_imagerenderer.cpp378 if (m_pDIBBase->GetBPP() > 1) { in StartDIBBase()
379 FX_SAFE_SIZE_T image_size = m_pDIBBase->GetBPP(); in StartDIBBase()
Dcpdf_renderstatus.cpp1662 int Bpp = bitmap->GetBPP() / 8; in LoadSMask()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp175 const int32_t bpp = pBitmap->GetBPP(); in SetImage()
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp597 int Bpp = pSource->GetBPP() / 8; in JpegEncode()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp239 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; in DrawNormalTextHelper()