Home
last modified time | relevance | path

Searched refs:GetBitsPerPixel (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/src/
H A Dxutils.cpp82 int pixelsPerByte = (8 / buf->GetBitsPerPixel()); in DrawBuf2Drawable()
83 int bytesPerRow = (buf->GetWidth() * buf->GetBitsPerPixel() + 7) / 8; in DrawBuf2Drawable()
84 unsigned int mask = (unsigned int) ( (1UL<<buf->GetBitsPerPixel()) - 1 ); in DrawBuf2Drawable()
99 if ( buf->GetBitsPerPixel()==2 ) in DrawBuf2Drawable()
105 …for (int shift = 8-buf->GetBitsPerPixel(); x0<pixelsPerByte; shift -= buf->GetBitsPerPixel(), x0++… in DrawBuf2Drawable()
118 else if ( buf->GetBitsPerPixel()==32 ) in DrawBuf2Drawable()
148 if ( buf->GetBitsPerPixel()==2 ) in DrawBuf2Drawable()
154 …for (int shift = 8-buf->GetBitsPerPixel(); x0<pixelsPerByte; shift -= buf->GetBitsPerPixel(), x0++… in DrawBuf2Drawable()
167 else if ( buf->GetBitsPerPixel()==32 ) in DrawBuf2Drawable()
H A Ds32utils.cpp34 int bytesPerRow = (width * buf->GetBitsPerPixel() + 7) / 8; in DrawBuf2DC()
47 int pixelsPerByte = (8 / buf->GetBitsPerPixel()); in DrawBuf2DC()
48 int mask = (1<<buf->GetBitsPerPixel()) - 1; in DrawBuf2DC()
56 if ( buf->GetBitsPerPixel()==32 ) in DrawBuf2DC()
H A Dw32utils.cpp35 int bytesPerRow = (buf_width * buf->GetBitsPerPixel() + 7) / 8; in DrawBuf2DC()
54 int pixelsPerByte = (8 / buf->GetBitsPerPixel()); in DrawBuf2DC()
55 int mask = (1<<buf->GetBitsPerPixel()) - 1; in DrawBuf2DC()
65 …for (int shift = 8-buf->GetBitsPerPixel(); x0<pixelsPerByte; shift -= buf->GetBitsPerPixel(), x0++… in DrawBuf2DC()
114 lUInt8 * pal = bmp->GetBitsPerPixel()==1?gray+0:gray+4; in SaveBitmapToFile()
H A Dlvdrawbuf.cpp853 int LVGrayDrawBuf::GetBitsPerPixel() in GetBitsPerPixel() function in LVGrayDrawBuf
1446 int LVColorDrawBuf::GetBitsPerPixel() in GetBitsPerPixel() function in LVColorDrawBuf
2037 int bpp = GetBitsPerPixel(); in DrawTo()
2038 if (buf->GetBitsPerPixel() == 32) { in DrawTo()
2108 if (buf->GetBitsPerPixel() == 16) { in DrawTo()
2178 if (buf->GetBitsPerPixel() != bpp) in DrawTo()
2267 int bpp = GetBitsPerPixel(); in DrawOnTop()
2268 if (buf->GetBitsPerPixel() == 32) { in DrawOnTop()
2408 if (buf->GetBitsPerPixel() != bpp) in DrawOnTop()
2495 int bpp = buf->GetBitsPerPixel(); in DrawTo()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Framework/src/bitmap/
H A DBitmap.cpp152 unsigned int CBitmap::GetBitsPerPixel() const in GetBitsPerPixel() function in CBitmap
195 if(Dst.GetBitsPerPixel() != Src.GetBitsPerPixel()) in Blit()
203 uint8* pDstPtr = Dst.GetPixels() + (nDstPitch * nTop) + (nLeft * Dst.GetBitsPerPixel() / 8); in Blit()
390 m_bpp = src.GetBitsPerPixel(); in CopyFrom()
H A DBMP.cpp10 unsigned int bitDepth = bitmap.GetBitsPerPixel(); in WriteBitmap()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ui_qt/DebugSupport/FrameDebugger/
H A DGsContextView.cpp142 assert(framebuffer.GetBitsPerPixel() == 32); in UpdateFramebufferView()
213 assert(bitmap.GetBitsPerPixel() == 8); in BrightenBitmap()
237 assert(srcBitmap.GetBitsPerPixel() == 8); in LookupBitmap()
259 assert(srcBitmap.GetBitsPerPixel() == 32); in ExtractAlpha32()
H A DGSH_OpenGLQt_Framedebugger.cpp356 switch(bitmap.GetBitsPerPixel()) in LoadTextureFromBitmap()
369 if(bitmap.GetBitsPerPixel() == 16) in LoadTextureFromBitmap()
381 if(bitmap.GetBitsPerPixel() == 8) in LoadTextureFromBitmap()
/dports/deskutils/coolreader/coolreader-cr3.2.55/cr3gui/src/
H A Dcr3qt.cpp188 if ( buf->GetBitsPerPixel()==16 ) { in paintEvent()
202 } else if ( buf->GetBitsPerPixel()==32 ) { in paintEvent()
216 } else if ( buf->GetBitsPerPixel()==4 ) { in paintEvent()
H A Dbgfit.cpp63 if ( buf->GetBitsPerPixel()==2 ) { in draw()
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/hfa/addtiffo_src/
H A Drawblockedimage.h105 int GetBitsPerPixel() { return nBitsPerPixel; } in GetBitsPerPixel() function
/dports/graphics/libdmtx/libdmtx-0.7.5/
H A Ddmtximage.c79 img->bitsPerPixel = GetBitsPerPixel(pack); in dmtxImageCreate()
402 GetBitsPerPixel(int pack) in GetBitsPerPixel() function
/dports/games/xblast/xblast-2.10.4/
H A Dx11c_init.c39 GetBitsPerPixel (int depth) in GetBitsPerPixel() function
118 bitsPerPixel = GetBitsPerPixel (defDepth); in InitDisplay()
/dports/net/freerdp/freerdp-2.5.0/include/freerdp/codec/
H A Dcolor.h689 static INLINE UINT32 GetBitsPerPixel(UINT32 format) in GetBitsPerPixel() function
722 switch (GetBitsPerPixel(format)) in ReadColor()
772 switch (GetBitsPerPixel(format)) in WriteColor()
866 return (GetBitsPerPixel(format) + 7) / 8; in GetBytesPerPixel()
/dports/games/openclonk/openclonk-release-8.1-src/src/graphics/
H A DStdPNG.h65 int GetBitsPerPixel(); // return number of bits per pixel in raw image data
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Framework/include/bitmap/
H A DBitmap.h51 unsigned int GetBitsPerPixel() const;
/dports/emulators/nestopia/nestopia-1.51.1/source/win32/
H A DNstDirect2D.hpp471 uint GetBitsPerPixel() const in GetBitsPerPixel() function in Nestopia::DirectX::Direct2D::Textures::Texture
575 return screenTexture.GetBitsPerPixel(); in GetScreenBitsPerPixel()
678 uint GetBitsPerPixel() const in GetBitsPerPixel() function in Nestopia::DirectX::Direct2D
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/test/
H A DTestFreeRDPCodecPlanar.c5427 const UINT32 srcABits = GetBitsPerPixel(srcAFormat); in CompareBitmap()
5428 const UINT32 srcBBits = GetBitsPerPixel(srcBFormat); in CompareBitmap()
/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/include/
H A Dlvdrawbuf.h113 virtual int GetBitsPerPixel() = 0;
379 virtual int GetBitsPerPixel();
526 virtual int GetBitsPerPixel();
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/vp/hal/
H A Dvphal_mdf_wrapper.h216 int GetBitsPerPixel(GMM_RESOURCE_FORMAT format) in GetBitsPerPixel() function
354 return (mWidth * mHeight * mDepth * GetBitsPerPixel(mFormat)) >> 3; in GetSurfaceSize()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/gmm_helper/
H A Dresource_info.h42 MOCKABLE_VIRTUAL uint32_t getBitsPerPixel() { return resourceInfo->GetBitsPerPixel(); } in getBitsPerPixel()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/vp/hal/
H A Dvphal_mdf_wrapper.h198 int GetBitsPerPixel(GMM_RESOURCE_FORMAT format) in GetBitsPerPixel() function
348 return (mWidth * mHeight * mDepth * GetBitsPerPixel(mFormat)) >> 3; in GetSurfaceSize()
/dports/security/keepass/KeePass-2.49-Source/KeePassLib/Utility/
H A DGfxUtil.cs210 int bpp = GetBitsPerPixel(img.PixelFormat); in ExtractBestImageFromIco()
270 private static int GetBitsPerPixel(PixelFormat f) in GetBitsPerPixel() method in KeePassLib.Utility.GfxUtil
/dports/lang/clover/mesa-21.3.6/src/amd/addrlib/src/core/
H A Daddrelemlib.h218 UINT_32 GetBitsPerPixel(
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/amd/addrlib/src/core/
H A Daddrelemlib.h218 UINT_32 GetBitsPerPixel(

12345678910>>...13