Home
last modified time | relevance | path

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

1234567

/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java71 public TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, in TJCompressor() argument
73 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); in TJCompressor()
82 public TJCompressor(byte[] srcImage, int width, int pitch, int height, in TJCompressor() argument
84 setSourceImage(srcImage, width, pitch, height, pixelFormat); in TJCompressor()
107 public TJCompressor(BufferedImage srcImage, int x, int y, int width, in TJCompressor() argument
109 setSourceImage(srcImage, x, y, width, height); in TJCompressor()
143 public void setSourceImage(byte[] srcImage, int x, int y, int width, in setSourceImage() argument
147 if (srcImage == null || x < 0 || y < 0 || width < 1 || height < 1 || in setSourceImage()
150 srcBuf = srcImage; in setSourceImage()
170 public void setSourceImage(byte[] srcImage, int width, int pitch, in setSourceImage() argument
[all …]
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java71 public TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, in TJCompressor() argument
73 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); in TJCompressor()
82 public TJCompressor(byte[] srcImage, int width, int pitch, int height, in TJCompressor() argument
84 setSourceImage(srcImage, width, pitch, height, pixelFormat); in TJCompressor()
107 public TJCompressor(BufferedImage srcImage, int x, int y, int width, in TJCompressor() argument
109 setSourceImage(srcImage, x, y, width, height); in TJCompressor()
143 public void setSourceImage(byte[] srcImage, int x, int y, int width, in setSourceImage() argument
147 if (srcImage == null || x < 0 || y < 0 || width < 1 || height < 1 || in setSourceImage()
150 srcBuf = srcImage; in setSourceImage()
170 public void setSourceImage(byte[] srcImage, int width, int pitch, in setSourceImage() argument
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dcopy_image_common.txt12 * [[VUID-{refpage}-srcImage-01995]]
14 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
16 * [[VUID-{refpage}-srcImage-00126]]
17 pname:srcImage must: have been created with
20 * [[VUID-{refpage}-srcImage-00127]]
21 If pname:srcImage is non-sparse then it must: be bound completely and
25 * [[VUID-{refpage}-srcImage-01546]]
26 If pname:srcImage is non-sparse then the image or _disjoint_ plane to be
32 of pname:srcImage specified in pname:pRegions at the time this command
82 * [[VUID-{refpage}-srcImage-00135]]
[all …]
Dblit_image_common.adoc9 region that is contained within pname:srcImage
17 * [[VUID-{refpage}-srcImage-01999]]
19 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_BLIT_SRC_BIT
21 * [[VUID-{refpage}-srcImage-06421]]
22 pname:srcImage must: not use a
26 * [[VUID-{refpage}-srcImage-00219]]
27 pname:srcImage must: have been created with
29 * [[VUID-{refpage}-srcImage-00220]]
30 If pname:srcImage is non-sparse then it must: be bound completely and
34 of pname:srcImage specified in pname:pRegions at the time this command
[all …]
Dblit_image_common.txt9 region that is contained within pname:srcImage
17 * [[VUID-{refpage}-srcImage-01999]]
19 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_BLIT_SRC_BIT
21 * [[VUID-{refpage}-srcImage-06421]]
22 pname:srcImage must: not use a
26 * [[VUID-{refpage}-srcImage-00219]]
27 pname:srcImage must: have been created with
29 * [[VUID-{refpage}-srcImage-00220]]
30 If pname:srcImage is non-sparse then it must: be bound completely and
34 of pname:srcImage specified in pname:pRegions at the time this command
[all …]
Dcopy_image_common.adoc12 * [[VUID-{refpage}-srcImage-01995]]
14 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
17 * [[VUID-{refpage}-srcImage-00127]]
18 If pname:srcImage is non-sparse then it must: be bound completely and
22 * [[VUID-{refpage}-srcImage-01546]]
23 If pname:srcImage is non-sparse then the image or _disjoint_ plane to be
29 of pname:srcImage specified in pname:pRegions at the time this command
76 * [[VUID-{refpage}-srcImage-00135]]
77 The elink:VkFormat of each of pname:srcImage and pname:dstImage must: be
81 * [[VUID-{refpage}-srcImage-01548]]
[all …]
Dcopy_image_to_buffer_common.adoc15 * [[VUID-{refpage}-srcImage-00186]]
16 pname:srcImage must: have been created with
19 * [[VUID-{refpage}-srcImage-01998]]
21 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
23 * [[VUID-{refpage}-srcImage-00187]]
24 If pname:srcImage is non-sparse then it must: be bound completely and
32 * [[VUID-{refpage}-srcImage-00188]]
33 pname:srcImage must: have a sample count equal to
37 of pname:srcImage specified in pname:pRegions at the time this command
54 slink:VkImageCreateInfo when pname:srcImage was created
[all …]
Dresolve_image_common.adoc11 * [[VUID-{refpage}-srcImage-00256]]
12 If pname:srcImage is non-sparse then it must: be bound completely and
14 * [[VUID-{refpage}-srcImage-00257]]
15 pname:srcImage must: have a sample count equal to any valid sample count
25 of pname:srcImage specified in pname:pRegions at the time this command
65 * [[VUID-{refpage}-srcImage-01386]]
66 pname:srcImage and pname:dstImage must: have been created with the same
71 slink:VkImageCreateInfo when pname:srcImage was created
80 slink:VkImageCreateInfo when pname:srcImage was created
88 pname:dstImage and pname:srcImage must: not have been created with
[all …]
Dcopy_image_to_buffer_common.txt15 * [[VUID-{refpage}-srcImage-00186]]
16 pname:srcImage must: have been created with
19 * [[VUID-{refpage}-srcImage-01998]]
21 pname:srcImage must: contain ename:VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
23 * [[VUID-{refpage}-srcImage-00187]]
24 If pname:srcImage is non-sparse then it must: be bound completely and
32 * [[VUID-{refpage}-srcImage-00188]]
33 pname:srcImage must: have a sample count equal to
37 of pname:srcImage specified in pname:pRegions at the time this command
54 slink:VkImageCreateInfo when pname:srcImage was created
[all …]
Dresolve_image_common.txt11 * [[VUID-{refpage}-srcImage-00256]]
12 If pname:srcImage is non-sparse then it must: be bound completely and
14 * [[VUID-{refpage}-srcImage-00257]]
15 pname:srcImage must: have a sample count equal to any valid sample count
25 of pname:srcImage specified in pname:pRegions at the time this command
57 * [[VUID-{refpage}-srcImage-01386]]
58 pname:srcImage and pname:dstImage must: have been created with the same
63 slink:VkImageCreateInfo when pname:srcImage was created
72 slink:VkImageCreateInfo when pname:srcImage was created
80 pname:dstImage and pname:srcImage must: not have been created with
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_copy.c66 VkImage srcImage, in vk_common_CmdCopyImage() argument
93 .srcImage = srcImage, in vk_common_CmdCopyImage()
149 VkImage srcImage, in vk_common_CmdCopyImageToBuffer() argument
176 .srcImage = srcImage, in vk_common_CmdCopyImageToBuffer()
190 VkImage srcImage, in vk_common_CmdBlitImage() argument
223 .srcImage = srcImage, in vk_common_CmdBlitImage()
239 VkImage srcImage, in vk_common_CmdResolveImage() argument
266 .srcImage = srcImage, in vk_common_CmdResolveImage()
/third_party/vk-gl-cts/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()
/third_party/mesa3d/src/mesa/main/
Dgenmipmap.c119 struct gl_texture_image *srcImage; in generate_texture_mipmap() local
139 srcImage = _mesa_select_tex_image(texObj, target, texObj->Attrib.BaseLevel); in generate_texture_mipmap()
141 if (!srcImage) { in generate_texture_mipmap()
149 srcImage->InternalFormat)) { in generate_texture_mipmap()
153 _mesa_enum_to_string(srcImage->InternalFormat)); in generate_texture_mipmap()
165 _mesa_is_format_compressed(srcImage->TexFormat)) { in generate_texture_mipmap()
172 if (srcImage->Width == 0 || srcImage->Height == 0) { in generate_texture_mipmap()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkStructConversion.hpp56 …CopyImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstI… in CopyImageInfo()
60 srcImage, in CopyImageInfo()
91 …BlitImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstI… in BlitImageInfo()
95 srcImage, in BlitImageInfo()
161 …CopyImageToBufferInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t… in CopyImageToBufferInfo()
165 srcImage, in CopyImageToBufferInfo()
196 …ResolveImageInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout d… in ResolveImageInfo()
200 srcImage, in ResolveImageInfo()
DVkCommandBuffer.cpp633 CmdCopyImage(const vk::Image *srcImage, vk::Image *dstImage, const VkImageCopy2KHR &region) in CmdCopyImage() argument
634 : srcImage(srcImage) in CmdCopyImage()
642 srcImage->copyTo(dstImage, region); in execute()
648 const vk::Image *const srcImage; member in __anon050568cb0111::CmdCopyImage
679 …CmdCopyImageToBuffer(vk::Image *srcImage, vk::Buffer *dstBuffer, const VkBufferImageCopy2KHR &regi… in CmdCopyImageToBuffer() argument
680 : srcImage(srcImage) in CmdCopyImageToBuffer()
688 srcImage->copyTo(dstBuffer, region); in execute()
694 vk::Image *const srcImage; member in __anon050568cb0111::CmdCopyImageToBuffer
844 …CmdBlitImage(const vk::Image *srcImage, vk::Image *dstImage, const VkImageBlit2KHR &region, VkFilt… in CmdBlitImage() argument
845 : srcImage(srcImage) in CmdBlitImage()
[all …]
/third_party/flutter/skia/tests/
DImageFilterCacheTest.cpp171 const sk_sp<SkImage>& srcImage) { in test_image_backed() argument
174 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromImage(context, full, srcImage)); in test_image_backed()
178 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromImage(context, subset, srcImage)); in test_image_backed()
189 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in DEF_TEST() local
191 test_image_backed(reporter, nullptr, srcImage); in DEF_TEST()
204 sk_sp<SkImage> srcImage(SkImage::MakeFromBitmap(srcBM)); in create_proxy() local
205 return proxyProvider->createTextureProxy(srcImage, 1, SkBudgeted::kYes, SkBackingFit::kExact); in create_proxy()
224 sk_sp<SkImage> srcImage(SkImage::MakeFromTexture(context, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
230 if (!srcImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 GrBackendTexture readBackBackendTex = srcImage->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/skia/src/image/
DSkRescaleAndReadPixels.cpp66 sk_sp<SkImage> srcImage; in SkRescaleAndReadPixels() local
85 srcImage = tempSurf->makeImageSnapshot(); in SkRescaleAndReadPixels()
91 srcImage = SkImage::MakeFromRaster(bmp.pixmap(), nullptr, nullptr); in SkRescaleAndReadPixels()
114 auto ii = srcImage->imageInfo().makeWH(nextW, nextH); in SkRescaleAndReadPixels()
125 srcImage.get(), SkRect::Make(SkIRect::MakeXYWH(srcX, srcY, srcW, srcH)), in SkRescaleAndReadPixels()
128 srcImage = tempSurf->makeImageSnapshot(); in SkRescaleAndReadPixels()
138 if (srcImage->readPixels(nullptr, pm, srcX, srcY)) { in SkRescaleAndReadPixels()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h107 VkImage srcImage; member
133 VkImage srcImage; member
143 VkImage srcImage; member
304 VkImage srcImage; member
388 void blitImage(const Image &srcImage,
424 void copyImage(const Image &srcImage,
431 void copyImageToBuffer(const Image &srcImage,
486 void resolveImage(const Image &srcImage,
705 ANGLE_INLINE void SecondaryCommandBuffer::blitImage(const Image &srcImage, in blitImage() argument
718 paramStruct->srcImage = srcImage.getHandle(); in blitImage()
[all …]
DFramebufferVk.cpp551 vk::ImageHelper *srcImage = &readRenderTarget->getImage(); in blitWithCommand() local
554 VkImageAspectFlags imageAspectMask = srcImage->getAspectFlags(); in blitWithCommand()
567 if (srcImage->isLayoutChangeNecessary(vk::ImageLayout::TransferSrc)) in blitWithCommand()
570 ANGLE_TRY(srcImage->recordCommands(contextVk, &srcLayoutChange)); in blitWithCommand()
571 srcImage->changeLayout(imageAspectMask, vk::ImageLayout::TransferSrc, srcLayoutChange); in blitWithCommand()
577 srcImage->addReadDependency(&mFramebuffer); in blitWithCommand()
597 commandBuffer->blitImage(srcImage->getImage(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, in blitWithCommand()
895 vk::ImageHelper *srcImage) in resolveColorWithCommand() argument
897 if (srcImage->isLayoutChangeNecessary(vk::ImageLayout::TransferSrc)) in resolveColorWithCommand()
900 ANGLE_TRY(srcImage->recordCommands(contextVk, &srcLayoutChange)); in resolveColorWithCommand()
[all …]
/third_party/skia/tests/
DImageFilterCacheTest.cpp174 const sk_sp<SkImage>& srcImage) { in test_image_backed() argument
177 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromImage(rContext, full, srcImage, in test_image_backed()
182 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromImage(rContext, subset, srcImage, in test_image_backed()
194 sk_sp<SkImage> srcImage(srcBM.asImage()); in DEF_TEST() local
196 test_image_backed(reporter, nullptr, srcImage); in DEF_TEST()
229 sk_sp<SkImage> srcImage(SkImage::MakeFromTexture(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
235 if (!srcImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
240 GrBackendTexture readBackBackendTex = srcImage->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 test_image_backed(reporter, dContext, srcImage); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h60 void blitImage(const Image &srcImage,
94 void copyImageToBuffer(const Image &srcImage,
99 void copyImage(const Image &srcImage,
186 void resolveImage(const Image &srcImage,
238 ANGLE_INLINE void VulkanSecondaryCommandBuffer::blitImage(const Image &srcImage, in blitImage() argument
247 CommandBuffer::blitImage(srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, in blitImage()
326 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyImageToBuffer(const Image &srcImage, in copyImageToBuffer() argument
333 CommandBuffer::copyImageToBuffer(srcImage, srcImageLayout, dstBuffer, regionCount, regions); in copyImageToBuffer()
336 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyImage(const Image &srcImage, in copyImage() argument
344 CommandBuffer::copyImage(srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, in copyImage()
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp637 GrVkImage* srcImage, in copyImage() argument
646 this->addResource(srcImage->resource()); in copyImage()
649 srcImage->image(), in copyImage()
659 VkImage srcImage, in blitImage() argument
673 srcImage, in blitImage()
683 const GrVkImage& srcImage, in blitImage() argument
689 srcImage.resource(), in blitImage()
690 srcImage.image(), in blitImage()
691 srcImage.currentLayout(), in blitImage()
702 GrVkImage* srcImage, in copyImageToBuffer() argument
[all …]
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp689 GrVkImage* srcImage, in copyImage() argument
698 this->addResource(srcImage->resource()); in copyImage()
701 srcImage->image(), in copyImage()
711 VkImage srcImage, in blitImage() argument
725 srcImage, in blitImage()
735 const GrVkImage& srcImage, in blitImage() argument
741 srcImage.resource(), in blitImage()
742 srcImage.image(), in blitImage()
743 srcImage.currentLayout(), in blitImage()
754 GrVkImage* srcImage, in copyImageToBuffer() argument
[all …]

1234567