Home
last modified time | relevance | path

Searched refs:pDIB (Results 1 – 25 of 57) sorted by relevance

123

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/headless/
H A Dsvpbmp.cxx61 std::unique_ptr<BitmapBuffer> pDIB; in ImplCreateDIB() local
65 pDIB.reset(new BitmapBuffer); in ImplCreateDIB()
97 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB()
98 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB()
112 pDIB->mnBitCount = nBitCount; in ImplCreateDIB()
116 pDIB->maPalette = rPal; in ImplCreateDIB()
121 bFail = o3tl::checked_multiply<size_t>(pDIB->mnHeight, pDIB->mnScanlineSize, size); in ImplCreateDIB()
132 if (!pDIB->mpBits) in ImplCreateDIB()
134 pDIB.reset(); in ImplCreateDIB()
144 pDIB.reset(); in ImplCreateDIB()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/headless/
H A Dsvpbmp.cxx57 std::unique_ptr<BitmapBuffer> pDIB; in ImplCreateDIB() local
61 pDIB.reset(new BitmapBuffer); in ImplCreateDIB()
93 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB()
94 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB()
112 pDIB->maPalette = rPal; in ImplCreateDIB()
117 bFail = o3tl::checked_multiply<size_t>(pDIB->mnHeight, pDIB->mnScanlineSize, size); in ImplCreateDIB()
126 pDIB->mpBits = new sal_uInt8[size]; in ImplCreateDIB()
128 if (!pDIB->mpBits) in ImplCreateDIB()
130 pDIB.reset(); in ImplCreateDIB()
140 pDIB.reset(); in ImplCreateDIB()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/unx/generic/gdi/
H A Dsalbmp.cxx101 size_t nExtraSpaceInScanLine = pDIB->mnScanlineSize - pDIB->mnWidth * pDIB->mnBitCount / 8; in blankExtraSpace()
106 sal_uInt8 *pRow = pDIB->mpBits + (i * pDIB->mnScanlineSize); in blankExtraSpace()
127 std::unique_ptr<BitmapBuffer> pDIB; in ImplCreateDIB() local
134 pDIB.reset(new BitmapBuffer); in ImplCreateDIB()
158 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB()
159 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB()
173 pDIB->mnBitCount = nBitCount; in ImplCreateDIB()
177 pDIB->maPalette = rPal; in ImplCreateDIB()
183 pDIB->mpBits = new sal_uInt8[ pDIB->mnScanlineSize * pDIB->mnHeight ]; in ImplCreateDIB()
194 return pDIB; in ImplCreateDIB()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/generic/gdi/
H A Dsalbmp.cxx107 size_t nExtraSpaceInScanLine = pDIB->mnScanlineSize - pDIB->mnWidth * pDIB->mnBitCount / 8; in blankExtraSpace()
112 sal_uInt8 *pRow = pDIB->mpBits + (i * pDIB->mnScanlineSize); in blankExtraSpace()
125 std::unique_ptr<BitmapBuffer> pDIB; in ImplCreateDIB() local
132 pDIB.reset(new BitmapBuffer); in ImplCreateDIB()
164 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB()
165 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB()
183 pDIB->maPalette = rPal; in ImplCreateDIB()
189 pDIB->mpBits = new sal_uInt8[ pDIB->mnScanlineSize * pDIB->mnHeight ]; in ImplCreateDIB()
200 return pDIB; in ImplCreateDIB()
213 std::unique_ptr<BitmapBuffer> pDIB; in ImplCreateDIB() local
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/tiff-4.0.3/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/argyllcms/Argyll_V1.9.2/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/povray37/povray-3.7.0.10/libraries/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/megapov/megapov-1.2.1/libraries/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/tiffgt/tiff-4.3.0/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/tiff/tiff-4.3.0/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/graphics/povray36/povray-3.6.1/libraries/tiff/contrib/win_dib/
H A DTiffile.cpp86 void* pDIB = 0; in ReadTIFF() local
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
126 return pDIB; in ReadTIFF()
133 void* pDIB = 0; in TIFFRGBA2DIB() local
170 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
171 if (pDIB == 0) { in TIFFRGBA2DIB()
176 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
225 pDIB = GlobalAllocPtr( GHND, dwDIBSize ); in TIFFRGBA2DIB()
226 if (pDIB == 0) { in TIFFRGBA2DIB()
231 *((BITMAPINFOHEADER*)pDIB) = bi; in TIFFRGBA2DIB()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/render/
H A Dcpdf_imagecacheentry.cpp25 uint32_t GetEstimatedImageSize(const RetainPtr<CFX_DIBBase>& pDIB) { in GetEstimatedImageSize() argument
26 if (!pDIB || !pDIB->GetBuffer()) in GetEstimatedImageSize()
29 int height = pDIB->GetHeight(); in GetEstimatedImageSize()
31 return static_cast<uint32_t>(height) * pDIB->GetPitch() + in GetEstimatedImageSize()
32 pDIB->GetPaletteSize() * 4; in GetEstimatedImageSize()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfapi/render/
H A Dcpdf_imagecacheentry.cpp41 static uint32_t FPDF_ImageCache_EstimateImageSize(const CFX_DIBSource* pDIB) { in FPDF_ImageCache_EstimateImageSize() argument
42 return pDIB && pDIB->GetBuffer() in FPDF_ImageCache_EstimateImageSize()
43 ? (uint32_t)pDIB->GetHeight() * pDIB->GetPitch() + in FPDF_ImageCache_EstimateImageSize()
44 (uint32_t)pDIB->GetPaletteSize() * 4 in FPDF_ImageCache_EstimateImageSize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfapi/render/
H A Dcpdf_imagecacheentry.cpp26 uint32_t GetEstimatedImageSize(const RetainPtr<CFX_DIBBase>& pDIB) { in GetEstimatedImageSize() argument
27 if (!pDIB || !pDIB->GetBuffer()) in GetEstimatedImageSize()
30 int height = pDIB->GetHeight(); in GetEstimatedImageSize()
32 return static_cast<uint32_t>(height) * pDIB->GetPitch() + in GetEstimatedImageSize()
33 pDIB->GetPaletteSize() * 4; in GetEstimatedImageSize()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/win/gdi/
H A Dsalbmp.cxx945 sal_uInt8* pDIB = pDstBuf; in ImplDecodeRLEBuffer() local
955 if( pRLE && pDIB ) in ImplDecodeRLEBuffer()
985 memcpy( &pDIB[ nX ], pRLE, nRunByte ); in ImplDecodeRLEBuffer()
995 pDIB = ( pRow += nWidthAl ); in ImplDecodeRLEBuffer()
1003 pDIB = ( pRow += ( *pRLE++ ) * nWidthAl ); in ImplDecodeRLEBuffer()
1016 ImplSetPixel4( pDIB, nX++, cTmp >> 4 ); in ImplDecodeRLEBuffer()
1017 ImplSetPixel4( pDIB, nX++, cTmp & 0x0f ); in ImplDecodeRLEBuffer()
1021 ImplSetPixel4( pDIB, nX++, cTmp >> 4 ); in ImplDecodeRLEBuffer()
1026 pDIB[ nX++ ] = cTmp; in ImplDecodeRLEBuffer()
1030 while( !bEndDecoding && ( pDIB <= pLast ) ); in ImplDecodeRLEBuffer()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfapi/fpdf_render/
H A Dfpdf_render_cache.cpp198 static uint32_t FPDF_ImageCache_EstimateImageSize(const CFX_DIBSource* pDIB) { in FPDF_ImageCache_EstimateImageSize() argument
199 return pDIB && pDIB->GetBuffer() in FPDF_ImageCache_EstimateImageSize()
200 ? (uint32_t)pDIB->GetHeight() * pDIB->GetPitch() + in FPDF_ImageCache_EstimateImageSize()
201 (uint32_t)pDIB->GetPaletteSize() * 4 in FPDF_ImageCache_EstimateImageSize()
/dports/editors/libreoffice/libreoffice-7.2.6.2/canvas/source/directx/
H A Ddx_vcltools.cxx100 !aBmpSysData.pDIB ) in drawVCLBitmap()
115 aBmpSysData.pDIB ) in drawVCLBitmap()
118 aBmpSysData.pDIB ); in drawVCLBitmap()
127 aBmpSysData.pDIB ); in drawVCLBitmap()
/dports/editors/abiword/abiword-3.0.5/src/af/gr/win/
H A Dgr_Win32Image.h38 …void setDIB(BITMAPINFO *pDIB) { m_pDIB = pDIB; if (m_pDIB) setDisplaySize(m_pDIB->bmiHeader.biW… in setDIB() argument
/dports/editors/libreoffice6/libreoffice-6.4.7.2/canvas/source/directx/
H A Ddx_vcltools.cxx102 !aBmpSysData.pDIB ) in drawVCLBitmap()
117 aBmpSysData.pDIB ) in drawVCLBitmap()
120 aBmpSysData.pDIB ); in drawVCLBitmap()
129 aBmpSysData.pDIB ); in drawVCLBitmap()
/dports/games/scorched3d/scorched-dep-win32/include/wx/wx/msw/
H A Ddibutils.h120 #define wxDibInfo(pDIB) ((BITMAPINFO FAR *)(pDIB)) argument
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevwdib.c429 BYTE FAR *pDIB; in win_dib_make_dib() local
466 pDIB = (BYTE FAR *) GlobalLock(hglobal); in win_dib_make_dib()
467 if (pDIB == (BYTE FAR *) NULL) { in win_dib_make_dib()
471 pbmih = (BITMAPINFOHEADER FAR *) (pDIB); in win_dib_make_dib()
472 pColors = (RGBQUAD FAR *) (pDIB + sizeof(BITMAPINFOHEADER)); in win_dib_make_dib()
473 pBits = (BYTE FAR *) (pDIB + sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * palcount); in win_dib_make_dib()

123