/external/skia/src/image/ |
H A D | SkSurface.cpp | 36 SkImage* image = this->newImageSnapshot(); local 37 if (image) { 38 image->draw(canvas, x, y, paint); 39 image->unref(); 50 // the cached image. Note: we only call if there is an outstanding owner 51 // on the image (besides us). 56 // regardless of copy-on-write, we must drop our cached image now, so 108 SkImage* image = asSB(this)->getCachedImage(); local 109 SkSafeRef(image); // the caller will call unref() to balance this 110 return image; [all...] |
/external/ceres-solver/examples/ |
H A D | denoising.cc | 55 DEFINE_string(input, "", "File to which the output image should be written"); 57 DEFINE_string(output, "", "File to which the output image should be written"); 90 const PGMImage<double>& image, 96 for (unsigned index = 0; index < image.NumPixels(); ++index) { 99 image.PixelFromLinearIndex(index)); 114 // Add FoE regularization for each patch in the image. 115 for (int x = 0; x < image.width() - (foe.Size() - 1); ++x) { 116 for (int y = 0; y < image.height() - (foe.Size() - 1); ++y) { 176 usage("This program denoises an image using Ceres. Sample usage:\n"); 178 usage += " --input=<noisy image PG 89 CreateProblem(const FieldsOfExperts& foe, const PGMImage<double>& image, Problem* problem, PGMImage<double>* solution) argument [all...] |
/external/chromium_org/chrome/browser/resources/local_ntp/ |
H A D | most_visited_thumbnail.js | 39 // Creates and adds an image. 41 var image = document.createElement('img'); 42 image.onload = function() { 48 link.appendChild(image); 51 image.onerror = function() { 61 image.src = src;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | BitmapImageTest.cpp | 166 RefPtr<BitmapImage> image = BitmapImage::create(); local 167 EXPECT_FALSE(image->isAllDataReceived()); 169 image->setData(imageData, false); 170 EXPECT_FALSE(image->isAllDataReceived()); 172 image->setData(imageData, true); 173 EXPECT_TRUE(image->isAllDataReceived()); 175 image->setData(SharedBuffer::create("data", sizeof("data")), false); 176 EXPECT_FALSE(image->isAllDataReceived()); 178 image->setData(imageData, true); 179 EXPECT_TRUE(image [all...] |
/external/libunwind/src/ia64/ |
H A D | Gfind_unwind_table.c | 39 Elf64_Ehdr *ehdr = edi->ei.image; 50 Elf64_Dyn *dyn = (Elf64_Dyn *) (pdyn->p_offset + (char *) edi->ei.image); 69 Debug (1, "section table outside of image? (%lu > %lu)", 75 shdr = (Elf64_Shdr *) ((char *) edi->ei.image + soff); 76 str_shdr = (Elf64_Shdr *) ((char *) edi->ei.image + str_soff); 77 strtab = (char *) edi->ei.image + str_shdr->sh_offset; 83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1]; 90 Debug (16, "image at %p, gp = %lx\n", edi->ei.image, gp); 106 ehdr = edi->ei.image; [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_parse_proc.c | 47 struct opd_image * image; local 75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid); 76 if (!image) 79 opd_add_mapping(proc, image, start, offset, end); 117 verbprintf(vmisc, "image name %s for pid %u %u\n", image_name, proc->tid, proc->tgid); 128 /* dae assume than the first map added is the primary image name, this 130 * the primary image name 134 if (!strcmp(map->image->name, image_name)) { 136 fprintf(stderr, "swap map for image %s from %s to %s\n", image_name, proc->name, map->image 152 struct opd_image * image = opd_get_image(image_name, local [all...] |
H A D | opd_kernel.c | 32 struct opd_image * image; member in struct:opd_module 84 module->image = NULL; 137 * to this file which allows determination of the module image 143 * Currently the image file "objectfile" is stored, and details of 229 mod->image = opd_get_kernel_image(filename, NULL, 0, 0); 230 mod->image->ref_count++; 319 * caller must check than the module image is valid 366 if (module->image != NULL) { 368 opd_put_image_sample(module->image, 372 verbprintf(vmodule, "No image fo 414 struct opd_image * image; local [all...] |
/external/pixman/demos/ |
H A D | gtk-utils.c | 10 pixman_image_t *image; local 21 image = NULL; 64 image = pixman_image_create_bits ( 69 return image; 128 show_image (pixman_image_t *image) argument 144 width = pixman_image_get_width (image); 145 height = pixman_image_get_height (image); 149 format = pixman_image_get_format (image); 151 /* We always display the image as if it contains sRGB data. That 152 * means that no conversion should take place when the image [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/css/ |
H A D | gallery.css | 43 background-image: -webkit-image-set( 63 .gallery .image-container { 70 .gallery[tools] .image-container[cursor='default'] { 74 .gallery[tools] .image-container[cursor='move'] { 75 cursor: -webkit-image-set( 80 .gallery[tools] .image-container[cursor='crop'] { 81 cursor: -webkit-image-set( 86 .gallery[tools] .image-container[cursor='n-resize'], 87 .gallery[tools] .image [all...] |
/external/chromium_org/ui/file_manager/gallery/css/ |
H A D | gallery.css | 43 background-image: -webkit-image-set( 63 .gallery .image-container { 70 .gallery[tools] .image-container[cursor='default'] { 74 .gallery[tools] .image-container[cursor='move'] { 75 cursor: -webkit-image-set( 80 .gallery[tools] .image-container[cursor='crop'] { 81 cursor: -webkit-image-set( 86 .gallery[tools] .image-container[cursor='n-resize'], 87 .gallery[tools] .image [all...] |
/external/chromium_org/ash/system/chromeos/virtual_keyboard/ |
H A D | virtual_keyboard_tray.cc | 19 #include "ui/gfx/image/image_skia.h" 57 const gfx::ImageSkia image = button_->GetImage( local 59 int top_padding = (kTrayBarButtonWidth - image.height()) / 2; 60 int left_padding = (kTrayBarButtonWidth - image.width()) / 2; 61 int bottom_padding = kTrayBarButtonWidth - image.height() - top_padding; 62 int right_padding = kTrayBarButtonWidth - image.width() - left_padding;
|
/external/chromium_org/chrome/browser/ui/android/ |
H A D | navigation_popup.cc | 23 #include "ui/gfx/image/image.h" 63 gfx::Image image(image_result.image); 64 if (image.IsEmpty()) { 66 image = rb.GetImageNamed(IDR_DEFAULT_FAVICON); 81 gfx::ConvertToJavaBitmap(image.ToSkBitmap()).obj());
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 60 /* If this image disrespects BaseLevel, allocate from level zero. 68 /* Figure out image dimensions at start level. */ 134 struct gl_texture_image *image, 138 struct intel_texture_image *intelImage = intel_texture_image(image); 152 DBG("%s: image transfer\n", __FUNCTION__); 163 ctx->Driver.AllocTextureImageBuffer(ctx, image); 178 src_stride = image->Width; 192 0, 0, dst_x, dst_y, image->Width, image 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument 338 __DRIimage *image; local [all...] |
/external/pixman/pixman/ |
H A D | pixman-radial-gradient.c | 242 pixman_image_t *image = iter->image; local 248 gradient_t *gradient = (gradient_t *)image; 249 radial_gradient_t *radial = (radial_gradient_t *)image; 259 _pixman_gradient_walker_init (&walker, gradient, image->common.repeat); 261 if (image->common.transform) 263 if (!pixman_transform_point_3d (image->common.transform, &v)) 266 unit.vector[0] = image->common.transform->matrix[0][0]; 267 unit.vector[1] = image->common.transform->matrix[1][0]; 268 unit.vector[2] = image 415 _pixman_radial_gradient_iter_init(pixman_image_t *image, pixman_iter_t *iter) argument 431 pixman_image_t *image; local [all...] |
/external/chromium_org/content/renderer/ |
H A D | image_loading_helper.cc | 31 // Proportionally resizes the |image| to fit in a box of size 33 SkBitmap ResizeImage(const SkBitmap& image, uint32_t max_image_size) { argument 35 return image; 36 uint32_t max_dimension = std::max(image.width(), image.height()); 38 return image; 39 // Proportionally resize the minimal image to fit in a box of size 42 image, 44 static_cast<uint64_t>(image.width()) * max_image_size / max_dimension, 45 static_cast<uint64_t>(image 74 const SkBitmap& image = *it; local [all...] |
/external/chromium_org/media/cast/receiver/ |
H A D | video_decoder.cc | 132 vpx_image_t* const image = vpx_codec_get_frame(&context_, &iter); variable 133 if (!image) 135 if (image->fmt != VPX_IMG_FMT_I420 && image->fmt != VPX_IMG_FMT_YV12) { 142 const gfx::Size frame_size(image->d_w, image->d_h); 150 CopyYPlane(image->planes[VPX_PLANE_Y], 151 image->stride[VPX_PLANE_Y], 152 image->d_h, 154 CopyUPlane(image [all...] |
/external/oprofile/libpp/ |
H A D | locate_images.cpp | 133 string image = op_realpath(archive_path + image_name); local 134 if (op_file_readable(image)) { 136 return fixup ? image : image_name; 150 string image = op_realpath(root_path + image_name); local 151 if (op_file_readable(image)) { 153 return fixup ? image : image_name; 166 string const image = locate_image(image_name, error, fixup); local 168 return image; 170 string const base = op_basename(image); 190 // library in the image pat [all...] |
/external/libpng/ |
H A D | pngread.c | 87 /* Read the information before the actual image data. This has been 618 /* Read one or more rows of image data. If the image is interlaced, 621 * image has alpha or transparency, and png_handle_alpha()[*] has been 625 * "row" holds the actual image, and pixels are placed in it 626 * as they arrive. If the image is displayed after each pass, it will 628 * "chunky" progressive image, with finer detail added as it becomes 632 * If you have called png_handle_alpha(), and the image has either an 635 * also, but you may. If the image is not interlaced, or if you have 826 /* Read the entire image 839 png_read_image(png_structrp png_ptr, png_bytepp image) argument 1411 png_imagep image; member in struct:__anon23824 1431 png_image_read_init(png_imagep image) argument 1534 png_imagep image = png_voidcast(png_imagep, argument); local 1595 png_image_begin_read_from_stdio(png_imagep image, FILE* file) argument 1625 png_image_begin_read_from_file(png_imagep image, const char *file_name) argument 1668 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); local 1693 png_image_begin_read_from_memory(png_imagep image, png_const_voidp memory, png_size_t size) argument 1888 png_imagep image = display->image; local 2212 const png_imagep image = display->image; local 3053 png_imagep image = display->image; local 3242 png_imagep image = display->image; local 3375 png_imagep image = display->image; local 3501 png_imagep image = display->image; local 3779 png_imagep image = display->image; local 4201 png_image_finish_read(png_imagep image, png_const_colorp background, void *buffer, png_int_32 row_stride, void *colormap) argument [all...] |
/external/chromium_org/ui/webui/resources/css/ |
H A D | tree.css | 27 background-image: -webkit-canvas(tree-triangle); 46 background-image: -webkit-canvas(tree-triangle); 76 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), 118 background-image: -webkit-image-set( 124 background-image: -webkit-image-set( 131 background-image: none !important; 136 background-image: none; 141 background-image [all...] |
/external/chromium_org/ppapi/examples/2d/ |
H A D | graphics_2d_example.c | 64 PP_Resource image, graphics; local 69 /* Create image data to paint into. */ 70 image = g_image_data_interface->Create( 72 if (!image) 74 g_image_data_interface->Describe(image, &image_desc); 76 /* Fill the image with blue. */ 77 image_data = (uint32_t*)g_image_data_interface->Map(image); 79 g_core_interface->ReleaseResource(image); 86 /* Create the graphics 2d and paint the image to it. */ 89 g_core_interface->ReleaseResource(image); [all...] |