Home
last modified time | relevance | path

Searched refs:image (Results 1 – 25 of 1201) sorted by relevance

12345678910>>...49

/external/opencv/cxcore/include/
Dcxcore.hpp49 CvImage() : image(0), refcount(0) {} in CvImage()
52 image = cvCreateImage( size, depth, channels ); in CvImage()
53 refcount = image ? new int(1) : 0; in CvImage()
56 CvImage( IplImage* img ) : image(img) in CvImage()
58 refcount = image ? new int(1) : 0; in CvImage()
61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount) in CvImage()
66 CvImage( const char* filename, const char* imgname=0, int color=-1 ) : image(0), refcount(0) in CvImage()
69 CvImage( CvFileStorage* fs, const char* mapname, const char* imgname ) : image(0), refcount(0) in CvImage()
72 CvImage( CvFileStorage* fs, const char* seqname, int idx ) : image(0), refcount(0) in CvImage()
79 cvReleaseImage( &image ); in ~CvImage()
[all …]
/external/oprofile/daemon/liblegacy/
Dopd_image.c49 void opd_delete_image(struct opd_image * image) in opd_delete_image() argument
53 image->name, image->app_name, image->kernel, in opd_delete_image()
54 image->tid, image->tgid, (int)image->ref_count); in opd_delete_image()
56 if (image->ref_count <= 0) { in opd_delete_image()
59 image->name, image->app_name, image->kernel, in opd_delete_image()
60 image->tid, image->tgid, image->ref_count); in opd_delete_image()
64 if (--image->ref_count != 0) in opd_delete_image()
67 if (image->name) in opd_delete_image()
68 free(image->name); in opd_delete_image()
69 if (image->app_name) in opd_delete_image()
[all …]
Dopd_sample_files.c67 static char * opd_mangle_filename(struct opd_image const * image, int counter, in opd_mangle_filename() argument
75 if (image->kernel) in opd_mangle_filename()
80 values.tid = image->tid; in opd_mangle_filename()
81 values.tgid = image->tgid; in opd_mangle_filename()
93 values.image_name = image->name; in opd_mangle_filename()
94 values.dep_name = separate_lib && image->app_name in opd_mangle_filename()
95 ? image->app_name : image->name; in opd_mangle_filename()
103 int opd_open_24_sample_file(struct opd_image * image, int counter, int cpu_nr) in opd_open_24_sample_file() argument
109 mangled = opd_mangle_filename(image, counter, cpu_nr); in opd_open_24_sample_file()
115 sfile = image->sfiles[cpu_nr][counter]; in opd_open_24_sample_file()
[all …]
/external/qemu/android/skin/
Dimage.c233 skin_image_free( SkinImage* image ) in skin_image_free() argument
235 if (image && image != _no_image) in skin_image_free()
237 if (image->surface) { in skin_image_free()
238 SDL_FreeSurface(image->surface); in skin_image_free()
239 image->surface = NULL; in skin_image_free()
242 if (image->pixels) { in skin_image_free()
243 free( image->pixels ); in skin_image_free()
244 image->pixels = NULL; in skin_image_free()
247 free(image); in skin_image_free()
256 SkinImage* image = calloc(1, sizeof(*image) + len + 1); in skin_image_alloc() local
[all …]
/external/webkit/Source/WebCore/platform/chromium/
DDragImageChromiumSkia.cpp44 IntSize dragImageSize(DragImageRef image) in dragImageSize() argument
46 if (!image) in dragImageSize()
49 return IntSize(image->width(), image->height()); in dragImageSize()
52 void deleteDragImage(DragImageRef image) in deleteDragImage() argument
54 delete image; in deleteDragImage()
57 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) in scaleDragImage() argument
59 if (!image) in scaleDragImage()
62 int imageWidth = scale.width() * image->width(); in scaleDragImage()
63 int imageHeight = scale.height() * image->height(); in scaleDragImage()
65 skia::ImageOperations::Resize(*image, skia::ImageOperations::RESIZE_LANCZOS3, in scaleDragImage()
[all …]
DDragImageChromiumMac.cpp43 IntSize dragImageSize(DragImageRef image) in dragImageSize() argument
45 if (!image) in dragImageSize()
47 return IntSize(CGImageGetWidth(image), CGImageGetHeight(image)); in dragImageSize()
50 void deleteDragImage(DragImageRef image) in deleteDragImage() argument
52 CGImageRelease(image); in deleteDragImage()
55 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) in scaleDragImage() argument
57 if (!image) in scaleDragImage()
59 size_t width = roundf(CGImageGetWidth(image) * scale.width()); in scaleDragImage()
60 size_t height = roundf(CGImageGetHeight(image) * scale.height()); in scaleDragImage()
67 CGContextDrawImage(context, CGRectMake(0, 0, width, height), image); in scaleDragImage()
[all …]
/external/webkit/Source/WebCore/platform/qt/
DDragImageQt.cpp34 IntSize dragImageSize(DragImageRef image) in dragImageSize() argument
36 if (!image) in dragImageSize()
39 return image->size(); in dragImageSize()
42 void deleteDragImage(DragImageRef image) in deleteDragImage() argument
44 delete image; in deleteDragImage()
47 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) in scaleDragImage() argument
49 if (!image) in scaleDragImage()
52 int scaledWidth = image->width() * scale.width(); in scaleDragImage()
53 int scaledHeight = image->height() * scale.height(); in scaleDragImage()
55 *image = image->scaled(scaledWidth, scaledHeight); in scaleDragImage()
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DDragImageGtk.cpp29 IntSize dragImageSize(DragImageRef image) in dragImageSize() argument
31 if (image) in dragImageSize()
32 return IntSize(cairo_image_surface_get_width(image), cairo_image_surface_get_height(image)); in dragImageSize()
37 void deleteDragImage(DragImageRef image) in deleteDragImage() argument
39 if (image) in deleteDragImage()
40 cairo_surface_destroy(image); in deleteDragImage()
43 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) in scaleDragImage() argument
45 if (!image) in scaleDragImage()
48 int newWidth = scale.width() * cairo_image_surface_get_width(image); in scaleDragImage()
49 int newHeight = scale.height() * cairo_image_surface_get_height(image); in scaleDragImage()
[all …]
/external/oprofile/daemon/
Dopd_kernel.c97 struct kernel_image * image = xmalloc(sizeof(struct kernel_image)); in opd_create_module() local
99 image->name = xstrdup(name); in opd_create_module()
100 image->start = start; in opd_create_module()
101 image->end = end; in opd_create_module()
102 list_add(&image->list, &modules); in opd_create_module()
104 return image; in opd_create_module()
116 struct kernel_image * image; in opd_clear_modules() local
119 image = list_entry(pos, struct kernel_image, list); in opd_clear_modules()
120 if (image->name) in opd_clear_modules()
121 free(image->name); in opd_clear_modules()
[all …]
/external/chromium/webkit/glue/
Dwebkit_glue_unittest.cc13 SkBitmap image; in TEST() local
14 EXPECT_FALSE(webkit_glue::DecodeImage(data, &image)); in TEST()
15 EXPECT_TRUE(image.isNull()); in TEST()
23 SkBitmap image; in TEST() local
24 EXPECT_TRUE(webkit_glue::DecodeImage(data, &image)); in TEST()
25 EXPECT_FALSE(image.isNull()); in TEST()
26 EXPECT_EQ(2, image.width()); in TEST()
27 EXPECT_EQ(2, image.height()); in TEST()
28 EXPECT_EQ(SkBitmap::kARGB_8888_Config, image.config()); in TEST()
29 image.lockPixels(); in TEST()
[all …]
/external/grub/util/
Dmkbimage46 image=
150 mkfs.$fs -F $image
152 losetup $lo_options /dev/loop1 $image
181 for dir in $(cd ${image}1 && find -type d) ; do
182 $mkdir ${image}:$dir
184 for file in $(cd ${image}1 && find -type f) ; do
185 $cp ${image}1/$file ${image}:$file
188 losetup $lo_options /dev/loop1 $image
189 mkdir ${image}.mnt
190 mount -t $fs /dev/loop1 ${image}.mnt
[all …]
Dgrub-image.in59 image=$bootdir.ext2fs
75 if test ! -f $image; then
81 echo "# Creating $SIZE disk image \`$image'"
82 trap "rm -f $image" 0
83 dd if=/dev/zero of=$image bs=$SIZE count=1 >/dev/null
84 $mke2fs -F $image
90 echo "# Mounting \`$image'"
94 settrans -a $bootdir /hurd/ext2fs $image
102 if /sbin/losetup /dev/loop$i $image; then
114 echo "$progname: Mounting \`$image' under \`$host_os' is not supported" 1>&2
[all …]
Dgrub-image59 image=$bootdir.ext2fs
75 if test ! -f $image; then
81 echo "# Creating $SIZE disk image \`$image'"
82 trap "rm -f $image" 0
83 dd if=/dev/zero of=$image bs=$SIZE count=1 >/dev/null
84 $mke2fs -F $image
90 echo "# Mounting \`$image'"
94 settrans -a $bootdir /hurd/ext2fs $image
102 if /sbin/losetup /dev/loop$i $image; then
114 echo "$progname: Mounting \`$image' under \`$host_os' is not supported" 1>&2
[all …]
/external/webkit/Source/WebCore/platform/graphics/haiku/
DImageHaiku.cpp73 WTF::PassRefPtr<BitmapImage> image = BitmapImage::create(); in loadPlatformResource() local
75 image->setData(buffer, true); in loadPlatformResource()
77 return image; in loadPlatformResource()
99 BBitmap* image = nativeImageForCurrentFrame(); in draw() local
100 if (!image || !image->IsValid()) // If the image hasn't fully loaded. in draw()
117 ctxt->platformContext()->DrawBitmapAsync(image, srcRect, dstRect); in draw()
126 BBitmap* image = nativeImageForCurrentFrame(); in drawPattern() local
127 if (!image || !image->IsValid()) // If the image hasn't fully loaded. in drawPattern()
133 uint8* bits = reinterpret_cast<uint8*>(image->Bits()); in drawPattern()
134 uint32 width = image->Bounds().IntegerWidth() + 1; in drawPattern()
[all …]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DTextureAtlas.java231 private boolean addImage(Image image, String name, String mapName, String sourceTextureName) { in addImage() argument
244 drawImage(image, location.getX(), location.getY(), mapName); in addImage()
251 Node node = root.insert(image); in addImage()
261 } else if (location.width != image.getWidth() || location.height != image.getHeight()) { in addImage()
267 drawImage(image, location.getX(), location.getY(), mapName); in addImage()
275 byte[] image = images.get(mapName); in drawImage()
276 if (image == null) { in drawImage()
277 image = new byte[atlasWidth * atlasHeight * 4]; in drawImage()
278 images.put(mapName, image); in drawImage()
290 image[i] = sourceData.get(j); //a in drawImage()
[all …]
/external/webkit/Source/WebKit/efl/ewk/
Dewk_util.cpp40 Evas_Object* image; in ewk_util_image_from_cairo_surface_add() local
81 image = evas_object_image_filled_add(canvas); in ewk_util_image_from_cairo_surface_add()
82 if (!image) { in ewk_util_image_from_cairo_surface_add()
87 evas_object_image_colorspace_set(image, EVAS_COLORSPACE_ARGB8888); in ewk_util_image_from_cairo_surface_add()
88 evas_object_image_size_set(image, w, h); in ewk_util_image_from_cairo_surface_add()
89 evas_object_image_alpha_set(image, format == CAIRO_FORMAT_ARGB32); in ewk_util_image_from_cairo_surface_add()
91 if (evas_object_image_stride_get(image) != stride) { in ewk_util_image_from_cairo_surface_add()
93 evas_object_image_stride_get(image), stride); in ewk_util_image_from_cairo_surface_add()
94 evas_object_del(image); in ewk_util_image_from_cairo_surface_add()
98 dst = evas_object_image_data_get(image, EINA_TRUE); in ewk_util_image_from_cairo_surface_add()
[all …]
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/mime-types/
Dwebkit93 image/bmp
94 image/gif
95 image/ico
96 image/ief
97 image/jpeg
98 image/pjpeg
99 image/png
100 image/svg+xml
101 image/tif
102 image/tiff
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DImagesManager.cpp57 ImageTexture* image = 0; in setImage() local
66 image = m_images.get(crc); in setImage()
67 SkSafeRef(image); in setImage()
68 return image; in setImage()
75 image = new ImageTexture(img, crc); in setImage()
78 m_images.set(crc, image); in setImage()
80 return image; in setImage()
89 ImageTexture* image = 0; in retainImage() local
91 image = m_images.get(imgCRC); in retainImage()
92 SkSafeRef(image); in retainImage()
[all …]
/external/webkit/Source/WebKit/chromium/src/js/
DdevTools.css15 background-image: none;
19 …background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(175, 175, 175)), to(rgb…
23 …background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(221, 221, 221)), to(rgb…
27 …background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(189, 189, 189)), to(rgb…
31 …background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(215, 215, 215)), to(rgb…
42 background-image: none;
52 -webkit-border-image: url(Images/segmentChromium.png) 0 12 0 2;
58 -webkit-border-image: url(Images/segmentSelectedChromium.png) 0 12 0 2;
64 -webkit-border-image: url(Images/segmentSelectedChromium.png) 0 12 0 2;
68 -webkit-border-image: url(Images/segmentSelectedEndChromium.png) 0 2 0 2;
[all …]
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java42 import java.awt.image.BufferedImage;
62 public static void resizeToPowerOf2(Image image){ in resizeToPowerOf2() argument
63 BufferedImage original = ImageToAwt.convert(image, false, true, 0); in resizeToPowerOf2()
64 int potWidth = FastMath.nearestPowerOfTwo(image.getWidth()); in resizeToPowerOf2()
65 int potHeight = FastMath.nearestPowerOfTwo(image.getHeight()); in resizeToPowerOf2()
73 image.setWidth(potSize); in resizeToPowerOf2()
74 image.setHeight(potSize); in resizeToPowerOf2()
75 image.setDepth(0); in resizeToPowerOf2()
76 image.setData(output.getData(0)); in resizeToPowerOf2()
77 image.setFormat(output.getFormat()); in resizeToPowerOf2()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11yuv.c64 SDL_NAME(XvImage) *image;
252 hwdata->image = SDL_NAME(XvShmCreateImage)(GFX_Display, xv_port, format, in X11_CreateYUVOverlay()
255 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { in X11_CreateYUVOverlay()
257 XFree(hwdata->image); in X11_CreateYUVOverlay()
258 width = hwdata->image->pitches[0] / bpp; in X11_CreateYUVOverlay()
259 hwdata->image = SDL_NAME(XvShmCreateImage)(GFX_Display, xv_port, format, in X11_CreateYUVOverlay()
263 hwdata->yuv_use_mitshm = (hwdata->image != NULL); in X11_CreateYUVOverlay()
265 yuvshm->shmid = shmget(IPC_PRIVATE, hwdata->image->data_size, in X11_CreateYUVOverlay()
286 XFree(hwdata->image); in X11_CreateYUVOverlay()
289 hwdata->image->data = yuvshm->shmaddr; in X11_CreateYUVOverlay()
[all …]
/external/chromium/chrome/browser/webdata/
Dweb_apps_table_unittest.cc73 SkBitmap image; in TEST_F() local
74 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
75 image.allocPixels(); in TEST_F()
76 image.eraseColor(SK_ColorBLACK); in TEST_F()
77 ASSERT_TRUE(db.GetWebAppsTable()->SetWebAppImage(url, image)); in TEST_F()
86 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
87 image.allocPixels(); in TEST_F()
88 image.eraseColor(SK_ColorBLACK); in TEST_F()
95 image.getAddr32(0, 1)[0] = test_pixel_1; in TEST_F()
96 image.getAddr32(0, 1)[1] = test_pixel_2; in TEST_F()
[all …]
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGImage.cpp67 SVGImageElement* image = static_cast<SVGImageElement*>(node()); in layout() local
71 m_localTransform = image->animatedLocalTransform(); in layout()
95 SVGImageElement* image = static_cast<SVGImageElement*>(node()); in updateFromElement() local
98 …oundingBox = FloatRect(image->x().value(image), image->y().value(image), image->width().value(imag… in updateFromElement()
125 RefPtr<Image> image = m_imageResource->image(); in paint() local
127 FloatRect srcRect(0, 0, image->width(), image->height()); in paint()
133 … childPaintInfo.context->drawImage(image.get(), ColorSpaceDeviceRGB, destRect, srcRect); in paint()
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_BView.h39 image = NULL; in SDL_BView()
71 if( image ) { in FrameResized()
72 bounds = image->Bounds(); in FrameResized()
79 if ( image ) { in SetBitmap()
80 delete image; in SetBitmap() local
82 image = bitmap; in SetBitmap()
85 if ( image ) { in Draw()
92 DrawBitmap(image, updateRect, dest); in Draw()
94 DrawBitmap(image, updateRect, updateRect); in Draw()
105 DrawBitmapAsync(image, updateRect, dest); in DrawAsync()
[all …]
/external/opencv/cvaux/src/
Dextendededges.cpp47 CvSeq* icvCutContourRaster( CvSeq* current, CvMemStorage* storage, IplImage* image );
51 CvSeq* cvExtractSingleEdges( IplImage* image, //bw image - it's content will be destroyed by cvFind… in cvExtractSingleEdges() argument
56 …cvFindContours( image, tmp_storage, &contours, sizeof(CvContour), CV_RETR_LIST, CV_CHAIN_APPROX_NO… in cvExtractSingleEdges()
57 cvZero( image ); in cvExtractSingleEdges()
75 CvSeq* new_seq = icvCutContourRaster( current, storage, image ); in cvExtractSingleEdges()
121 CvSeq* icvCutContourRaster( CvSeq* current, CvMemStorage* storage, IplImage* image /*tmp image*/) in icvCutContourRaster() argument
148 ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x]++; in icvCutContourRaster()
149 assert( ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] != 255 ); in icvCutContourRaster()
161 uchar flag = image->imageData[image->widthStep * cur.y + cur.x]; in icvCutContourRaster()
171 if( flag < 3 ) ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] = 255; in icvCutContourRaster()

12345678910>>...49