Home
last modified time | relevance | path

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

123

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java69 public TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, in TJCompressor() argument
71 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); in TJCompressor()
79 public TJCompressor(byte[] srcImage, int width, int pitch, int height, in TJCompressor() argument
81 setSourceImage(srcImage, width, pitch, height, pixelFormat); in TJCompressor()
104 public TJCompressor(BufferedImage srcImage, int x, int y, int width, in TJCompressor() argument
106 setSourceImage(srcImage, x, y, width, height); in TJCompressor()
140 public void setSourceImage(byte[] srcImage, int x, int y, int width, in setSourceImage() argument
144 if (srcImage == null || x < 0 || y < 0 || width < 1 || height < 1 || in setSourceImage()
147 srcBuf = srcImage; in setSourceImage()
166 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/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_mosaic_info.h151 const dng_image &srcImage,
165 const dng_image &srcImage,
180 const dng_image &srcImage,
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_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.cpp541 dng_limit_float_depth_task (const dng_image &srcImage,
564 dng_limit_float_depth_task::dng_limit_float_depth_task (const dng_image &srcImage, in dng_limit_float_depth_task() argument
569 : fSrcImage (srcImage) in dng_limit_float_depth_task()
739 const dng_image &srcImage, in LimitFloatBitDepth() argument
745 DNG_ASSERT (srcImage.PixelType () == ttFloat, "Floating point image expected"); in LimitFloatBitDepth()
748 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 …]
Ddng_filter_task.h66 dng_filter_task (const dng_image &srcImage,
Ddng_linearization_info.h126 const dng_image &srcImage,
/external/skia/tests/
DImageFilterCacheTest.cpp152 static void test_image_backed(skiatest::Reporter* reporter, SkImage* srcImage) { in test_image_backed() argument
155 SkAutoTUnref<SkSpecialImage> fullImg(SkSpecialImage::NewFromImage(full, srcImage)); in test_image_backed()
159 SkAutoTUnref<SkSpecialImage> subsetImg(SkSpecialImage::NewFromImage(subset, srcImage)); in test_image_backed()
170 SkAutoTUnref<SkImage> srcImage(SkImage::NewFromBitmap(srcBM)); in DEF_TEST() local
172 test_image_backed(reporter, srcImage); in DEF_TEST()
203 SkAutoTUnref<SkImage> srcImage(SkImage::NewFromTexture(context, backendDesc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
205 if (!srcImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
209 test_image_backed(reporter, srcImage); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c218 const struct gl_texture_image *srcImage in st_generate_mipmap() local
222 uint border = srcImage->Border; in st_generate_mipmap()
250 dstDepth, border, srcImage->InternalFormat, in st_generate_mipmap()
251 srcImage->TexFormat); in st_generate_mipmap()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp227 GrVkImage* srcImage, in copyImage() argument
235 this->addResource(srcImage->resource()); in copyImage()
238 srcImage->textureImage(), in copyImage()
247 GrVkImage* srcImage, in copyImageToBuffer() argument
254 this->addResource(srcImage->resource()); in copyImageToBuffer()
257 srcImage->textureImage(), in copyImageToBuffer()
DGrVkCommandBuffer.h118 GrVkImage* srcImage,
126 GrVkImage* srcImage,
/external/mesa3d/src/mesa/main/
Dmipmap.c1885 const struct gl_texture_image *srcImage, in generate_mipmap_uncompressed() argument
1892 _mesa_format_to_type_and_comps(srcImage->TexFormat, &datatype, &comps); in generate_mipmap_uncompressed()
1896 struct gl_texture_image *srcImage, *dstImage; in generate_mipmap_uncompressed() local
1907 srcImage = _mesa_select_tex_image(ctx, texObj, target, level); in generate_mipmap_uncompressed()
1908 ASSERT(srcImage); in generate_mipmap_uncompressed()
1909 srcWidth = srcImage->Width; in generate_mipmap_uncompressed()
1910 srcHeight = srcImage->Height; in generate_mipmap_uncompressed()
1911 srcDepth = srcImage->Depth; in generate_mipmap_uncompressed()
1912 border = srcImage->Border; in generate_mipmap_uncompressed()
1922 border, srcImage->InternalFormat, in generate_mipmap_uncompressed()
[all …]
/external/opencv/cvaux/src/
Dcvtexture.cpp82 cvCreateGLCM( const IplImage* srcImage, in cvCreateGLCM() argument
105 if( !srcImage ) in cvCreateGLCM()
108 if( srcImage->nChannels != 1 ) in cvCreateGLCM()
111 if( srcImage->depth != IPL_DEPTH_8U ) in cvCreateGLCM()
123 cvGetImageRawData( srcImage, &srcImageData, &srcImageStep, &srcImageSize ); in cvCreateGLCM()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp1658 const ImageInfo& srcImage,
1687 , srcImage (NULL) in State()
1695 delete srcImage; in ~State()
1701 glu::ObjectWrapper* srcImage; member
1717 const ImageInfo& srcImage, in CopyImageTest() argument
1722 , m_srcImageInfo (srcImage) in CopyImageTest()
1804 DE_ASSERT(!m_state->srcImage); in createImagesIter()
1807 m_state->srcImage = new glu::ObjectWrapper(gl, getObjectTraits(m_srcImageInfo)); in createImagesIter()
1811 glu::ObjectWrapper& srcImage = *m_state->srcImage; in createImagesIter() local
1818 genImage(gl, rng, *srcImage, srcImageLevels, m_srcImageInfo, moreRestrictiveFormat); in createImagesIter()
[all …]
/external/vulkan-validation-layers/layers/
Dimage.cpp653 vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkIma… in vkCmdCopyImage() argument
657 auto srcImageEntry = device_data->imageMap.find(srcImage); in vkCmdCopyImage()
731 …device_data->device_dispatch_table->CmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage… in vkCmdCopyImage()
771 … VKAPI_ATTR void VKAPI_CALL vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, in vkCmdCopyImageToBuffer() argument
798 …device_data->device_dispatch_table->CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, … in vkCmdCopyImageToBuffer()
836 vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkIma… in vkCmdBlitImage() argument
841 auto srcImageEntry = device_data->imageMap.find(srcImage); in vkCmdBlitImage()
953 …device_data->device_dispatch_table->CmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage… in vkCmdBlitImage()
987 vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, Vk… in vkCmdResolveImage() argument
991 auto srcImageEntry = device_data->imageMap.find(srcImage); in vkCmdResolveImage()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl485 void DeviceDriver::cmdCopyImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout src… argument
487 …m_vk.cmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, …
490 void DeviceDriver::cmdBlitImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout src… argument
492 …m_vk.cmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, …
500 void DeviceDriver::cmdCopyImageToBuffer (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLa… argument
502 …m_vk.cmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegion…
530 void DeviceDriver::cmdResolveImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout … argument
532 …m_vk.cmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCoun…
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp6339 VkImage srcImage; in TEST_F() local
6361 vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
6378 vkGetImageMemoryRequirements(m_device->device(), srcImage, &memReqs); in TEST_F()
6394 err = vkBindImageMemory(m_device->device(), srcImage, srcMem, 0); in TEST_F()
6418 m_commandBuffer->CopyImage(srcImage, VK_IMAGE_LAYOUT_GENERAL, dstImage, in TEST_F()
6428 vkDestroyImage(m_device->device(), srcImage, NULL); in TEST_F()
6450 VkImage srcImage; in TEST_F() local
6472 vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
6490 vkGetImageMemoryRequirements(m_device->device(), srcImage, &memReqs); in TEST_F()
6506 err = vkBindImageMemory(m_device->device(), srcImage, srcMem, 0); in TEST_F()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DTextureUnpacker.java137 BufferedImage srcImage = page.getSubimage(region.left, region.top, region.height, region.width); in extractImage() local
144 op.filter(srcImage, splitImage); in extractImage()

123