/external/skia/src/utils/ |
H A D | SkDeferredCanvas.cpp | 35 static uint64_t image_area(const SkImage* image) { argument 36 return sk_64_mul(image->width(), image->height()); 41 // Work around case where Blink gives us an image, but will "mutate" it (by changing its contents 45 static bool should_draw_gpu_image_immediately(const SkImage* image) { argument 46 return image->getTexture() != NULL; 49 static bool should_draw_immediately(const SkBitmap* bitmap, const SkImage* image, argument 55 if (image) { 56 if (should_draw_gpu_image_immediately(image) || image_area(image) > bitmapSizeThreshol 510 AutoImmediateDrawIfNeeded(SkDeferredCanvas& canvas, const SkImage* image, const SkPaint* paint) argument 525 init(SkDeferredCanvas& canvas, const SkBitmap* bitmap, const SkImage* image, const SkPaint* paint) argument 869 onDrawImage(const SkImage* image, SkScalar x, SkScalar y, const SkPaint* paint) argument 883 onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, const SkPaint* paint) argument [all...] |
/external/skia/src/codec/ |
H A D | SkCodec_libgif.cpp | 18 * Checks the start of the stream to see if the image is a gif 82 * This function free extension data that has been saved to assist the image 85 void SkGifCodec::FreeExtension(SavedImage* image) { argument 86 if (NULL != image->ExtensionBlocks) { 88 FreeExtension(image); 90 GifFreeExtensions(&image->ExtensionBlockCount, &image->ExtensionBlocks); 98 static uint32_t find_trans_index(const SavedImage& image) { argument 102 for (int32_t i = image.ExtensionBlockCount - 1; i >= 0; i--) { 104 const ExtensionBlock& extBlock = image 302 SavedImage* image = &fGif->SavedImages[fGif->ImageCount - 1]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
H A D | transfer.cpp | 305 image *img = dynamic_cast<image *>(obj); 335 image *img = dynamic_cast<image *>(obj); 365 image *src_img = dynamic_cast<image *>(src_obj); 366 image *dst_img = dynamic_cast<image *>(dst_obj); 389 image *src_img = dynamic_cast<image *>(src_ob [all...] |
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | AnimatedGifEncoder.java | 44 private int width; // image size 60 private Bitmap image; // current frame field in class:AnimatedGifEncoder 113 * 1; 0 means play indefinitely. Must be invoked before the first image is 143 * <code>setSize</code> was not invoked, the size of the first image is used 160 image = im; 172 writeImageDesc(); // image descriptor 207 image = null; 308 * Analyzes image colors and creates color map. 324 // map image pixels to new palette 371 * Extracts image pixel [all...] |
/external/jpeg/ |
H A D | rdrle.c | 48 * For now, we ignore any alpha channel in the image. 56 * Since RLE stores scanlines bottom-to-top, we have to invert the image 58 * incoming image into a virtual array on the first get_pixel_rows call, 68 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 77 * Read the file header; return image size and component count. 163 /* request a virtual array to hold the image */ 164 source->image = (*cinfo->mem->request_virt_sarray) 182 * Called only after load_image has read the image into the virtual array. 193 ((j_common_ptr) cinfo, source->image, sourc [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | shader.c | 33 #include "image.h" 50 struct vg_image *image; member in struct:shader 146 /* no blending is required if the paints and the image are opaque */ 151 util_format_has_alpha(shader->image->sampler_view->format); 198 * 3 - image sampler/texture 214 if (shader->drawing_image && shader->image) 215 num += image_bind_samplers(shader->image, samplers, sampler_views); 227 if (shader->drawing_image && shader->image) { 228 if (shader->image->format == VG_BW_1) 267 /* second stage image */ [all...] |
H A D | image.h | 59 void image_sub_data(struct vg_image *image, 66 void image_get_sub_data(struct vg_image * image,
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_unwind_table.c | 69 Debug(1, "Failed to read dwarf_eh_frame_hdr from in memory elf image.\n"); 274 ehdr = ei->u.mapped.image; 275 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 294 if ((uintptr_t) ei->u.mapped.image + phdr->p_filesz > max_load_addr) 295 max_load_addr = (uintptr_t) ei->u.mapped.image + phdr->p_filesz; 335 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset + (char *) ei->u.mapped.image); 336 while ((char*) dyn - (char*) ei->u.mapped.image + sizeof(Elf_W(Dyn)) < ei->u.mapped.size 350 + (char *) ei->u.mapped.image); 419 + (addr - (uintptr_t) ei->u.mapped.image 428 + ((uintptr_t) hdr - (uintptr_t) ei->u.mapped.image [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
H A D | glX_XML.py | 210 image. 259 raise RuntimeError('Invalid number of dimensions %u for parameter "%s" in function "%s".' % (dim, self.image.name, self.name)) 500 for image in self.images: 501 if image.img_pad_dimensions: 502 if not image.height: 503 if p.name == image.width: 505 elif p.name == image.img_xoff: 507 elif not image.extent: 508 if p.name == image.depth: 511 elif p.name == image [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
H A D | VideoRecorderAppState.java | 14 import java.awt.image.BufferedImage; 97 BufferedImage image; field in class:VideoRecorderAppState.WorkItem 101 image = new BufferedImage(width, height, 130 Screenshots.convertScreenShot(item.buffer, item.image); 131 item.data = writer.writeImageToBytes(item.image);
|
H A D | MjpegFileWriter.java | 5 import java.awt.image.BufferedImage; 58 public void addImage(Image image) throws Exception { argument 59 addImage(writeImageToBytes(image)); 106 // // write 00db and image bytes... 381 // 00db size jpg image data ... 476 public byte[] writeImageToBytes(Image image) throws Exception { argument 478 if (image instanceof BufferedImage && ((BufferedImage) image).getType() == BufferedImage.TYPE_INT_RGB) { 479 bi = (BufferedImage) image; 483 g.drawImage(image, [all...] |
/external/libunwind/src/ |
H A D | elfxx.c | 118 Debug (1, "section table outside of image? (%lu > %lu)\n", 135 Debug (1, "string shdr table outside of image? (%lu > %lu)\n", 145 Debug (1, "string table outside of image? (%lu > %lu)\n", 272 // Functions to read elf data from the mapped elf image. 275 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; 278 Debug (1, "section table outside of image? (%lu > %lu)\n", 284 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); 288 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; 291 Debug (1, "string shdr table outside of image? (%lu > %lu)\n", 296 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image [all...] |
H A D | elfxx.h | 91 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; 92 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0 130 ei->u.mapped.image = mmap (NULL, ei->u.mapped.size, PROT_READ, MAP_PRIVATE, fd, 0); 132 if (ei->u.mapped.image == MAP_FAILED) { 138 munmap (ei->u.mapped.image, ei->u.mapped.size); 153 // Lock while loading the cached elf image. 159 // If the image cannot be loaded, we'll read data directly from
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_fbo.c | 572 __DRIimage *image; local 575 image = screen->dri2.image->lookupEGLImage(screen, image_handle, 577 if (image == NULL) 587 rrb->bo = image->bo; 589 fprintf(stderr, "image->bo: %p, name: %d, rbs: w %d -> p %d\n", image->bo, image->bo->handle, 590 image->width, image 903 struct gl_texture_image *image = local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_fbo.c | 572 __DRIimage *image; local 575 image = screen->dri2.image->lookupEGLImage(screen, image_handle, 577 if (image == NULL) 587 rrb->bo = image->bo; 589 fprintf(stderr, "image->bo: %p, name: %d, rbs: w %d -> p %d\n", image->bo, image->bo->handle, 590 image->width, image 903 struct gl_texture_image *image = local [all...] |
/external/opencv/cxcore/src/ |
H A D | cximage.cpp | 44 // C++ classes for image and matrices 98 CV_ERROR( CV_StsUnsupportedFormat, "The object is neither an image, nor a matrix" ); 135 "Loading an image stored in such a format requires HigGUI.\n" 187 if( !image ) 190 cvSave( filename, image, imgname ); 194 save_image( filename, image ); 197 "Saving an image in such a format requires HigGUI.\n" 207 if( image ) 208 cvWrite( fs, imgname, image ); 249 CV_ERROR( CV_StsUnsupportedFormat, "The object is neither an image, no [all...] |
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | jp2.c | 57 * @param p_image_header_size the size of the image header 60 * @return true if the image header is valid, false else. 109 static void opj_jp2_apply_cdef(opj_image_t *image, opj_jp2_color_t *color); 256 @param image 258 static void opj_jp2_apply_pclr(opj_image_t *image, opj_jp2_color_t *color); 383 * Finds the image execution function related to the given box id. 539 opj_event_msg(p_manager, EVT_ERROR, "Bad image header box (bad size)\n"); 553 opj_event_msg(p_manager, EVT_ERROR, "Not enough memory to handle image header (ihdr)\n"); 563 /* Should be equal to 7 cf. chapter about image header box of the norm */ 586 /* default image heade 819 opj_jp2_check_color(opj_image_t *image, opj_jp2_color_t *color, opj_event_mgr_t *p_manager) argument 920 opj_jp2_apply_pclr(opj_image_t *image, opj_jp2_color_t *color) argument 1183 opj_jp2_apply_cdef(opj_image_t *image, opj_jp2_color_t *color) argument 1685 opj_jp2_setup_encoder( opj_jp2_t *jp2, opj_cparameters_t *parameters, opj_image_t *image, opj_event_mgr_t * p_manager) argument [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFShader.cpp | 837 // The image shader pattern cell will be drawn into a separate device 851 const SkBitmap* image = &state.fImage; local 853 image->getBounds(&bitmapBounds); 874 image->getBounds(&patternBBox); 885 canvas.drawBitmap(*image, 0, 0); 887 SkScalar width = SkIntToScalar(image->width()); 888 SkScalar height = SkIntToScalar(image->height()); 895 drawBitmapMatrix(&canvas, *image, xMirror); 902 drawBitmapMatrix(&canvas, *image, yMirror); 910 drawBitmapMatrix(&canvas, *image, mirro [all...] |
/external/opencv/cxcore/include/ |
H A D | cvwimage.h | 48 // 4. Can easily treat external data as an image 53 // The WImage class is the image class which provides the data accessors. 71 // WImageBuffer3_b im(5,7); // Make a 5X7 3 channel image of type uchar 74 // WImageView1_f user_im(&vec[0], 2, 5); // 2X5 image w/ supplied data 97 // Functions that are not part of the basic image allocation, viewing, and 228 // Copy the contents from another image which is just a convenience to cvCopy 234 // Construct a view into a region of this image 246 void SetIpl(IplImage* image) { argument 247 assert(!image || image 289 SetIpl(IplImage* image) argument 341 IplImage* image = WImage<T>::image_; local 398 IplImage* image = WImage<T>::image_; local [all...] |
/external/skia/tools/skpdiff/ |
H A D | SkPMetric.cpp | 21 T* image; member in struct:Image2D 28 image = SkNEW_ARRAY(T, w * h); 32 SkDELETE_ARRAY(image); 40 *pixel = image[y * width + x]; 44 return &image[y * width]; 52 image[y * width + x] = pixel; 64 Image2D<T>** image; 69 image = SkNEW_ARRAY(Image2D<T>*, s); 71 image[sliceIndex] = SkNEW_ARGS(Image2D<T>, (w, h)); 77 SkDELETE(image[sliceInde [all...] |
/external/skia/gm/ |
H A D | drawbitmaprect.cpp | 87 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect* srcIR, argument 94 canvas->drawImageRect(image, srcR, dstR); 97 static void imagescaleproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect* srcIR, argument 101 SkAutoTUnref<SkImage> newImage(image->newImage(newW, newH, srcIR)); 104 const SkIRect baseR = SkIRect::MakeWH(image->width(), image->height());
|
/external/deqp/modules/gles31/stress/ |
H A D | es31sTessellationGeometryInteractionTests.cpp | 303 m_testCtx.getLog() << tcu::TestLog::Message << "Rendering single point at the origin. Expecting yellow and green colored grid-like image. (High-frequency grid may appear unicolored)." << tcu::TestLog::EndMessage; 379 bool GridRenderCase::verifyResultLayer (int layerNdx, const tcu::Surface& image) argument 381 tcu::Surface errorMask (image.getWidth(), image.getHeight()); 388 for (int y = 0; y < image.getHeight(); ++y) 389 for (int x = 0; x < image.getWidth(); ++x) 392 const tcu::RGBA color = image.getPixel(x, y); 407 << tcu::TestLog::Image("Result", "Rendered result", image.getAccess()) 416 << tcu::TestLog::Image("Result", "Rendered result", image.getAccess())
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 207 dri2_dpy->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_NAME, &name); 208 dri2_dpy->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_STRIDE, &pitch); 361 dri2_img->dri_image = dri2_dpy->image->dupImage(dri_bo->image, dri2_img); 445 dri2_dpy->image = dri2_dpy->gbm_dri->image;
|
/external/proguard/src/proguard/gui/ |
H A D | TabbedPane.java | 31 * An image can be added below these buttons. 144 * Adds an image below the tab buttons, after all tabs have been added. 145 * The image will only be as visible as permitted by the available space. 147 * @param image the image. 148 * @return the component containing the image. 150 public Component addImage(final Image image) argument 158 JButton component = new JButton(new ImageIcon(image));
|
/external/skia/tests/ |
H A D | ImageIsOpaqueTest.cpp | 52 SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); 53 REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque);
|