Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp170 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone()
183 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
199 if (GetBPP() == 1) { in BuildPalette()
208 } else if (GetBPP() == 8) { in BuildPalette()
236 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteEntry()
241 if (GetBPP() == 1) { in GetPaletteEntry()
246 if (GetBPP() == 1) { in GetPaletteEntry()
252 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in SetPaletteEntry()
259 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in FindPalette()
262 if (GetBPP() == 1) { in FindPalette()
[all …]
Dfx_dib_transform.cpp200 if (GetBPP() == 1) { in SwapXY()
219 int nBytes = GetBPP() / 8; in SwapXY()
623 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in Continue()
624 int destBpp = pTransformed->GetBPP() / 8; in Continue()
750 int destBpp = pTransformed->GetBPP() / 8; in Continue()
Dfx_dib_convert.cpp217 int bpp = pBitmap->GetBPP() / 8; in BuildPalette()
415 int Bpp = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_RgbOrCmyk2Gray()
476 if (pSrcBitmap->GetBPP() == 1) { in _ConvertBuffer_IndexCopy()
557 int bpp = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_Rgb2PltRgb8_NoTransform()
874 int comps = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_Rgb2Rgb32()
Dfx_dib_composite.cpp4685 int src_Bpp = pSrcBitmap->GetBPP() / 8; in CompositeBitmap()
4756 int src_bpp = pMask->GetBPP(); in CompositeMask()
4757 int Bpp = GetBPP() / 8; in CompositeMask()
5053 m_pScanlineV = FX_Alloc(uint8_t, m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
5108 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
5121 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
/external/pdfium/core/src/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()
Dfx_win32_print.cpp79 if (pSource->GetBPP() != 1 || alpha != 255 || !m_bSupportROP) { in StretchDIBits()
234 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1 || !m_bSupportROP))) { in StartDIBits()
262 if (pSource->GetBPP() == 1) { in StartDIBits()
Dfx_win32_gdipext.cpp525 ASSERT(pBitmap->GetBPP() == 1); in OutputImageMask()
612 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage()
625 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage()
921 ASSERT(pBitmap->GetBPP() == 1); in StretchBitMask()
Dfx_win32_device.cpp1061 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits()
1069 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage() && !pIccTransform) { in GetDIBits()
1105 FX_BOOL bGDI = pSource->GetBPP() == 1 && alpha == 255; in SetDIBits()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp114 int32_t bpp = pBitmap->GetBPP(); in SetImage()
230 if (pMaskBitmap->GetBPP() == 8 && in SetImage()
265 if (pBitmap->GetBPP() == 1) { in SetImage()
270 if (pBitmap->GetBPP() == 1) { in SetImage()
273 } else if (pBitmap->GetBPP() >= 8 && pBitmap->GetPalette()) { in SetImage()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_tiff.cpp346 switch (pDIBitmap->GetBPP()) { in isSupport()
395 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB()
422 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB()
457 if (pDIBitmap->GetBPP() != 24 || !isSupport(pDIBitmap)) { in Decode24bppRGB()
489 if (pDIBitmap->GetBPP() == 32) { in Decode()
Dfx_codec_progress.cpp402 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBufFunc()
466 int32_t des_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz()
666 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBufCallback()
744 int des_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanlineCallback()
767 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert()
923 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT()
1482 int des_bpp = pDeviceBitmap->GetBPP(); in ReSampleScanline()
1677 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert()
1860 if (pDIBitmap == NULL || pDIBitmap->GetBPP() < 8 || frames < 0 || in StartDecode()
2214 if (m_pDeviceBitmap->GetBPP() == 32 && in ContinueDecode()
Dfx_codec_jpeg.cpp140 int Bpp = pSource->GetBPP() / 8; in _JpegEncode()
549 if (pSource->GetBPP() < 8 || pSource->GetPalette()) in Encode()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp122 if (!pBitmap || pBitmap->IsCmykImage() || pBitmap->GetBPP() < 32) { in createContextWithBitmap()
461 if (bitmap->GetBPP() < 32) { in GetDIBits()
561 pBitmap1->GetWidth(), pBitmap1->GetHeight(), pBitmap1->GetBPP(), in SetDIBits()
562 pBitmap1->GetBPP(), pBitmap1->GetPitch(), pColorSpace, bitmapInfo, in SetDIBits()
578 if (pBitmap->GetBPP() < 32) { in SetDIBits()
679 pBitmap1->GetWidth(), pBitmap1->GetHeight(), pBitmap1->GetBPP(), in StretchDIBits()
680 pBitmap1->GetBPP(), pBitmap1->GetPitch(), pColorSpace, bitmapInfo, in StretchDIBits()
696 if (pBitmap->GetBPP() < 32) { in StretchDIBits()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_blitter_new.cpp1577 if (m_pDevice->GetBPP() == 8) { // Gray(a) device in Init()
1674 + (m_pDevice->GetBPP() >= 8 ? 2 : 0) /* bpp flag */ in Init()
1682 if (m_pDevice->GetBPP() == 8) in Init()
1684 else if (m_pDevice->GetBPP() == 24) in Init()
1692 if (m_pDevice->GetBPP() == 8) in Init()
1694 else if (m_pDevice->GetBPP() == 24) in Init()
1705 if (m_pDevice->GetBPP() == 8) in Init()
1707 else if (m_pDevice->GetBPP() == 24) in Init()
1715 if (m_pDevice->GetBPP() == 8) in Init()
1717 else if (m_pDevice->GetBPP() == 24) in Init()
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp241 return m_pBitmap->GetBPP(); in GetDeviceCaps()
251 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
1017 int Bpp = m_pDevice->GetBPP() / 8; in render()
1092 if (m_pDevice->GetBPP() == 8) { in Init()
1181 if (m_pDevice->GetBPP() == 1) { in Init()
1293 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel()
1317 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect()
1400 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp367 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) { in DrawDIBits()
377 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits()
440 int Bpp = pConverted->GetBPP() / 8; in DrawDIBits()
Dfx_ge_text.cpp377 int Bpp = bitmap.GetBPP() / 8; in DrawNormalText()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp693 if (!(m_Flags & RENDER_FORCE_DOWNSAMPLE) && m_pDIBSource->GetBPP() > 1) { in StartDIBSource()
694 int image_size = m_pDIBSource->GetBPP() / 8 * m_pDIBSource->GetWidth() * in StartDIBSource()
975 int Bpp = bitmap.GetBPP() / 8; in LoadSMask()
Dfpdf_render_text.cpp99 int bpp = pBitmap->GetBPP(); in _DetectFirstLastScan()
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gdidevice.cpp33 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in CFDE_GdiDevice()
137 bmi.bmiHeader.biBitCount = pDib->GetBPP(); in DrawImage()
/external/pdfium/core/include/fxge/
Dfx_ge.h266 int GetBPP() const { return m_bpp; } in GetBPP() function
Dfx_dib.h197 int GetBPP() const { return m_bpp; } in GetBPP() function
/external/pdfium/xfa/src/fwl/src/core/
Dfwl_widgetmgrimp.cpp1037 buffer[14] = pBitmap->GetBPP(); in FWL_WriteBMP()