Home
last modified time | relevance | path

Searched refs:srcImage (Results 1 – 25 of 144) sorted by relevance

123456

/external/deqp/framework/delibs/deimage/
DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) in deImage_scale() argument
119 int srcWidth = srcImage->width; in deImage_scale()
120 int srcHeight = srcImage->height; in deImage_scale()
121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale()
128 float xFloat = ((float)x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f; in deImage_scale()
129 float yFloat = ((float)y + 0.5f) / (float)dstHeight * (float)srcImage->height - 0.5f; in deImage_scale()
147 deARGB p00 = deImage_getPixel(srcImage, x0, y0); in deImage_scale()
148 deARGB p10 = deImage_getPixel(srcImage, x1, y0); in deImage_scale()
149 deARGB p01 = deImage_getPixel(srcImage, x0, y1); in deImage_scale()
150 deARGB p11 = deImage_getPixel(srcImage, x1, y1); in deImage_scale()
/external/mesa3d/src/mesa/main/
Dgenmipmap.c116 struct gl_texture_image *srcImage; in generate_texture_mipmap() local
134 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel); in generate_texture_mipmap()
136 if (!srcImage) { in generate_texture_mipmap()
144 srcImage->InternalFormat)) { in generate_texture_mipmap()
148 _mesa_enum_to_string(srcImage->InternalFormat)); in generate_texture_mipmap()
153 if (srcImage->Width == 0 || srcImage->Height == 0) { in generate_texture_mipmap()
Dmipmap.c1948 const struct gl_texture_image *srcImage, in generate_mipmap_uncompressed() argument
1955 _mesa_uncompressed_format_to_type_and_comps(srcImage->TexFormat, &datatype, &comps); in generate_mipmap_uncompressed()
1959 struct gl_texture_image *srcImage, *dstImage; in generate_mipmap_uncompressed() local
1969 srcImage = _mesa_select_tex_image(texObj, target, level); in generate_mipmap_uncompressed()
1970 assert(srcImage); in generate_mipmap_uncompressed()
1971 srcWidth = srcImage->Width; in generate_mipmap_uncompressed()
1972 srcHeight = srcImage->Height; in generate_mipmap_uncompressed()
1973 srcDepth = srcImage->Depth; in generate_mipmap_uncompressed()
1974 border = srcImage->Border; in generate_mipmap_uncompressed()
1996 ctx->Driver.MapTextureImage(ctx, srcImage, slice, in generate_mipmap_uncompressed()
[all …]
/external/skia/src/image/
DSkRescaleAndReadPixels.cpp77 sk_sp<SkImage> srcImage; in SkRescaleAndReadPixels() local
96 srcImage = tempSurf->makeImageSnapshot(); in SkRescaleAndReadPixels()
102 srcImage = SkImage::MakeFromRaster(bmp.pixmap(), nullptr, nullptr); in SkRescaleAndReadPixels()
125 auto ii = srcImage->imageInfo().makeWH(nextW, nextH); in SkRescaleAndReadPixels()
136 srcImage.get(), SkRect::Make(SkIRect::MakeXYWH(srcX, srcY, srcW, srcH)), in SkRescaleAndReadPixels()
139 srcImage = tempSurf->makeImageSnapshot(); in SkRescaleAndReadPixels()
149 if (srcImage->readPixels(nullptr, pm, srcX, srcY)) { in SkRescaleAndReadPixels()
/external/dng_sdk/source/
Ddng_filter_task.cpp28 dng_filter_task::dng_filter_task (const dng_image &srcImage, in dng_filter_task() argument
31 : fSrcImage (srcImage) in dng_filter_task()
35 , fSrcPlanes (srcImage.Planes ()) in dng_filter_task()
36 , fSrcPixelType (srcImage.PixelType ()) in dng_filter_task()
Ddng_render.cpp743 dng_render_task (const dng_image &srcImage,
764 dng_render_task::dng_render_task (const dng_image &srcImage, in dng_render_task() argument
770 : dng_filter_task (srcImage, in dng_render_task()
1267 const dng_image *srcImage = fNegative.Stage3Image (); in Render() local
1306 srcImage->Planes (), in Render()
1307 srcImage->PixelType ())); in Render()
1310 *srcImage, in Render()
1316 srcImage = tempImage.Get (); in Render()
1328 dng_render_task task (*srcImage, in Render()
Ddng_mosaic_info.h151 const dng_image &srcImage,
165 const dng_image &srcImage,
180 const dng_image &srcImage,
Ddng_linearization_info.cpp66 const dng_image &srcImage,
80 const dng_image &srcImage, in dng_linearize_plane() argument
84 : fSrcImage (srcImage) in dng_linearize_plane()
88 , fSrcPixelType (srcImage.PixelType ()) in dng_linearize_plane()
971 const dng_image &srcImage,
990 const dng_image &srcImage, in dng_linearize_image() argument
993 : fSrcImage (srcImage) in dng_linearize_image()
1001 for (uint32 plane = 0; plane < srcImage.Planes (); plane++) in dng_linearize_image()
1006 srcImage, in dng_linearize_image()
1422 const dng_image &srcImage, in Linearize() argument
[all …]
Ddng_utils.cpp523 dng_limit_float_depth_task (const dng_image &srcImage,
546 dng_limit_float_depth_task::dng_limit_float_depth_task (const dng_image &srcImage, in dng_limit_float_depth_task() argument
551 : fSrcImage (srcImage) in dng_limit_float_depth_task()
721 const dng_image &srcImage, in LimitFloatBitDepth() argument
727 DNG_ASSERT (srcImage.PixelType () == ttFloat, "Floating point image expected"); in LimitFloatBitDepth()
730 dng_limit_float_depth_task task (srcImage, in LimitFloatBitDepth()
Ddng_host.cpp533 void dng_host::ResampleImage (const dng_image &srcImage, in ResampleImage() argument
538 srcImage, in ResampleImage()
540 srcImage.Bounds (), in ResampleImage()
Ddng_resample.cpp508 dng_resample_task (const dng_image &srcImage,
531 dng_resample_task::dng_resample_task (const dng_image &srcImage, in dng_resample_task() argument
537 : dng_filter_task (srcImage, in dng_resample_task()
562 if (srcImage.PixelSize () <= 2 && in dng_resample_task()
564 srcImage.PixelRange () == dstImage.PixelRange ()) in dng_resample_task()
830 const dng_image &srcImage, in ResampleImage() argument
837 dng_resample_task task (srcImage, in ResampleImage()
Ddng_mosaic_info.cpp1121 const dng_image &srcImage,
1137 const dng_image &srcImage, in dng_fast_interpolator() argument
1142 : dng_filter_task (srcImage, in dng_fast_interpolator()
1805 const dng_image &srcImage, in InterpolateGeneric() argument
1838 srcImage.PixelType (), pcInterleaved, NULL); in InterpolateGeneric()
1908 srcImage.Get (srcBuffer, in InterpolateGeneric()
1932 const dng_image &srcImage, in InterpolateFast() argument
1941 srcImage, in InterpolateFast()
1961 const dng_image &srcImage, in Interpolate() argument
1972 srcImage, in Interpolate()
[all …]
/external/skia/tests/
DImageFilterCacheTest.cpp206 const sk_sp<SkImage>& srcImage) { in test_image_backed() argument
209 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromImage(rContext, full, srcImage, in test_image_backed()
214 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromImage(rContext, subset, srcImage, in test_image_backed()
226 sk_sp<SkImage> srcImage(srcBM.asImage()); in DEF_TEST() local
228 test_image_backed(reporter, nullptr, srcImage); in DEF_TEST()
255 sk_sp<SkImage> srcImage(SkImage::MakeFromTexture(dContext, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
261 if (!srcImage) { in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
266 GrBackendTexture readBackBackendTex = srcImage->getBackendTexture(false, &readBackOrigin); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
277 test_image_backed(reporter, dContext, srcImage); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DVkYcbcrSamplerTest.cpp67 sk_sp<SkImage> srcImage = SkImage::MakeFromTexture(testHelper.directContext(), in DEF_GANESH_TEST_FOR_VULKAN_CONTEXT() local
73 if (!srcImage) { in DEF_GANESH_TEST_FOR_VULKAN_CONTEXT()
86 surface->getCanvas()->drawImage(srcImage, 0, 0); in DEF_GANESH_TEST_FOR_VULKAN_CONTEXT()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c271 const struct gl_texture_image *srcImage; in _mesa_meta_GenerateMipmap() local
278 srcImage = _mesa_select_tex_image(texObj, faceTarget, srcLevel); in _mesa_meta_GenerateMipmap()
279 assert(srcImage->Border == 0); in _mesa_meta_GenerateMipmap()
282 srcWidth = srcImage->Width; in _mesa_meta_GenerateMipmap()
285 srcDepth = srcImage->Height; in _mesa_meta_GenerateMipmap()
287 srcHeight = srcImage->Height; in _mesa_meta_GenerateMipmap()
288 srcDepth = srcImage->Depth; in _mesa_meta_GenerateMipmap()
/external/angle/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h73 void blitImage(const Image &srcImage,
107 void copyImageToBuffer(const Image &srcImage,
112 void copyImage(const Image &srcImage,
199 void resolveImage(const Image &srcImage,
257 ANGLE_INLINE void VulkanSecondaryCommandBuffer::blitImage(const Image &srcImage, in blitImage() argument
266 CommandBuffer::blitImage(srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, in blitImage()
345 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyImageToBuffer(const Image &srcImage, in copyImageToBuffer() argument
352 CommandBuffer::copyImageToBuffer(srcImage, srcImageLayout, dstBuffer, regionCount, regions); in copyImageToBuffer()
355 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyImage(const Image &srcImage, in copyImage() argument
363 CommandBuffer::copyImage(srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, in copyImage()
[all …]
DSecondaryCommandBuffer.h180 VkImage srcImage; member
239 VkImage srcImage; member
249 VkImage srcImage; member
443 VkImage srcImage; member
695 void blitImage(const Image &srcImage,
735 void copyImage(const Image &srcImage,
742 void copyImageToBuffer(const Image &srcImage,
827 void resolveImage(const Image &srcImage,
1199 ANGLE_INLINE void SecondaryCommandBuffer::blitImage(const Image &srcImage, in blitImage() argument
1212 paramStruct->srcImage = srcImage.getHandle(); in blitImage()
[all …]
DTextureVk.cpp113 const vk::ImageHelper &srcImage, in CanCopyWithTransferForCopyTexture() argument
119 if (!vk::CanCopyWithTransfer(renderer, srcImage.getActualFormatID(), srcTilingMode, in CanCopyWithTransferForCopyTexture()
126 if (srcImage.getIntendedFormatID() == destIntendedFormatID && in CanCopyWithTransferForCopyTexture()
127 srcImage.getActualFormatID() == destActualFormatID) in CanCopyWithTransferForCopyTexture()
133 if (srcImage.hasEmulatedImageFormat() || in CanCopyWithTransferForCopyTexture()
141 const angle::Format &srcAngleFormat = srcImage.getActualFormat(); in CanCopyWithTransferForCopyTexture()
1099 vk::ImageHelper *srcImage) in copySubImageImplWithTransfer() argument
1112 access.onImageTransferRead(VK_IMAGE_ASPECT_COLOR_BIT, srcImage); in copySubImageImplWithTransfer()
1116 srcSubresource.mipLevel = srcImage->toVkLevel(sourceLevelGL).get(); in copySubImageImplWithTransfer()
1120 bool isSrc3D = srcImage->getExtents().depth > 1; in copySubImageImplWithTransfer()
[all …]
/external/skia/src/gpu/ganesh/vk/
DGrVkCommandBuffer.cpp688 GrVkImage* srcImage, in copyImage() argument
697 this->addResource(srcImage->resource()); in copyImage()
700 srcImage->image(), in copyImage()
710 VkImage srcImage, in blitImage() argument
724 srcImage, in blitImage()
734 const GrVkImage& srcImage, in blitImage() argument
740 srcImage.resource(), in blitImage()
741 srcImage.image(), in blitImage()
742 srcImage.currentLayout(), in blitImage()
753 GrVkImage* srcImage, in copyImageToBuffer() argument
[all …]
DGrVkCommandBuffer.h247 GrVkImage* srcImage,
256 VkImage srcImage,
266 const GrVkImage& srcImage,
273 GrVkImage* srcImage,
308 const GrVkImage& srcImage,
DGrVkGpu.cpp751 GrVkImage* srcImage; in onTransferPixelsFrom() local
762 srcImage = rt->nonMSAAAttachment(); in onTransferPixelsFrom()
765 srcImage = static_cast<GrVkTexture*>(surface->asTexture())->textureImage(); in onTransferPixelsFrom()
768 VkFormat format = srcImage->imageFormat(); in onTransferPixelsFrom()
784 srcImage->setImageLayout(this, in onTransferPixelsFrom()
790 this->currentCommandBuffer()->copyImageToBuffer(this, srcImage, in onTransferPixelsFrom()
2301 GrVkImage* srcImage, in copySurfaceAsCopyImage() argument
2310 int srcSampleCnt = srcImage->numSamples(); in copySurfaceAsCopyImage()
2312 bool srcHasYcbcr = srcImage->ycbcrConversionInfo().isValid(); in copySurfaceAsCopyImage()
2332 srcImage->setImageLayout(this, in copySurfaceAsCopyImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageOffsetTests.cpp99 …const vk::Unique<vk::VkImage> srcImage (createImage(vkd, device, config.format, UVec2(8u, 8u)… in imageOffsetTest() local
113 …vk::VkMemoryRequirements reqs = getImagePlaneMemoryRequirements(vkd, device, srcImage.get(), pla… in imageOffsetTest()
131 srcImage.get(), in imageOffsetTest()
146 vkd.getImageSubresourceLayout(device, srcImage.get(), &subresource, &subresourceLayout); in imageOffsetTest()
/external/swiftshader/src/Vulkan/
DVkStructConversion.hpp58 …CopyImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstI… in CopyImageInfo()
62 srcImage, in CopyImageInfo()
93 …BlitImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstI… in BlitImageInfo()
97 srcImage, in BlitImageInfo()
163 …CopyImageToBufferInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t… in CopyImageToBufferInfo()
167 srcImage, in CopyImageToBufferInfo()
198 …ResolveImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout d… in ResolveImageInfo()
202 srcImage, in ResolveImageInfo()
DVkCommandBuffer.cpp1085 CmdCopyImage(const vk::Image *srcImage, vk::Image *dstImage, const VkImageCopy2 &region) in CmdCopyImage() argument
1086 : srcImage(srcImage) in CmdCopyImage()
1094 srcImage->copyTo(dstImage, region); in execute()
1100 const vk::Image *const srcImage; member in __anonf7d71b6b0111::CmdCopyImage
1131 CmdCopyImageToBuffer(vk::Image *srcImage, vk::Buffer *dstBuffer, const VkBufferImageCopy2 &region) in CmdCopyImageToBuffer() argument
1132 : srcImage(srcImage) in CmdCopyImageToBuffer()
1140 srcImage->copyTo(dstBuffer, region); in execute()
1146 vk::Image *const srcImage; member in __anonf7d71b6b0111::CmdCopyImageToBuffer
1343 …CmdBlitImage(const vk::Image *srcImage, vk::Image *dstImage, const VkImageBlit2 &region, VkFilter … in CmdBlitImage() argument
1344 : srcImage(srcImage) in CmdBlitImage()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c413 VkImage srcImage, in radv_CmdCopyImageToBuffer() argument
420 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdCopyImageToBuffer()
444 RADV_FROM_HANDLE(radv_image, src_image, pCopyImageToBufferInfo->srcImage); in radv_CmdCopyImageToBuffer2KHR()
609 VkImage srcImage, in radv_CmdCopyImage() argument
617 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdCopyImage()
642 RADV_FROM_HANDLE(radv_image, src_image, pCopyImageInfo->srcImage); in radv_CmdCopyImage2KHR()

123456