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/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.cpp48 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test() local
49 sk_sp<SkShader> sourceShader = sourceImage->makeShader( in run_shader_test()
75 sk_sp<SkShader> sourceShaderTranslated = sourceImage->makeShader( in run_shader_test()
DImageFilterTest.cpp1565 sk_sp<SkSpecialImage> sourceImage(create_empty_special_image(context, 100)); in test_composed_imagefilter_bounds() local
1569 sk_sp<SkSpecialImage> result(composedFilter->filterImage(sourceImage.get(), ctx, &offset)); in test_composed_imagefilter_bounds()
1759 sk_sp<SkImage> sourceImage = surface->makeImageSnapshot(); in test_make_with_filter() local
1767 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1770 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, nullptr, &offset); in test_make_with_filter()
1773 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter()
1777 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1781 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter()
1784 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter()
1788 result = sourceImage->makeWithFilter(filter.get(), subset, leftField, &outSubset, &offset); in test_make_with_filter()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp676 …const VkImage sourceImage = m_imageMSParams.numSamples == VK_SAMPLE_COUNT_1_BIT ? **imageMS : **im… in iterate() local
685 sourceImage, in iterate()
709 …deviceInterface.cmdCopyImageToBuffer(*commandBuffer, sourceImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPT… in iterate()
/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()
2361 if (!texture->sourceImage) in addRandomOperation()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3373 const tcu::TextureLevelPyramid& sourceImage,
3379 const tcu::TextureLevelPyramid& sourceImage,
3466 const tcu::TextureLevelPyramid& sourceImage, in createImage() argument
3469 const tcu::ConstPixelBufferAccess baseLevel = sourceImage.getLevel(0); in createImage()
3497 (deUint32)sourceImage.getNumLevels(), // mipLevels in createImage()
3516 const tcu::TextureLevelPyramid& sourceImage, in createImageView() argument
3521 const tcu::ConstPixelBufferAccess baseLevel = sourceImage.getLevel(0); in createImageView()
3538 sourceImage.getNumLevels() - baseMipLevel, // mipLevels in createImageView()