Home
last modified time | relevance | path

Searched refs:sourceImage (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/glx/
Dpixel.c272 GLenum format, const GLubyte * sourceImage, GLvoid * userdata) in EmptyBitmap() argument
334 writeByte |= (sourceImage[0] >> bitOffset); in EmptyBitmap()
337 writeByte = (sourceImage[0] << (8 - bitOffset)); in EmptyBitmap()
341 (sourceImage[0] & writeMask); in EmptyBitmap()
357 sourceImage++; in EmptyBitmap()
379 sourceImage += sourceSkip; in EmptyBitmap()
393 const GLubyte * sourceImage, GLvoid * userdata) in __glEmptyImage() argument
408 EmptyBitmap(gc, width, height, format, sourceImage, userdata); in __glEmptyImage()
445 __GLX_MEM_COPY(itera, sourceImage, in __glEmptyImage()
447 sourceImage += elementsPerRow * elementSize * height; in __glEmptyImage()
[all …]
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java48 …private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeigh… in scaleDown() argument
49 int sourceWidth = sourceImage.getWidth(); in scaleDown()
50 int sourceHeight = sourceImage.getHeight(); in scaleDown()
52 … BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); in scaleDown()
56 … g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null); in scaleDown()
/external/opencv/
Dcvjni.cpp375 void initFaceDetectionImages(IplImage *sourceImage, double scale = 1.0) { in initFaceDetectionImages() argument
377 m_grayImage = cvCreateImage(cvGetSize(sourceImage), IPL_DEPTH_8U, 1); in initFaceDetectionImages()
381 m_smallImage = cvCreateImage(cvSize(cvRound(sourceImage->width / scale), in initFaceDetectionImages()
382 cvRound(sourceImage->height / scale)), IPL_DEPTH_8U, 1); in initFaceDetectionImages()
390 cvSetImageROI(sourceImage, tPrev); in initFaceDetectionImages()
397 cvCvtColor(sourceImage, m_grayImage, CV_BGR2GRAY); in initFaceDetectionImages()
402 cvResetImageROI(sourceImage); in initFaceDetectionImages()
613 void highlightFace(IplImage *sourceImage, CvRect *face, double scale = 1.0) { in highlightFace() argument
623 cvRectangle(sourceImage, pt1, pt2, CV_RGB(255, 0, 0), 3, 8, 0); in highlightFace()
629 bool highlightFaces(IplImage *sourceImage, CvSeq *faces, double scale = 1.0) { in highlightFaces() argument
[all …]
/external/skia/tests/
DImageNewShaderTest.cpp47 SkAutoTUnref<SkImage> sourceImage(sourceSurface->newImageSnapshot()); in runShaderTest() local
48 SkAutoTUnref<SkShader> sourceShader(sourceImage->newShader( in runShaderTest()
76 SkAutoTUnref<SkShader> sourceShaderTranslated(sourceImage->newShader( in runShaderTest()
DDeferredCanvasTest.cpp496 SkBitmap sourceImage; in TestDeferredCanvasMemoryLimit() local
498 sourceImage.allocN32Pixels(100, 100); in TestDeferredCanvasMemoryLimit()
499 sourceImage.eraseColor(SK_ColorGREEN); in TestDeferredCanvasMemoryLimit()
502 sourceImage.notifyPixelsChanged(); // to force re-serialization in TestDeferredCanvasMemoryLimit()
503 canvas->drawBitmap(sourceImage, 0, 0, NULL); in TestDeferredCanvasMemoryLimit()
659 SkBitmap sourceImage; in TestDeferredCanvasBitmapSizeThreshold() local
661 sourceImage.allocN32Pixels(100, 100); in TestDeferredCanvasBitmapSizeThreshold()
662 sourceImage.eraseColor(SK_ColorGREEN); in TestDeferredCanvasBitmapSizeThreshold()
668 canvas->drawBitmap(sourceImage, 0, 0, NULL); in TestDeferredCanvasBitmapSizeThreshold()
677 canvas->drawBitmap(sourceImage, 0, 0, NULL); in TestDeferredCanvasBitmapSizeThreshold()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTextureHelper.java304 BufferedImage sourceImage = ImageToAwt.convert(image, false, false, 0); in convertToNormalMapTexture() local
305 …BufferedImage heightMap = new BufferedImage(sourceImage.getWidth(), sourceImage.getHeight(), Buffe… in convertToNormalMapTexture()
306 …BufferedImage bumpMap = new BufferedImage(sourceImage.getWidth(), sourceImage.getHeight(), Buffere… in convertToNormalMapTexture()
308 gscale.filter(sourceImage, heightMap); in convertToNormalMapTexture()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp877 SharedPtr<EGLImage> sourceImage; member in deqp::egl::GLES2ThreadTest::Texture
975 texture->sourceImage = SharedPtr<EGLImage>(); in TexImage2D()
1026 if (m_texture->sourceImage) in TexSubImage2D()
1027 modifyGLObject(SharedPtr<Object>(m_texture->sourceImage)); in TexSubImage2D()
1080 texture->sourceImage = SharedPtr<EGLImage>(); in CopyTexImage2D()
1130 if (m_texture->sourceImage) in CopyTexSubImage2D()
1131 modifyGLObject(SharedPtr<Object>(m_texture->sourceImage)); in CopyTexSubImage2D()
1898 m_texture->sourceImage = m_image; in CreateImageFromTexture()
1989 texture->sourceImage = image; in DefineTextureFromImage()
2346 if (!texture->sourceImage) in addRandomOperation()