Home
last modified time | relevance | path

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

1234

/external/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 …]
/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.c115 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.c1923 const struct gl_texture_image *srcImage, in generate_mipmap_uncompressed() argument
1930 _mesa_uncompressed_format_to_type_and_comps(srcImage->TexFormat, &datatype, &comps); in generate_mipmap_uncompressed()
1934 struct gl_texture_image *srcImage, *dstImage; in generate_mipmap_uncompressed() local
1944 srcImage = _mesa_select_tex_image(texObj, target, level); in generate_mipmap_uncompressed()
1945 assert(srcImage); in generate_mipmap_uncompressed()
1946 srcWidth = srcImage->Width; in generate_mipmap_uncompressed()
1947 srcHeight = srcImage->Height; in generate_mipmap_uncompressed()
1948 srcDepth = srcImage->Depth; in generate_mipmap_uncompressed()
1949 border = srcImage->Border; in generate_mipmap_uncompressed()
1971 ctx->Driver.MapTextureImage(ctx, srcImage, slice, in generate_mipmap_uncompressed()
[all …]
/external/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, kNone_GrSurfaceFlags, 1, in create_proxy()
225 sk_sp<SkImage> srcImage(SkImage::MakeFromTexture(context, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
231 if (!srcImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 GrBackendTexture readBackBackendTex = srcImage->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skqp/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, kNone_GrSurfaceFlags, 1, in create_proxy()
225 sk_sp<SkImage> srcImage(SkImage::MakeFromTexture(context, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
231 if (!srcImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 GrBackendTexture readBackBackendTex = srcImage->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp185 srcImage(pSrcImage), dstImage(pDstImage), region(pRegion) in ImageToImageCopy()
191 Cast(srcImage)->copyTo(dstImage, region); in play()
195 VkImage srcImage; member
221 srcImage(pSrcImage), dstBuffer(pDstBuffer), region(pRegion) in ImageToBufferCopy()
227 Cast(srcImage)->copyTo(dstBuffer, region); in play()
231 VkImage srcImage; member
347 BlitImage(VkImage srcImage, VkImage dstImage, const VkImageBlit& region, VkFilter filter) : in BlitImage()
348 srcImage(srcImage), dstImage(dstImage), region(region), filter(filter) in BlitImage()
354 Cast(srcImage)->blit(dstImage, region, filter); in play()
358 VkImage srcImage; member
[all …]
DVkCommandBuffer.hpp91 …void copyImage(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dst…
93 …void blitImage(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dst…
97 void copyImageToBuffer(VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer,
107 …void resolveImage(VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout …
/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 …]
Ddng_opcodes.cpp257 const dng_image &srcImage, in dng_filter_opcode_task() argument
260 : dng_filter_task (srcImage, in dng_filter_opcode_task()
268 fSrcPixelType = fOpcode.BufferPixelType (srcImage.PixelType ()); in dng_filter_opcode_task()
Ddng_negative.cpp4352 const dng_image &srcImage,
4385 const dng_image &srcImage, in dng_encode_proxy_task() argument
4391 : fSrcImage (srcImage) in dng_encode_proxy_task()
4471 const dng_image &srcImage, in EncodeRawProxy() argument
4475 if (srcImage.PixelType () != ttShort) in EncodeRawProxy()
4489 uint64 pixels = (uint64) srcImage.Bounds ().H () * in EncodeRawProxy()
4490 (uint64) srcImage.Bounds ().W (); in EncodeRawProxy()
4498 for (uint32 plane = 0; plane < srcImage.Planes (); plane++) in EncodeRawProxy()
4502 srcImage, in EncodeRawProxy()
4503 srcImage.Bounds (), in EncodeRawProxy()
[all …]
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp621 GrVkImage* srcImage, in copyImage() argument
629 this->addResource(srcImage->resource()); in copyImage()
632 srcImage->image(), in copyImage()
642 VkImage srcImage, in blitImage() argument
655 srcImage, in blitImage()
665 const GrVkImage& srcImage, in blitImage() argument
671 srcImage.resource(), in blitImage()
672 srcImage.image(), in blitImage()
673 srcImage.currentLayout(), in blitImage()
684 GrVkImage* srcImage, in copyImageToBuffer() argument
[all …]
DGrVkCommandBuffer.h243 GrVkImage* srcImage,
252 VkImage srcImage,
262 const GrVkImage& srcImage,
269 GrVkImage* srcImage,
295 const GrVkImage& srcImage,
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c272 const struct gl_texture_image *srcImage; in _mesa_meta_GenerateMipmap() local
279 srcImage = _mesa_select_tex_image(texObj, faceTarget, srcLevel); in _mesa_meta_GenerateMipmap()
280 assert(srcImage->Border == 0); in _mesa_meta_GenerateMipmap()
283 srcWidth = srcImage->Width; in _mesa_meta_GenerateMipmap()
286 srcDepth = srcImage->Height; in _mesa_meta_GenerateMipmap()
288 srcHeight = srcImage->Height; in _mesa_meta_GenerateMipmap()
289 srcDepth = srcImage->Depth; in _mesa_meta_GenerateMipmap()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp631 GrVkImage* srcImage, in copyImage() argument
639 this->addResource(srcImage->resource()); in copyImage()
642 srcImage->image(), in copyImage()
652 VkImage srcImage, in blitImage() argument
665 srcImage, in blitImage()
675 const GrVkImage& srcImage, in blitImage() argument
681 srcImage.resource(), in blitImage()
682 srcImage.image(), in blitImage()
683 srcImage.currentLayout(), in blitImage()
694 GrVkImage* srcImage, in copyImageToBuffer() argument
[all …]
DGrVkCommandBuffer.h244 GrVkImage* srcImage,
253 VkImage srcImage,
263 const GrVkImage& srcImage,
270 GrVkImage* srcImage,
296 const GrVkImage& srcImage,
/external/skqp/src/gpu/
DGrProxyProvider.cpp180 sk_sp<GrTextureProxy> GrProxyProvider::createTextureProxy(sk_sp<SkImage> srcImage, in createTextureProxy() argument
187 SkASSERT(srcImage); in createTextureProxy()
193 SkImageInfo info = as_IB(srcImage)->onImageInfo(); in createTextureProxy()
208 !srcImage->readPixels(copy8888.pixmap(), 0, 0)) { in createTextureProxy()
212 srcImage = SkMakeImageFromRasterBitmap(copy8888, kNever_SkCopyPixelsMode); in createTextureProxy()
230 desc.fWidth = srcImage->width(); in createTextureProxy()
231 desc.fHeight = srcImage->height(); in createTextureProxy()
237 [desc, budgeted, srcImage, fit, surfaceFlags](GrResourceProvider* resourceProvider) { in createTextureProxy()
244 SkAssertResult(srcImage->peekPixels(&pixMap)); in createTextureProxy()
/external/skia/src/gpu/
DGrProxyProvider.cpp192 sk_sp<GrTextureProxy> GrProxyProvider::createTextureProxy(sk_sp<SkImage> srcImage, in createTextureProxy() argument
199 SkASSERT(srcImage); in createTextureProxy()
205 SkImageInfo info = as_IB(srcImage)->onImageInfo(); in createTextureProxy()
220 !srcImage->readPixels(copy8888.pixmap(), 0, 0)) { in createTextureProxy()
224 srcImage = SkMakeImageFromRasterBitmap(copy8888, kNever_SkCopyPixelsMode); in createTextureProxy()
242 desc.fWidth = srcImage->width(); in createTextureProxy()
243 desc.fHeight = srcImage->height(); in createTextureProxy()
249 [desc, budgeted, srcImage, fit, surfaceFlags](GrResourceProvider* resourceProvider) { in createTextureProxy()
251 SkAssertResult(srcImage->peekPixels(&pixMap)); in createTextureProxy()

1234