Home
last modified time | relevance | path

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

12345678910>>...39

/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/deqp/framework/delibs/deimage/
DdeImage.c36 static void* getPixelAddress (const deImage* image, int x, int y) in getPixelAddress() argument
38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format); in getPixelAddress()
39 DE_ASSERT(deInBounds32(x, 0, image->width)); in getPixelAddress()
40 DE_ASSERT(deInBounds32(y, 0, image->height)); in getPixelAddress()
41 return (void*)((deUint8*)image->pixels + offset); in getPixelAddress()
46 deImage* image = DE_NEW(deImage); in deImage_create() local
48 if (!image) in deImage_create()
51 image->width = width; in deImage_create()
52 image->height = height; in deImage_create()
53 image->format = format; in deImage_create()
[all …]
DdeImage.h46 void deImage_destroy (deImage* image);
48 int deImage_getWidth (const deImage* image);
49 int deImage_getHeight (const deImage* image);
50 void* deImage_getPixelPtr (const deImage* image);
52 deARGB deImage_getPixel (const deImage* image, int x, int y);
53 void deImage_setPixel (deImage* image, int x, int y, deARGB argb);
56 deBool deImage_saveTarga (const deImage* image, const char* fileName);
58 deImage* deImage_convertFormat (const deImage* image, deImageFormat format);
59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
60 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels);
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c209 __DRIimage *image; in radeon_create_image_from_name() local
215 image = CALLOC(sizeof *image); in radeon_create_image_from_name()
216 if (image == NULL) in radeon_create_image_from_name()
221 image->format = MESA_FORMAT_RGB565; in radeon_create_image_from_name()
222 image->internal_format = GL_RGB; in radeon_create_image_from_name()
223 image->data_type = GL_UNSIGNED_BYTE; in radeon_create_image_from_name()
226 image->format = MESA_FORMAT_XRGB8888; in radeon_create_image_from_name()
227 image->internal_format = GL_RGB; in radeon_create_image_from_name()
228 image->data_type = GL_UNSIGNED_BYTE; in radeon_create_image_from_name()
231 image->format = MESA_FORMAT_ARGB8888; in radeon_create_image_from_name()
[all …]
Dradeon_texture.c109 radeon_texture_image *image = get_radeon_texture_image(timage); in radeonAllocTextureImageBuffer() local
122 assert(!image->base.ImageOffsets); in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()
135 radeon_texture_image* image = get_radeon_texture_image(timage); in radeonFreeTextureImageBuffer() local
137 if (image->mt) { in radeonFreeTextureImageBuffer()
138 radeon_miptree_unreference(&image->mt); in radeonFreeTextureImageBuffer()
142 if (image->bo) { in radeonFreeTextureImageBuffer()
143 radeon_bo_unref(image->bo); in radeonFreeTextureImageBuffer()
144 image->bo = NULL; in radeonFreeTextureImageBuffer()
146 if (image->base.Buffer) { in radeonFreeTextureImageBuffer()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c209 __DRIimage *image; in radeon_create_image_from_name() local
215 image = CALLOC(sizeof *image); in radeon_create_image_from_name()
216 if (image == NULL) in radeon_create_image_from_name()
221 image->format = MESA_FORMAT_RGB565; in radeon_create_image_from_name()
222 image->internal_format = GL_RGB; in radeon_create_image_from_name()
223 image->data_type = GL_UNSIGNED_BYTE; in radeon_create_image_from_name()
226 image->format = MESA_FORMAT_XRGB8888; in radeon_create_image_from_name()
227 image->internal_format = GL_RGB; in radeon_create_image_from_name()
228 image->data_type = GL_UNSIGNED_BYTE; in radeon_create_image_from_name()
231 image->format = MESA_FORMAT_ARGB8888; in radeon_create_image_from_name()
[all …]
Dradeon_texture.c109 radeon_texture_image *image = get_radeon_texture_image(timage); in radeonAllocTextureImageBuffer() local
122 assert(!image->base.ImageOffsets); in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()
135 radeon_texture_image* image = get_radeon_texture_image(timage); in radeonFreeTextureImageBuffer() local
137 if (image->mt) { in radeonFreeTextureImageBuffer()
138 radeon_miptree_unreference(&image->mt); in radeonFreeTextureImageBuffer()
142 if (image->bo) { in radeonFreeTextureImageBuffer()
143 radeon_bo_unref(image->bo); in radeonFreeTextureImageBuffer()
144 image->bo = NULL; in radeonFreeTextureImageBuffer()
146 if (image->base.Buffer) { in radeonFreeTextureImageBuffer()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c250 __DRIimage *image; in intel_allocate_image() local
252 image = CALLOC(sizeof *image); in intel_allocate_image()
253 if (image == NULL) in intel_allocate_image()
256 image->dri_format = dri_format; in intel_allocate_image()
257 image->offset = 0; in intel_allocate_image()
261 image->format = MESA_FORMAT_RGB565; in intel_allocate_image()
264 image->format = MESA_FORMAT_XRGB8888; in intel_allocate_image()
267 image->format = MESA_FORMAT_ARGB8888; in intel_allocate_image()
270 image->format = MESA_FORMAT_RGBA8888_REV; in intel_allocate_image()
273 image->format = MESA_FORMAT_RGBX8888_REV; in intel_allocate_image()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_screen.c250 __DRIimage *image; in intel_allocate_image() local
252 image = CALLOC(sizeof *image); in intel_allocate_image()
253 if (image == NULL) in intel_allocate_image()
256 image->dri_format = dri_format; in intel_allocate_image()
257 image->offset = 0; in intel_allocate_image()
261 image->format = MESA_FORMAT_RGB565; in intel_allocate_image()
264 image->format = MESA_FORMAT_XRGB8888; in intel_allocate_image()
267 image->format = MESA_FORMAT_ARGB8888; in intel_allocate_image()
270 image->format = MESA_FORMAT_RGBA8888_REV; in intel_allocate_image()
273 image->format = MESA_FORMAT_RGBX8888_REV; in intel_allocate_image()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c250 __DRIimage *image; in intel_allocate_image() local
252 image = CALLOC(sizeof *image); in intel_allocate_image()
253 if (image == NULL) in intel_allocate_image()
256 image->dri_format = dri_format; in intel_allocate_image()
257 image->offset = 0; in intel_allocate_image()
261 image->format = MESA_FORMAT_RGB565; in intel_allocate_image()
264 image->format = MESA_FORMAT_XRGB8888; in intel_allocate_image()
267 image->format = MESA_FORMAT_ARGB8888; in intel_allocate_image()
270 image->format = MESA_FORMAT_RGBA8888_REV; in intel_allocate_image()
273 image->format = MESA_FORMAT_RGBX8888_REV; in intel_allocate_image()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-jai.jar ... instr int i javax.media.jai.PlanarImage image java.awt.image.BufferedImage bi java. ...
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp352 void color_apply_icc_profile(opj_image_t *image) in color_apply_icc_profile() argument
362 cmsOpenProfileFromMem(image->icc_profile_buf, image->icc_profile_len); in color_apply_icc_profile()
368 int max_w = (int)image->comps[0].w; in color_apply_icc_profile()
369 int max_h = (int)image->comps[0].h; in color_apply_icc_profile()
370 int prec = (int)image->comps[0].prec; in color_apply_icc_profile()
371 OPJ_COLOR_SPACE oldspace = image->color_space; in color_apply_icc_profile()
381 image->color_space = OPJ_CLRSPC_SRGB; in color_apply_icc_profile()
391 image->color_space = OPJ_CLRSPC_SRGB; in color_apply_icc_profile()
396 image->color_space = OPJ_CLRSPC_SRGB; in color_apply_icc_profile()
405 image->color_space = oldspace; in color_apply_icc_profile()
[all …]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dimage.c35 opj_image_t *image = (opj_image_t*)opj_calloc(1, sizeof(opj_image_t)); in opj_image_create0() local
36 return image; in opj_image_create0()
41 opj_image_t *image = NULL; in opj_image_create() local
43 image = (opj_image_t*) opj_calloc(1, sizeof(opj_image_t)); in opj_image_create()
44 if(image) { in opj_image_create()
45 image->color_space = clrspc; in opj_image_create()
46 image->numcomps = numcmpts; in opj_image_create()
48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t)); in opj_image_create()
49 if(!image->comps) { in opj_image_create()
51 opj_image_destroy(image); in opj_image_create()
[all …]
/external/libpng/contrib/libtests/
Dpngstest.c550 png_image image; member
568 newimage(Image *image) in newimage() argument
570 memset(image, 0, sizeof *image); in newimage()
576 resetimage(Image *image) in resetimage() argument
578 if (image->input_file != NULL) in resetimage()
579 rewind(image->input_file); in resetimage()
586 freebuffer(Image *image) in freebuffer() argument
588 if (image->buffer) free(image->buffer); in freebuffer()
589 image->buffer = NULL; in freebuffer()
590 image->bufsize = 0; in freebuffer()
[all …]
/external/libpng/contrib/examples/
Dpngtopng.c30 png_image image; in main() local
33 memset(&image, 0, sizeof image); in main()
34 image.version = PNG_IMAGE_VERSION; in main()
36 if (png_image_begin_read_from_file(&image, argv[1])) in main()
43 image.format = PNG_FORMAT_RGBA; in main()
45 buffer = malloc(PNG_IMAGE_SIZE(image)); in main()
49 if (png_image_finish_read(&image, NULL/*background*/, buffer, in main()
52 if (png_image_write_to_file(&image, argv[2], in main()
59 image.message); in main()
67 image.message); in main()
[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/strace/qemu_multiarch_testing/
DREADME8 * Run ./make-hdc-img.sh: it will generate ext2 image file,
12 one or more system-image-ARCH directories into this directory
15 * Run: ./parallel-build-hdc-img.sh system-image-DIR1 system-image-DIR2...
19 * Observe system-image-*.log file(s) with growing log of strace build.
25 system-image-armv4l - 14/14/1 (failed: stat32-v.test - wrong stat decoding, sun_path.test - libc e…
26 system-image-armv4tl - 15/14/0
27 system-image-armv5l - 15/14/0
28 system-image-armv6l - 15/14/0
29 system-image-i486 - 14/14/1 (failed: count.test - grep segfault)
30 system-image-i586 - 14/14/1 (failed: count.test - grep segfault)
[all …]
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngread.c622 png_read_image(png_structrp png_ptr, png_bytepp image) in png_read_image() argument
671 rp = image; in png_read_image()
1153 png_imagep image; member
1173 png_image_read_init(png_imagep image) in png_image_read_init() argument
1175 if (image->opaque == NULL) in png_image_read_init()
1177 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, image, in png_image_read_init()
1183 memset(image, 0, (sizeof *image)); in png_image_read_init()
1184 image->version = PNG_IMAGE_VERSION; in png_image_read_init()
1203 image->opaque = control; in png_image_read_init()
1214 return png_image_error(image, "png_image_read: out of memory"); in png_image_read_init()
[all …]
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-newfbsize.patch8 + image = NULL;
12 + image = CreateShmImage();
13 + if (!image)
18 + if (!image) {
19 + image = XCreateImage(dpy, vis, visdepth, ZPixmap, 0, NULL,
23 + image->data = malloc(image->bytes_per_line * image->height);
24 + if (!image->data) {
38 - image = NULL;
42 - image = CreateShmImage();
43 - if (!image)
[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/mesa3d/src/gallium/state_trackers/vega/
Dimage.c239 struct vg_image *image = CALLOC_STRUCT(vg_image); in image_create() local
246 vg_init_object(&image->base, ctx, VG_OBJECT_IMAGE); in image_create()
248 image->format = format; in image_create()
249 image->width = width; in image_create()
250 image->height = height; in image_create()
252 image->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in image_create()
253 image->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in image_create()
254 image->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in image_create()
255 image->sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST; in image_create()
256 image->sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST; in image_create()
[all …]
/external/zopfli/src/zopflipng/
Dzopflipng_lib.cc91 const unsigned char* image, unsigned w, unsigned h, in CountColors() argument
95 unsigned index = ColorIndex(&image[i * 4]); in CountColors()
96 if (transparent_counts_as_one && image[i * 4 + 3] == 0) index = 0; in CountColors()
103 void LossyOptimizeTransparent(lodepng::State* inputstate, unsigned char* image, in LossyOptimizeTransparent() argument
109 if (image[i * 4 + 3] > 0 && image[i * 4 + 3] < 255) { in LossyOptimizeTransparent()
115 CountColors(&count, image, w, h, true); in LossyOptimizeTransparent()
124 if (image[i * 4 + 3] == 0) { in LossyOptimizeTransparent()
128 r = image[i * 4 + 0]; in LossyOptimizeTransparent()
129 g = image[i * 4 + 1]; in LossyOptimizeTransparent()
130 b = image[i * 4 + 2]; in LossyOptimizeTransparent()
[all …]
/external/libpng/
Dpngread.c840 png_read_image(png_structrp png_ptr, png_bytepp image) in png_read_image() argument
889 rp = image; in png_read_image()
1412 png_imagep image; member
1432 png_image_read_init(png_imagep image) in png_image_read_init() argument
1434 if (image->opaque == NULL) in png_image_read_init()
1436 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, image, in png_image_read_init()
1442 memset(image, 0, (sizeof *image)); in png_image_read_init()
1443 image->version = PNG_IMAGE_VERSION; in png_image_read_init()
1462 image->opaque = control; in png_image_read_init()
1473 return png_image_error(image, "png_image_read: out of memory"); in png_image_read_init()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/texture/
DTexture.java291 private Image image = null; field in Texture
394 public void setImage(Image image) { in setImage() argument
395 this.image = image; in setImage()
416 return image; in getImage()
488 if (image != null) in toString()
489 sb.append(", image=").append(image.toString()); in toString()
505 if (this.image != other.image && (this.image == null || !this.image.equals(other.image))) { in equals()
526 hash = 67 * hash + (this.image != null ? this.image.hashCode() : 0); in hashCode()
550 rVal.setImage(image); // NOT CLONED. in createSimpleClone()
569 capsule.write(image, "image", null); in write()
[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>>...39