/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/psp/ |
H A D | display_client.cpp | 88 switch (_pixelFormat.bitsPerPixel) { in setColorPositionAlpha() 117 if (_pixelFormat.bitsPerPixel == 16) { in setPartial() 169 …PSP_DEBUG_PRINT("_pixelFormat: format[%u], bpp[%u]\n", _pixelFormat.format, _pixelFormat.bitsPerPi… in allocate() 253 switch (_pixelFormat.bitsPerPixel) { in setSingleColorRGBA() 309 _pixelFormat.set(type, swapRedBlue); in setPixelFormat() 353 if (_pixelFormat.swapRB) in copyFromRect() 354 … PspMemorySwap::fastSwap(dst, buf, _pixelFormat.pixelsToBytes(recHeight * recWidth), _pixelFormat); in copyFromRect() 359 if (_pixelFormat.swapRB) in copyFromRect() 381 if (_pixelFormat.swapRB) in copyToArray() 437 …PSP_DEBUG_PRINT("_pixelFormat: format[%u], bpp[%u]\n", _pixelFormat.format, _pixelFormat.bitsPerPi… in allocate() [all …]
|
H A D | display_client.h | 89 uint32 getSizeInBytes() const { return _pixelFormat.pixelsToBytes(_numOfEntries); } in getSizeInBytes() 100 PSPPixelFormat::Type getPixelFormat() const { return _pixelFormat.format; } in getPixelFormat() 106 PSPPixelFormat _pixelFormat; ///< pixel format of the palette data variable 126 void setBitsPerPixel(uint32 bits) { _pixelFormat.bitsPerPixel = bits; } in setBitsPerPixel() 132 uint32 getWidthInBytes() const { return _pixelFormat.pixelsToBytes(getWidth()); } in getWidthInBytes() 135 uint32 getSourceWidthInBytes() const { return _pixelFormat.pixelsToBytes(_sourceSize.width); } in getSourceWidthInBytes() 139 PSPPixelFormat::Type getPixelFormat() const { return _pixelFormat.format; } in getPixelFormat() 140 uint32 getBitsPerPixel() const { return _pixelFormat.bitsPerPixel; } in getBitsPerPixel() 144 uint32 getSizeInBytes() const { return _pixelFormat.pixelsToBytes(_width * _height); } in getSizeInBytes() 165 PSPPixelFormat _pixelFormat; ///< Format of the buffer variable [all …]
|
H A D | default_display_client.h | 82 memset(&_pixelFormat, 0, sizeof(_pixelFormat)); in Screen() 90 const Graphics::PixelFormat &getScummvmPixelFormat() const { return _pixelFormat; } in getScummvmPixelFormat() 98 Graphics::PixelFormat _pixelFormat; variable
|
H A D | default_display_client.cpp | 179 bzero(&_pixelFormat, sizeof(_pixelFormat)); in setScummvmPixelFormat() 180 _pixelFormat.bytesPerPixel = 1; // default in setScummvmPixelFormat() 182 _pixelFormat = *format; in setScummvmPixelFormat() 197 _buffer.getPixels(), _pixelFormat); in lockAndGetForEditing()
|
/dports/games/scummvm/scummvm-2.5.1/backends/platform/psp/ |
H A D | display_client.cpp | 88 switch (_pixelFormat.bitsPerPixel) { in setColorPositionAlpha() 117 if (_pixelFormat.bitsPerPixel == 16) { in setPartial() 169 …PSP_DEBUG_PRINT("_pixelFormat: format[%u], bpp[%u]\n", _pixelFormat.format, _pixelFormat.bitsPerPi… in allocate() 253 switch (_pixelFormat.bitsPerPixel) { in setSingleColorRGBA() 309 _pixelFormat.set(type, swapRedBlue); in setPixelFormat() 353 if (_pixelFormat.swapRB) in copyFromRect() 354 … PspMemorySwap::fastSwap(dst, buf, _pixelFormat.pixelsToBytes(recHeight * recWidth), _pixelFormat); in copyFromRect() 359 if (_pixelFormat.swapRB) in copyFromRect() 381 if (_pixelFormat.swapRB) in copyToArray() 437 …PSP_DEBUG_PRINT("_pixelFormat: format[%u], bpp[%u]\n", _pixelFormat.format, _pixelFormat.bitsPerPi… in allocate() [all …]
|
H A D | display_client.h | 89 uint32 getSizeInBytes() const { return _pixelFormat.pixelsToBytes(_numOfEntries); } in getSizeInBytes() 100 PSPPixelFormat::Type getPixelFormat() const { return _pixelFormat.format; } in getPixelFormat() 106 PSPPixelFormat _pixelFormat; ///< pixel format of the palette data variable 126 void setBitsPerPixel(uint32 bits) { _pixelFormat.bitsPerPixel = bits; } in setBitsPerPixel() 132 uint32 getWidthInBytes() const { return _pixelFormat.pixelsToBytes(getWidth()); } in getWidthInBytes() 135 uint32 getSourceWidthInBytes() const { return _pixelFormat.pixelsToBytes(_sourceSize.width); } in getSourceWidthInBytes() 139 PSPPixelFormat::Type getPixelFormat() const { return _pixelFormat.format; } in getPixelFormat() 140 uint32 getBitsPerPixel() const { return _pixelFormat.bitsPerPixel; } in getBitsPerPixel() 144 uint32 getSizeInBytes() const { return _pixelFormat.pixelsToBytes(_width * _height); } in getSizeInBytes() 165 PSPPixelFormat _pixelFormat; ///< Format of the buffer variable [all …]
|
H A D | default_display_client.h | 82 memset(&_pixelFormat, 0, sizeof(_pixelFormat)); in Screen() 90 const Graphics::PixelFormat &getScummvmPixelFormat() const { return _pixelFormat; } in getScummvmPixelFormat() 98 Graphics::PixelFormat _pixelFormat; variable
|
H A D | default_display_client.cpp | 179 memset(&_pixelFormat, 0, sizeof(_pixelFormat)); in setScummvmPixelFormat() 180 _pixelFormat.bytesPerPixel = 1; // default in setScummvmPixelFormat() 182 _pixelFormat = *format; in setScummvmPixelFormat() 197 _buffer.getPixels(), _pixelFormat); in lockAndGetForEditing()
|
/dports/games/scummvm/scummvm-2.5.1/engines/groovie/ |
H A D | graphics.cpp | 36 _foreground.create(640, 320, _vm->_pixelFormat); in GraphicsMan() 37 _background.create(640, 320, _vm->_pixelFormat); in GraphicsMan() 82 _foreground.create(640, 480, _vm->_pixelFormat); in switchToFullScreen() 83 _background.create(640, 480, _vm->_pixelFormat); in switchToFullScreen() 86 _foreground.create(640, 320, _vm->_pixelFormat); in switchToFullScreen() 87 _background.create(640, 320, _vm->_pixelFormat); in switchToFullScreen()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/groovie/ |
H A D | graphics.cpp | 36 _foreground.create(640, 320, _vm->_pixelFormat); in GraphicsMan() 37 _background.create(640, 320, _vm->_pixelFormat); in GraphicsMan() 82 _foreground.create(640, 480, _vm->_pixelFormat); in switchToFullScreen() 83 _background.create(640, 480, _vm->_pixelFormat); in switchToFullScreen() 86 _foreground.create(640, 320, _vm->_pixelFormat); in switchToFullScreen() 87 _background.create(640, 320, _vm->_pixelFormat); in switchToFullScreen()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osg/ |
H A D | Image.cpp | 212 _pixelFormat(0), in Image() 231 _pixelFormat(image._pixelFormat), in Image() 283 COMPARE_StateAttribute_Parameter(_pixelFormat) in compare() 852 switch(_pixelFormat) in isCompressed() 938 _pixelFormat = pixelFormat; in setPixelFormat() 985 _pixelFormat = format; in allocateImage() 1002 _pixelFormat = 0; in allocateImage() 1035 _pixelFormat = format; in setImage() 1211 _pixelFormat = internalformat; in readImageFromCurrentTexture() 1303 std::swap(_pixelFormat, rhs._pixelFormat); in swap() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osg/ |
H A D | Image.cpp | 212 _pixelFormat(0), in Image() 231 _pixelFormat(image._pixelFormat), in Image() 1089 switch(_pixelFormat) in isCompressed() 1203 _pixelFormat = pixelFormat; in setPixelFormat() 1250 _pixelFormat = format; in allocateImage() 1267 _pixelFormat = 0; in allocateImage() 1300 _pixelFormat = format; in setImage() 1477 _pixelFormat = internalformat; in readImageFromCurrentTexture() 1569 std::swap(_pixelFormat, rhs._pixelFormat); in swap() 1993 switch(_pixelFormat) in isImageTranslucent() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/sludge/ |
H A D | sludge.cpp | 49 Graphics::PixelFormat *SludgeEngine::getScreenPixelFormat() const { return _pixelFormat; } in getScreenPixelFormat() 65 _pixelFormat = new Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0); in SludgeEngine() 100 delete _pixelFormat; in ~SludgeEngine() 101 _pixelFormat = nullptr; in ~SludgeEngine()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sludge/ |
H A D | sludge.cpp | 45 Graphics::PixelFormat *SludgeEngine::getScreenPixelFormat() const { return _pixelFormat; } in getScreenPixelFormat() 68 _pixelFormat = new Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0); in SludgeEngine() 108 delete _pixelFormat; in ~SludgeEngine() 109 _pixelFormat = nullptr; in ~SludgeEngine()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/Imaging/ |
H A D | BitmapData.Windows.cs | 18 private int _pixelFormat; field in System.Drawing.Imaging.BitmapData 54 get { return (PixelFormat)_pixelFormat; } 88 _pixelFormat = (int)value;
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | gfx_towns.cpp | 202 …_system(system), _width(width), _height(height), _pixelFormat(format), _pitch(width * format.bytes… in TownsScreen() 253 if (l->palette && _pixelFormat.bytesPerPixel == 1) in setupLayer() 273 l->bltTmpPal = (l->bpp == 1 && _pixelFormat.bytesPerPixel == 2) ? new uint16[l->numCol] : 0; in setupLayer() 455 uint8 *dst = _outBuffer + r->top * _pitch + r->left * _pixelFormat.bytesPerPixel; in updateOutputBuffer() 456 int ptch = _pitch - (r->right - r->left + 1) * _pixelFormat.bytesPerPixel; in updateOutputBuffer() 458 if (_pixelFormat.bytesPerPixel == 2 && l->bpp == 1) { in updateOutputBuffer() 466 … if (l->bpp == _pixelFormat.bytesPerPixel && l->scaleW == 1 && l->onBottom && l->numCol & 0xff00) { in updateOutputBuffer() 467 …memcpy(dst, &l->bltInternY[y][l->bltInternX[r->left]], (r->right + 1 - r->left) * _pixelFormat.byt… in updateOutputBuffer() 470 } else if (_pixelFormat.bytesPerPixel == 2) { in updateOutputBuffer() 506 …_system->copyRectToScreen(_outBuffer + i->top * _pitch + i->left * _pixelFormat.bytesPerPixel, _pi… in outputToScreen() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/ |
H A D | gob.cpp | 242 return _pixelFormat; in getPixelFormat() 253 _pixelFormat = g_system->getScreenFormat(); in setTrueColor() 258 (*surf)->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 261 _draw->_backSurface->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 263 _draw->_frontSurface->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 265 _draw->_cursorSprites->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 267 _draw->_cursorSpritesBack->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 269 _draw->_scummvmCursor->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 717 _pixelFormat = g_system->getScreenFormat(); in initGraphics() 726 _global->_primarySurfDesc = SurfacePtr(new Surface(_width, _height, _pixelFormat.bytesPerPixel)); in initGraphics()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/ |
H A D | gob.cpp | 255 return _pixelFormat; in getPixelFormat() 266 _pixelFormat = g_system->getScreenFormat(); in setTrueColor() 271 (*surf)->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 274 _draw->_backSurface->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 276 _draw->_frontSurface->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 278 _draw->_cursorSprites->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 280 _draw->_cursorSpritesBack->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 282 _draw->_scummvmCursor->setBPP(_pixelFormat.bytesPerPixel); in setTrueColor() 721 _pixelFormat = g_system->getScreenFormat(); in initGraphics() 730 _global->_primarySurfDesc = SurfacePtr(new Surface(_width, _height, _pixelFormat.bytesPerPixel)); in initGraphics()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/image/codecs/ |
H A D | mjpeg.cpp | 43 _pixelFormat = g_system->getScreenFormat(); in MJPEGDecoder() 203 jpeg.setOutputPixelFormat(_pixelFormat); in decodeFrame() 218 assert(_surface->format == _pixelFormat); in decodeFrame()
|
H A D | mjpeg.h | 50 Graphics::PixelFormat getPixelFormat() const { return _pixelFormat; } in getPixelFormat() 53 Graphics::PixelFormat _pixelFormat;
|
H A D | mpeg.h | 58 Graphics::PixelFormat getPixelFormat() const { return _pixelFormat; } in getPixelFormat() 64 Graphics::PixelFormat _pixelFormat;
|
/dports/games/scummvm/scummvm-2.5.1/image/codecs/ |
H A D | mjpeg.cpp | 43 _pixelFormat = g_system->getScreenFormat(); in MJPEGDecoder() 203 jpeg.setOutputPixelFormat(_pixelFormat); in decodeFrame() 218 assert(_surface->format == _pixelFormat); in decodeFrame()
|
H A D | mjpeg.h | 50 Graphics::PixelFormat getPixelFormat() const { return _pixelFormat; } in getPixelFormat() 53 Graphics::PixelFormat _pixelFormat;
|
H A D | mpeg.h | 56 Graphics::PixelFormat getPixelFormat() const { return _pixelFormat; } in getPixelFormat() 62 Graphics::PixelFormat _pixelFormat;
|
/dports/games/residualvm/residualvm-0.3.1/image/codecs/ |
H A D | mjpeg.h | 50 Graphics::PixelFormat getPixelFormat() const { return _pixelFormat; } in getPixelFormat() 53 Graphics::PixelFormat _pixelFormat;
|