/external/skia/tests/ |
H A D | RecorderTest.cpp | 75 sk_sp<SkImage> image; local 79 image = surface->makeImageSnapshot(); 86 recorder.drawImage(image, 0, 0); 87 REPORTER_ASSERT(reporter, !image->unique()); 94 REPORTER_ASSERT(reporter, image->unique()); 101 recorder.drawImageRect(image, SkRect::MakeWH(100, 100), nullptr); 102 REPORTER_ASSERT(reporter, !image->unique()); 109 REPORTER_ASSERT(reporter, image->unique());
|
H A D | SkImageTest.cpp | 17 sk_sp<SkImage> image; local 29 image = SkImage::MakeFromBitmap(dstBitmap); 36 canvas.drawImage(image, 0, 0, nullptr);
|
/external/skia/tools/ |
H A D | create_flutter_test_images.cpp | 39 sk_sp<SkImage> image = GetResourceAsImage("images/flutter_logo.jpg"); local 40 if (!image) { 45 // Encode an image with a gbr color space. 46 SkImageInfo info = SkImageInfo::MakeN32(image->width(), image->height(), kOpaque_SkAlphaType, 49 SkAutoTMalloc<uint8_t> storage(rowBytes * image->height()); 51 image->readPixels(src, 0, 0, SkImage::kDisallow_CachingHint); 57 // Encode an image with steep transfer function. 59 image->readPixels(src, 0, 0, SkImage::kDisallow_CachingHint); 63 // Encode a wide gamut image [all...] |
/external/skqp/gm/ |
H A D | bitmapimage.cpp | 22 return SkString("bitmap-image-srgb-legacy"); 30 // Create image. 32 sk_sp<SkImage> image = GetResourceAsImage(path); variable 33 if (!image) { 45 // The top two squares show an sRGB image, then bitmap, drawn to a legacy canvas. 50 legacyCanvas.drawImage(image, 0.0f, 0.0f, nullptr); 56 // The bottom two squares show an sRGB image, then bitmap, drawn to a srgb canvas. 61 srgbCanvas.drawImage(image, 0.0f, 0.0f, nullptr);
|
H A D | imageblurclampmode.cpp | 30 static void draw_image(SkCanvas* canvas, const sk_sp<SkImage> image, sk_sp<SkImageFilter> filter) { argument 36 canvas->clipRect(SkRect::MakeIWH(image->width(),image->height())); 37 canvas->drawImage(image, 0, 0, &paint); 63 sk_sp<SkImage> image(make_image(canvas)); 73 draw_image(canvas, image, std::move(filter)); 74 canvas->translate(image->width() + 20, 0); 78 draw_image(canvas, image, std::move(filter)); 79 canvas->translate(image->width() + 20, 0); 83 draw_image(canvas, image, st [all...] |
H A D | imagefiltersgraph.cpp | 168 static void DrawClippedImage(SkCanvas* canvas, const SkImage* image, const SkPaint& paint) { argument 170 canvas->clipRect(SkRect::MakeIWH(image->width(), image->height())); 171 canvas->drawImage(image, 0, 0, &paint);
|
H A D | imagemasksubset.cpp | 78 sk_sp<SkImage> image = makers[i](canvas, info); local 79 if (image) { 80 canvas->drawImageRect(image, SkRect::Make(kSubset), kDest, &paint); 81 sk_sp<SkImage> subset = image->makeSubset(kSubset);
|
H A D | localmatriximagefilter.cpp | 29 static void show_image(SkCanvas* canvas, SkImage* image, sk_sp<SkImageFilter> filter) { argument 32 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, 38 canvas->drawImage(image, 0, 0, &paint);
|
/external/skqp/include/private/ |
H A D | SkDeferredDisplayList.h | 33 SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, sk_sp<SkImage> image) argument 35 , fImage(std::move(image)) {
|
/external/skqp/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.h | 49 GrSimpleTextureEffect(sk_sp<GrTextureProxy> image, SkMatrix44 matrix, argument 53 (GrPixelConfigIsOpaque(image->config()) 56 , fImage(std::move(image), samplerParams)
|
/external/skqp/src/gpu/vk/ |
H A D | GrVkImageView.cpp | 12 const GrVkImageView* GrVkImageView::Create(const GrVkGpu* gpu, VkImage image, VkFormat format, argument 21 image, // image
|
/external/skqp/tests/ |
H A D | RecorderTest.cpp | 75 sk_sp<SkImage> image; local 79 image = surface->makeImageSnapshot(); 86 recorder.drawImage(image, 0, 0); 87 REPORTER_ASSERT(reporter, !image->unique()); 94 REPORTER_ASSERT(reporter, image->unique()); 101 recorder.drawImageRect(image, SkRect::MakeWH(100, 100), nullptr); 102 REPORTER_ASSERT(reporter, !image->unique()); 109 REPORTER_ASSERT(reporter, image->unique());
|
H A D | SkImageTest.cpp | 17 sk_sp<SkImage> image; local 29 image = SkImage::MakeFromBitmap(dstBitmap); 36 canvas.drawImage(image, 0, 0, nullptr);
|
/external/skqp/tools/ |
H A D | create_flutter_test_images.cpp | 39 sk_sp<SkImage> image = GetResourceAsImage("images/flutter_logo.jpg"); local 40 if (!image) { 45 // Encode an image with a gbr color space. 46 SkImageInfo info = SkImageInfo::MakeN32(image->width(), image->height(), kOpaque_SkAlphaType, 49 SkAutoTMalloc<uint8_t> storage(rowBytes * image->height()); 51 image->readPixels(src, 0, 0, SkImage::kDisallow_CachingHint); 57 // Encode an image with steep transfer function. 59 image->readPixels(src, 0, 0, SkImage::kDisallow_CachingHint); 63 // Encode a wide gamut image [all...] |
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
H A D | FreePages.c | 81 efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) argument 96 InitializeLib(image, systab); 98 efi_status = uefi_call_wrapper( BS->HandleProtocol, 3, image,
|
/external/syslinux/gpxe/src/image/ |
H A D | elf.c | 24 * ELF image format 26 * A "pure" ELF image is not a bootable image. There are various 35 #include <gpxe/image.h> 45 * @v image ELF file 50 static int elf_load_segment ( struct image *image, Elf_Phdr *phdr, argument 61 /* Check segment lies within image */ 62 if ( ( phdr->p_offset + phdr->p_filesz ) > image->len ) { 63 DBGC ( image, "EL [all...] |
/external/syslinux/gpxe/src/usr/ |
H A D | imgmgmt.c | 25 #include <gpxe/image.h> 39 * Fetch an image 42 * @v name Name for image, or NULL 46 int imgfetch ( struct image *image, const char *uri_string, argument 47 int ( * image_register ) ( struct image *image ) ) { 57 image_set_uri ( image, uri ); 67 if ( ( rc = create_downloader ( &monojob, image, image_register, 76 * Load an image 107 struct image *image; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | encode_jpeg_op.cc | 31 // Encode an image to a JPEG stream 78 const Tensor& image = context->input(0); variable 79 OP_REQUIRES(context, image.dims() == 3, 80 errors::InvalidArgument("image must be 3-dimensional", 81 image.shape().DebugString())); 85 FastBoundsCheck(image.NumElements(), std::numeric_limits<int32>::max()), 89 const int32 dim_size0 = static_cast<int32>(image.dim_size(0)); 90 const int32 dim_size1 = static_cast<int32>(image.dim_size(1)); 91 const int32 dim_size2 = static_cast<int32>(image.dim_size(2)); 94 // image channel [all...] |
H A D | encode_png_op.cc | 31 // Encode an image to a PNG stream 43 "image must have type uint8 or uint16, got ", dt)); 53 const Tensor& image = context->input(0); variable 54 OP_REQUIRES(context, image.dims() == 3, 55 errors::InvalidArgument("image must be 3-dimensional", 56 image.shape().DebugString())); 59 FastBoundsCheck(image.NumElements(), std::numeric_limits<int32>::max()), 60 errors::InvalidArgument("image cannot have >= int32 max elements")); 61 const int32 height = static_cast<int32>(image.dim_size(0)); 62 const int32 width = static_cast<int32>(image [all...] |
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/ |
H A D | Programmer.java | 35 private FirmwareImage image; field in class:Programmer 48 image = new FirmwareImage(); 50 image.parseHex(in); 82 if (!image.shouldWrite(addr, DeviceConstants.BLOCK_SIZE) && addr != 0) 89 image.getData(buf, 64, addr, DeviceConstants.BLOCK_SIZE);
|
/external/ImageMagick/Magick++/lib/ |
H A D | ImageRef.cpp | 39 // Deallocate image 43 // Deallocate image options 66 MagickCore::Image *&Magick::ImageRef::image(void) function in class:Magick::ImageRef 109 // We can replace the image if we own it. 118 // We don't own the image, create a new ImageRef instance. 131 // Re-calculate image signature if necessary
|
/external/ImageMagick/MagickCore/ |
H A D | colormap.c | 59 #include "MagickCore/image-private.h" 87 % AcquireImageColormap() allocates an image colormap and initializes 88 % it to a linear gray colorspace. If the image already has a colormap, 94 % MagickBooleanType AcquireImageColormap(Image *image,const size_t colors, 99 % o image: the image. 101 % o colors: the number of colors in the image colormap. 106 MagickExport MagickBooleanType AcquireImageColormap(Image *image, 113 Allocate image colormap. 115 assert(image ! 104 AcquireImageColormap(Image *image, const size_t colors,ExceptionInfo *exception) argument 179 CycleColormapImage(Image *image, const ssize_t displace,ExceptionInfo *exception) argument 289 SortColormapByIntensity(Image *image, ExceptionInfo *exception) argument [all...] |
/external/ImageMagick/MagickWand/ |
H A D | conjure.c | 36 % The conjure program gives you the ability to perform custom image processing 39 % reading an image, processing an image, getting attributes from an image, 40 % writing an image, and more. An attribute is a key/value pair that modifies 66 % more image files. It will also report if an image is incomplete or corrupt. 68 % width and height of the image, whether the image is colormapped or not, 69 % the number of colors in the image, th 160 *image; local [all...] |
H A D | mogrify-private.h | 28 AppendImageToList(&image_stack[k].image,images); \ 29 image=image_stack[k].image; \ 35 image_stack[k].image=DestroyImageList(image_stack[k].image); \ 39 #define FinalizeImageSettings(image_info,image,advance) \ 42 if (image != (Image *) NULL) \ 43 (void) SyncImagesSettings(image_info,image,exception); \ 49 if (image_stack[k].image == (Image *) NULL) \ 56 (i-j+1),(const char **) (argv+j),&image_stack[k].image, \ 119 *image; member in struct:_ImageStack [all...] |
/external/ImageMagick/coders/ |
H A D | aai.c | 51 #include "MagickCore/image.h" 52 #include "MagickCore/image-private.h" 84 % ReadAAIImage() reads an AAI Dune image file and returns it. It 86 % pointer to the new image. 94 % o image_info: the image info. 102 *image; 129 Open image file. 138 image=AcquireImage(image_info,exception); 139 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); 142 image 99 *image; local 323 WriteAAIImage(const ImageInfo *image_info,Image *image, ExceptionInfo *exception) argument [all...] |