/external/skia/src/core/ |
H A D | SkMask.cpp | 52 void SkMask::FreeImage(void* image) { argument 54 if (image) { 58 sk_free(image);
|
/external/skia/tests/ |
H A D | SkImageTest.cpp | 17 SkAutoTUnref<SkImage> image; local 30 image.reset(SkNewImageFromBitmap(dstBitmap, true, NULL)); 38 canvas.drawImage(image, 0, 0, NULL);
|
/external/vboot_reference/scripts/image_signing/ |
H A D | convert_recovery_to_ssd.sh | 7 # Script to convert a recovery image into an SSD image. Changes are made in- 12 Usage: $PROG <image> [--force] [--cgpt=/path/to/cgpt] 14 In-place converts recovery <image> into an SSD image. With --force, does not 52 echo "This will modify ${IMAGE} in-place and convert it into an SSD image." 74 # Unmount before overwriting image to avoid sync issues. 82 echo "${IMAGE} was converted to an SSD image."
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
H A D | TextureHelper.java | 35 import java.awt.image.BufferedImage;
36 import java.awt.image.ColorConvertOp;
169 Structure image = pImage.fetchData(blenderContext.getInputStream()).get(0);
170 result = this.getTextureFromImage(image, blenderContext);
266 Image image = sources.get(j).getImage();
267 ByteBuffer sourceData = image.getData(0);
270 sourcePixel.fromImage(image.getFormat(), sourceData, i);
273 sourcePixel.fromImage(image.getFormat(), sourceData, i);
303 Image image = source.getImage();
304 BufferedImage sourceImage = ImageToAwt.convert(image, fals 350 getHeight(BufferedImage image, int x, int y) argument 389 getTextureFromImage(Structure image, BlenderContext blenderContext) argument [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
H A D | BooleanPropertyEditor.java | 52 Image image = booleanValue ? m_trueImage : m_falseImage; 54 paint(gc, x, y, width, height, image, text); 63 private void paint(GC gc, int x, int y, int width, int height, Image image, String text) { argument 64 // draw image 66 DrawUtils.drawImageCV(gc, image, x, y, height); 68 int imageWidth = image.getBounds().width + 2; 84 // check that user clicked on image
|
/external/libvpx/libvpx/vp8/common/ |
H A D | textblit.c | 55 static void plot (const int x, const int y, unsigned char *image, const int pitch) argument 57 image [x+y*pitch] ^= 255; 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) argument 106 plot(y,x, image, pitch); 120 plot(x,y, image, pitch);
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_textblit.c | 27 static void plot(int x, int y, unsigned char *image, int pitch) { argument 28 image[x + y * pitch] ^= 255; 60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, argument 101 plot(y, x, image, pitch); 111 plot(x, y, image, pitch);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | api_images.c | 27 #include "image.h" 129 void vegaDestroyImage(VGImage image) argument 132 struct vg_image *img = handle_to_image(image); 134 if (image == VG_INVALID_HANDLE) { 138 if (!vg_object_is_valid(image, VG_OBJECT_IMAGE)) { 145 void vegaClearImage(VGImage image, argument 152 if (image == VG_INVALID_HANDLE) { 161 img = handle_to_image(image); 170 void vegaImageSubData(VGImage image, argument 180 if (image 198 vegaGetImageSubData(VGImage image, void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument 255 vegaGetParent(VGImage image) argument 294 vegaDrawImage(VGImage image) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | memory.cpp | 117 image::image(clover::context &ctx, cl_mem_flags flags, function in class:image 128 image::resource(cl_command_queue q) { 144 image::format() const { 149 image::width() const { 154 image::height() const { 159 image::depth() const { 164 image::row_pitch() const { 169 image::slice_pitch() const { 177 image(ct [all...] |
/external/ceres-solver/examples/ |
H A D | libmv_bundle_adjuster.cc | 45 // Markers' space could either be normalized or image (pixels). This is defined 46 // by the single character in the file. P means markers in the file is in image 80 // stored in image space and camera intrinsics will not be refined if markers 129 // viewing an image. 131 // image identifies which image this camera represents. 135 EuclideanCamera() : image(-1) {} 136 EuclideanCamera(const EuclideanCamera &c) : image(c.image), R(c.R), t(c.t) {} 138 int image; member in struct:__anon508::EuclideanCamera 160 int image; member in struct:__anon508::Marker 203 CameraForImage(vector<EuclideanCamera> *all_cameras, const int image) argument 215 CameraForImage( const vector<EuclideanCamera> &all_cameras, const int image) argument [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
H A D | DesignerPlugin.java | 42 * like logging. For things like image loading, it has its own local code such that 43 * it can find its image resources locally instead of requiring the embedding plugin 80 for (Image image : sImageCache.values()) { 81 image.dispose(); 207 Image image = sImageCache.get(path); 208 if (image == null) { 211 image = descriptor.createImage(); 213 sImageCache.put(path, image); 215 return image;
|
/external/skia/src/image/ |
H A D | SkSurface.cpp | 82 SkImage* image = this->newImageSnapshot(kYes_Budgeted); local 83 if (image) { 84 canvas->drawImage(image, x, y, paint); 85 image->unref(); 96 // the cached image. Note: we only call if there is an outstanding owner 97 // on the image (besides us). 102 // regardless of copy-on-write, we must drop our cached image now, so 155 SkImage* image = asSB(this)->getCachedImage(budgeted); local 156 SkSafeRef(image); // the caller will call unref() to balance this 157 return image; [all...] |
/external/libpng/ |
H A D | pngwrite.c | 77 * after the image data, put it in png_write_end(). I strongly encourage 552 /* Write a few rows of image data. If the image is interlaced, 555 * "write" the image seven times. 576 /* Write the image. You only need to call this function once, even 577 * if you are writing an interlaced image. 580 png_write_image(png_structrp png_ptr, png_bytepp image) argument 592 /* Initialize interlace handling. If image is not interlaced, 602 /* Loop through image */ 603 for (i = 0, rp = image; 1669 png_image_write_init(png_imagep image) argument 1709 png_imagep image; member in struct:__anon9092 1729 png_imagep image = display->image; local 1886 png_imagep image = display->image; local 1980 const png_imagep image = display->image; local 2128 png_imagep image = display->image; local 2320 png_image_write_to_stdio(png_imagep image, FILE *file, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument 2369 png_image_write_to_file(png_imagep image, const char *file_name, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument [all...] |
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_pngwrite.c | 76 * after the image data, put it in png_write_end(). I strongly encourage
551 /* Write a few rows of image data. If the image is interlaced,
554 * "write" the image seven times.
575 /* Write the image. You only need to call this function once, even
576 * if you are writing an interlaced image.
579 png_write_image(png_structrp png_ptr, png_bytepp image)
argument 591 /* Initialize interlace handling. If image is not interlaced,
601 /* Loop through image */
602 for (i = 0, rp = image; 1567 png_image_write_init(png_imagep image) argument 1607 png_imagep image; member in struct:__anon13368 1627 png_imagep image = display->image; local 1782 png_imagep image = display->image; local 1874 const png_imagep image = display->image; local 2021 png_imagep image = display->image; local 2213 png_image_write_to_stdio(png_imagep image, FILE *file, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument 2262 png_image_write_to_file(png_imagep image, const char *file_name, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument [all...] |
/external/lldb/examples/python/ |
H A D | crashlog.py | 330 image = CrashLog.DarwinImage (int(image_match.group(1),0), 336 self.images.append (image) 340 image = CrashLog.DarwinImage (int(image_match.group(1),0), 346 self.images.append (image) 348 print "error: image regex failed for: %s" % line 370 for image in self.images: 371 image.dump(' ') 374 for image in self.images: 375 if image.identifier == identifier: 376 return image [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
H A D | dri2.c | 420 __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; 584 dri2_query_image(__DRIimage *image, int attrib, int *value) argument 591 image->texture->screen->resource_get_handle(image->texture->screen, 592 image->texture, &whandle); 597 image->texture->screen->resource_get_handle(image->texture->screen, 598 image->texture, &whandle); 603 image->texture->screen->resource_get_handle(image 627 dri2_dup_image(__DRIimage *image, void *loaderPrivate) argument 647 dri2_validate_usage(__DRIimage *image, unsigned int use) argument 711 dri2_from_planar(__DRIimage *image, int plane, void *loaderPrivate) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.c | 122 * image (determined by \p face and \p level). 124 * \param curOffset points to the offset at which the image is to be stored 125 * and is updated by this function according to the size of the image. 297 * Checks whether the given miptree can hold the given texture image at the 375 radeon_warning("%s(%p) No image in given texture object(%p).\n", 400 * Ensure that the given image is stored in the given miptree from now on. 403 radeon_texture_image *image, 409 assert(image->mt != mt); 411 assert(dstlvl->width == image->base.Base.Width); 412 assert(dstlvl->height == image 402 migrate_image_to_miptree(radeon_mipmap_tree *mt, radeon_texture_image *image, int face, int level) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_mipmap_tree.c | 122 * image (determined by \p face and \p level). 124 * \param curOffset points to the offset at which the image is to be stored 125 * and is updated by this function according to the size of the image. 297 * Checks whether the given miptree can hold the given texture image at the 375 radeon_warning("%s(%p) No image in given texture object(%p).\n", 400 * Ensure that the given image is stored in the given miptree from now on. 403 radeon_texture_image *image, 409 assert(image->mt != mt); 411 assert(dstlvl->width == image->base.Base.Width); 412 assert(dstlvl->height == image 402 migrate_image_to_miptree(radeon_mipmap_tree *mt, radeon_texture_image *image, int face, int level) argument [all...] |
/external/skia/src/views/unix/ |
H A D | SkOSWindow_Unix.cpp | 385 static bool convertBitmapToXImage(XImage& image, const SkBitmap& bitmap) { argument 386 sk_bzero(&image, sizeof(image)); 389 image.width = bitmap.width(); 390 image.height = bitmap.height(); 391 image.format = ZPixmap; 392 image.data = (char*) bitmap.getPixels(); 393 image.byte_order = LSBFirst; 394 image.bitmap_unit = bitsPerPixel; 395 image 416 XImage image; local [all...] |
/external/skia/bench/DATA/skia_resources/ |
H A D | test.lua | 8 local image -- = Sk.loadImage('/skia/sailboat.jpg'); 10 image = Sk.loadImage(filename) 68 r2.right = r2.left + image:width() * 1; 69 r2.bottom = r2.top + image:height() * 1; 70 canvas:drawImageRect(image, nil, r2, 0.75);
|
/external/skia/dm/DATA/skia_resources/ |
H A D | test.lua | 8 local image -- = Sk.loadImage('/skia/sailboat.jpg'); 10 image = Sk.loadImage(filename) 68 r2.right = r2.left + image:width() * 1; 69 r2.bottom = r2.top + image:height() * 1; 70 canvas:drawImageRect(image, nil, r2, 0.75);
|
/external/skia/gm/DATA/skia_resources/ |
H A D | test.lua | 8 local image -- = Sk.loadImage('/skia/sailboat.jpg'); 10 image = Sk.loadImage(filename) 68 r2.right = r2.left + image:width() * 1; 69 r2.bottom = r2.top + image:height() * 1; 70 canvas:drawImageRect(image, nil, r2, 0.75);
|
/external/skia/resources/ |
H A D | test.lua | 8 local image -- = Sk.loadImage('/skia/sailboat.jpg'); 10 image = Sk.loadImage(filename) 68 r2.right = r2.left + image:width() * 1; 69 r2.bottom = r2.top + image:height() * 1; 70 canvas:drawImageRect(image, nil, r2, 0.75);
|
/external/skia/tools/skpdiff/ |
H A D | diff_viewer.js | 18 var image = new Image(); 25 // When the type attribute changes, load the image and then render 29 image.src = scope.record.differencePath; 33 image.src = scope.record.baselinePath; 37 image.src = scope.record.testPath; 45 image.onload = function() { 46 // compute the scaled image width/height for image and canvas 48 // Make it so the maximum size of an image is MAX_SWAP_IMG_SIZE, 50 while ((image [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
H A D | DrawUtils.java | 74 * Draws image at given <code>x</code> and centered vertically. 76 public static final void drawImageCV(GC gc, Image image, int x, int y, int height) { argument 77 if (image != null) { 78 Rectangle imageBounds = image.getBounds(); 79 gc.drawImage(image, x, y + (height - imageBounds.height) / 2); 84 * Draws image at given <code>x</code> and centered vertically. 86 public static final void drawImageCHCV(GC gc, Image image, int x, int y, int width, int height) { argument 87 if (image != null) { 88 Rectangle imageBounds = image.getBounds(); 91 gc.drawImage(image, 100 drawScaledImage(GC gc, Image image, Rectangle targetRectangle) argument 225 getThubmnail(Image image, int minWidth, int minHeight, int maxWidth, int maxHeight) argument [all...] |