Home
last modified time | relevance | path

Searched refs:getPixelFormat (Results 1 – 25 of 735) sorted by relevance

12345678910>>...30

/dports/devel/simgear/simgear-2020.3.11/simgear/scene/material/
H A Dmipmap.cxx267 unsigned int nbComponents = osg::Image::computeNumComponents( image->getPixelFormat() ); in computeMipmap()
335 … colors[0][0][0] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
341 … colors[0][0][1] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
347 … colors[0][1][0] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
353 … colors[0][1][1] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
359 … colors[1][0][0] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
365 … colors[1][0][1] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
371 … colors[1][1][0] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
377 … colors[1][1][1] = getColor( ptr, image->getPixelFormat(), image->getDataType() ); in computeMipmap()
383 setColor( ptr, image->getPixelFormat(), image->getDataType(), color ); in computeMipmap()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/
H A DBmpFilterTest.cxx39 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N24_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
54 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N24_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
87 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N24_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
103 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N1_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
119 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
135 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
151 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
167 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
183 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
199 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
H A DXpmFilterTest.cxx39 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
54 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
69 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N1_BPP, aBitmap.getPixelFormat()); in CPPUNIT_TEST_FIXTURE()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgtexture3D/
H A Dosgtexture3D.cpp53getPixelFormat()!=image_1->getPixelFormat() || image_0->getPixelFormat()!=image_2->getPixelFormat(… in createState()
71 image_0->getPixelFormat(),image_0->getDataType()); in createState()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgtexture3D/
H A Dosgtexture3D.cpp53getPixelFormat()!=image_1->getPixelFormat() || image_0->getPixelFormat()!=image_2->getPixelFormat(… in createState()
71 image_0->getPixelFormat(),image_0->getDataType()); in createState()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgtexture2DArray/
H A Dosgtexture2DArray.cpp64getPixelFormat()!=image_1->getPixelFormat() || image_0->getPixelFormat()!=image_2->getPixelFormat(… in createState()
101 …image_3d->allocateImage(textureSize, textureSize, 4, image_0->getPixelFormat(), image_0->getDataTy… in createState()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgtexture2DArray/
H A Dosgtexture2DArray.cpp64getPixelFormat()!=image_1->getPixelFormat() || image_0->getPixelFormat()!=image_2->getPixelFormat(… in createState()
101 …image_3d->allocateImage(textureSize, textureSize, 4, image_0->getPixelFormat(), image_0->getDataTy… in createState()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp218 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, for… in iterate()
219 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, f… in iterate()
220 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, fo… in iterate()
221 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, f… in iterate()
241 …dThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, fo… in iterate()
242 …nThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, f… in iterate()
243 …eThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, fo… in iterate()
244 …aThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, f… in iterate()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osg/
H A DImageUtils.cpp255 if (srcImage->getPixelFormat() == destImage->getPixelFormat()) in copyImage()
360 GLenum pixelFormat = image->getPixelFormat(); in maximimNumOfComponents()
392 GLenum pixelFormat = image->getPixelFormat(); in createImage3D()
474 GLenum pixelFormat = image->getPixelFormat(); in createImage3D()
649 GLenum requiredPixelFormat = image->getPixelFormat(); in colorSpaceConversion()
655 …if (image->getPixelFormat()==GL_RGB || image->getPixelFormat()==GL_BGR) requiredPixelFormat = GL_R… in colorSpaceConversion()
658 …if (image->getPixelFormat()==GL_RGB || image->getPixelFormat()==GL_BGR) requiredPixelFormat = GL_L… in colorSpaceConversion()
664 if (requiredPixelFormat!=image->getPixelFormat()) in colorSpaceConversion()
720 if (dxtc_tool::isDXTC(srcImage->getPixelFormat())) in createImageWithOrientationConversion()
723 …if ((srcImage->getPixelFormat() == GL_COMPRESSED_RGBA_S3TC_DXT3_EXT) || (srcImage->getPixelFormat(… in createImageWithOrientationConversion()
[all …]
H A DTexture.cpp1467 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1486 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1500 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1514 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1528 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1542 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1556 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1570 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1584 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1596 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osg/
H A DImageUtils.cpp254 if (srcImage->getPixelFormat() == destImage->getPixelFormat())
282 … unsigned int numComponents = osg::Image::computeNumComponents(destImage->getPixelFormat());
309 …readRow(width, srcImage->getPixelFormat(), srcImage->getDataType(), srcImage->data(src_s,src_t+row…
359 GLenum pixelFormat = image->getPixelFormat();
391 GLenum pixelFormat = image->getPixelFormat();
473 GLenum pixelFormat = image->getPixelFormat();
648 GLenum requiredPixelFormat = image->getPixelFormat();
654 …if (image->getPixelFormat()==GL_RGB || image->getPixelFormat()==GL_BGR) requiredPixelFormat = GL_R…
657 …if (image->getPixelFormat()==GL_RGB || image->getPixelFormat()==GL_BGR) requiredPixelFormat = GL_L…
663 if (requiredPixelFormat!=image->getPixelFormat())
[all …]
H A DTexture.cpp1498 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1517 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1531 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1545 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1559 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1573 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1587 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1601 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1615 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
1627 switch(image.getPixelFormat()) in computeInternalFormatWithImage()
[all …]
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarth/
H A DImageUtils.cpp69 if ( image->getPixelFormat() == GL_RGB ) in fixInternalFormat()
71 else if ( image->getPixelFormat() == GL_RGBA ) in fixInternalFormat()
107 src->getPixelFormat() == dst->getPixelFormat() ) in copyAsSubImage()
520 input->getPixelFormat(), in buildNearestNeighborMipmaps()
575 primary->getPixelFormat(), in createMipmapBlendedImage()
1238 (lhs->getPixelFormat() == rhs->getPixelFormat()) && in areEquivalent()
1262 image->getPixelFormat() == GL_RGBA || in hasAlphaChannel()
1263 image->getPixelFormat() == GL_BGRA || in hasAlphaChannel()
1264 image->getPixelFormat() == GL_LUMINANCE_ALPHA || in hasAlphaChannel()
1423 switch(image->getPixelFormat()) in isCompressed()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/glshared/
H A DglsShaderPerformanceCase.cpp123 << " R" << renderTarget.getPixelFormat().redBits in logRenderTargetInfo()
124 << " G" << renderTarget.getPixelFormat().greenBits in logRenderTargetInfo()
125 << " B" << renderTarget.getPixelFormat().blueBits in logRenderTargetInfo()
126 << " A" << renderTarget.getPixelFormat().alphaBits in logRenderTargetInfo()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgphotoalbum/
H A DPhotoArchive.cpp211 …image->computeRowWidthInBytes(thumbnailSize,image->getPixelFormat(),image->getDataType(),image->ge… in buildArchive()
228 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), in buildArchive()
255 imageHeader.pixelFormat = image->getPixelFormat(); in buildArchive()
279 …image->computeRowWidthInBytes(photoHeader.fullsize_s,image->getPixelFormat(),image->getDataType(),… in buildArchive()
296 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), in buildArchive()
317 imageHeader.pixelFormat = image->getPixelFormat(); in buildArchive()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgphotoalbum/
H A DPhotoArchive.cpp211 …image->computeRowWidthInBytes(thumbnailSize,image->getPixelFormat(),image->getDataType(),image->ge… in buildArchive()
228 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), in buildArchive()
255 imageHeader.pixelFormat = image->getPixelFormat(); in buildArchive()
279 …image->computeRowWidthInBytes(photoHeader.fullsize_s,image->getPixelFormat(),image->getDataType(),… in buildArchive()
296 GLint status = osg::gluScaleImage(&psm, image->getPixelFormat(), in buildArchive()
317 imageHeader.pixelFormat = image->getPixelFormat(); in buildArchive()
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/util/
H A DSGImageUtils.cxx71 if (image->getPixelFormat() == GL_RGB) in fixInternalFormat()
73 else if (image->getPixelFormat() == GL_RGBA) in fixInternalFormat()
109 src->getPixelFormat() == dst->getPixelFormat()) in copyAsSubImage()
522 input->getPixelFormat(), in buildNearestNeighborMipmaps()
577 primary->getPixelFormat(), in createMipmapBlendedImage()
1242 (lhs->getPixelFormat() == rhs->getPixelFormat()) && in areEquivalent()
1266 image->getPixelFormat() == GL_RGBA || in hasAlphaChannel()
1267 image->getPixelFormat() == GL_BGRA || in hasAlphaChannel()
1268 image->getPixelFormat() == GL_LUMINANCE_ALPHA || in hasAlphaChannel()
1427 switch (image->getPixelFormat()) in isCompressed()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/image/codecs/
H A Dbmp_raw.cpp33 _surface.create(_width, _height, getPixelFormat()); in BitmapRawDecoder()
41 Graphics::PixelFormat format = getPixelFormat(); in decodeFrame()
134 Graphics::PixelFormat BitmapRawDecoder::getPixelFormat() const { in getPixelFormat() function in Image::BitmapRawDecoder
/dports/games/scummvm/scummvm-2.5.1/image/codecs/
H A Dbmp_raw.cpp33 _surface.create(_width, _height, getPixelFormat()); in BitmapRawDecoder()
41 Graphics::PixelFormat format = getPixelFormat(); in decodeFrame()
135 Graphics::PixelFormat BitmapRawDecoder::getPixelFormat() const { in getPixelFormat() function in Image::BitmapRawDecoder
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/nvtt/
H A DNVTTImageProcessor.cpp233 if (image.getPixelFormat() == GL_RGBA) in process()
242 if (image.getPixelFormat() == GL_RGB) in process()
273 if (image.getPixelFormat() == GL_RGB) in process()
284 OSGImageOutputHandler outputHandler(format,image.getPixelFormat() == GL_RGB); in process()
319 if (image.getPixelFormat() == GL_RGBA) in compress()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/nvtt/
H A DNVTTImageProcessor.cpp239 if (image.getPixelFormat() == GL_RGBA) in process()
248 if (image.getPixelFormat() == GL_RGB) in process()
279 if (image.getPixelFormat() == GL_RGB) in process()
290 OSGImageOutputHandler outputHandler(format,image.getPixelFormat() == GL_RGB); in process()
325 if (image.getPixelFormat() == GL_RGBA) in compress()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp363 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, for… in iterate()
364 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, f… in iterate()
365 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, fo… in iterate()
366 …32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, f… in iterate()
386 …dThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, fo… in iterate()
387 …nThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, f… in iterate()
388 …eThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, fo… in iterate()
389 …aThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, f… in iterate()
/dports/games/residualvm/residualvm-0.3.1/backends/platform/android/
H A Dgfx.cpp104 return _game_texture->getPixelFormat(); in getScreenFormat()
144 format_current = (*texture)->getPixelFormat(); in initTexture()
156 getPixelFormatName((*texture)->getPixelFormat()).c_str()); in initTexture()
176 getPixelFormatName((*texture)->getPixelFormat()).c_str()); in initTexture()
481 _game_pbuf.create(_game_texture->getPixelFormat(), in setupScreen()
500 int pitch = _game_texture->width() * _game_texture->getPixelFormat().bytesPerPixel; in updateScreen()
723 return _overlay_texture->getPixelFormat(); in getOverlayFormat()
791 _mouse_texture->getPixelFormat(), in setMouseCursor()
/dports/games/scummvm/scummvm-2.5.1/backends/platform/android3d/
H A Dgraphics.cpp176 int pitch = _game_texture->width() * _game_texture->getPixelFormat().bytesPerPixel; in updateScreen()
370 return _overlay_texture->getPixelFormat(); in getOverlayFormat()
570 _mouse_texture->getPixelFormat(), in setMouseCursor()
680 _game_pbuf.create(_game_texture->getPixelFormat(), in setupScreen()
694 return _game_texture->getPixelFormat(); in getScreenFormat()
844 format_current = (*texture)->getPixelFormat(); in initTexture()
856 (*texture)->getPixelFormat().toString().c_str()); in initTexture()
876 (*texture)->getPixelFormat().toString().c_str()); in initTexture()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/skia/
H A Dskia.cxx200 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N24_BPP, bitmap.getPixelFormat()); in testInterpretAs8Bit()
204 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, bitmap.getPixelFormat()); in testInterpretAs8Bit()
215 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N24_BPP, bitmap.getPixelFormat()); in testInterpretAs8Bit()
219 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, bitmap.getPixelFormat()); in testInterpretAs8Bit()
239 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, alpha.getPixelFormat()); in testAlphaBlendWith()
259 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, alpha.getPixelFormat()); in testAlphaBlendWith()
276 CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N8_BPP, alpha.getPixelFormat()); in testAlphaBlendWith()

12345678910>>...30