Searched refs:image (Results 26 - 50 of 522) sorted by relevance

1234567891011>>

/external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
H A DAndroidImageLoader.java16 Image image = new Image(imageInfo.getFormat(), bitmap.getWidth(), bitmap.getHeight(), null);
17 image.setEfficentData(imageInfo);
18 return image;
/external/vboot_reference/scripts/image_signing/
H A Dstrip_boot_from_image.sh7 # Script to remove /boot directory from an image.
15 DEFINE_string image "chromiumos_image.bin" \
16 "Input file name of Chrome OS image to strip /boot from."
26 die "Error: need a valid file by --image"
43 local image=$1
45 # Mount image so we can modify it.
47 mount_image_partition ${image} 3 ${rootfs_dir}
54 # done when the image was built, but needs to be repeated now that we've
62 die "Missing required argument: --from (image to update)"
H A Densure_no_nonrelease_files.sh14 echo "Usage $PROG image [config]"
28 local image="$1"
41 mount_image_partition_ro "$image" 3 "$rootfs"
45 echo "FAIL: $file exists in this image!"
H A Dcommon_minimal.sh94 echo "Warning: image may be modified. Please resign image."
166 local image=$1
170 local offset=$(( $(partoffset "$image" "$partnum") * 512 ))
176 enable_rw_mount "$image" ${offset} 2> /dev/null
180 "${image}" "${mount_dir}"
186 "${image}" "${mount_dir}" "${try}"
200 echo "ERROR: mounting ${image} at ${mount_dir} failed:"
207 # Mount a partition read-only from an image into a local directory
213 # Mount a partition from an image int
[all...]
/external/eigen/doc/snippets/
H A DFullPivLU_image.cpp9 << endl << m.fullPivLu().image(m) << endl;
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DMipMapGenerator.java42 import java.awt.image.BufferedImage;
62 public static void resizeToPowerOf2(Image image){ argument
63 BufferedImage original = ImageToAwt.convert(image, false, true, 0);
64 int potWidth = FastMath.nearestPowerOfTwo(image.getWidth());
65 int potHeight = FastMath.nearestPowerOfTwo(image.getHeight());
73 image.setWidth(potSize);
74 image.setHeight(potSize);
75 image.setDepth(0);
76 image.setData(output.getData(0));
77 image
81 generateMipMaps(Image image) argument
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_textblit.h20 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image,
/external/valgrind/coregrind/m_debuginfo/
H A Dpriv_readelf.h46 extern Bool ML_(is_elf_object_file)( const void* image, SizeT n_image,
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DImageImageDescriptor.java31 public ImageImageDescriptor(Image image) { argument
32 m_Image = image;
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_jpx_opj.cpp352 void color_apply_icc_profile(opj_image_t *image) argument
362 cmsOpenProfileFromMem(image->icc_profile_buf, image->icc_profile_len);
368 int max_w = (int)image->comps[0].w;
369 int max_h = (int)image->comps[0].h;
370 int prec = (int)image->comps[0].prec;
371 OPJ_COLOR_SPACE oldspace = image->color_space;
381 image->color_space = OPJ_CLRSPC_SRGB;
391 image->color_space = OPJ_CLRSPC_SRGB;
396 image
497 color_apply_conversion(opj_image_t *image) argument
595 opj_image_t *image; member in class:CJPX_Decoder
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/collision/
H A DRayTrace.java42 import java.awt.image.BufferedImage;
49 private BufferedImage image; field in class:RayTrace
57 image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
64 label = new JLabel(new ImageIcon(image));
72 int w = image.getWidth();
73 int h = image.getHeight();
75 float wr = (float) cam.getWidth() / image.getWidth();
76 float hr = (float) cam.getHeight() / image.getHeight();
92 image.setRGB(x, h - y - 1, 0xFFFFFFFF);
94 image
[all...]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DTextureAtlas.java65 * image data is stored in a byte array for each map name. Later each map can be retrieved as
231 private boolean addImage(Image image, String name, String mapName, String sourceTextureName) { argument
244 drawImage(image, location.getX(), location.getY(), mapName);
251 Node node = root.insert(image);
261 } else if (location.width != image.getWidth() || location.height != image.getHeight()) {
267 drawImage(image, location.getX(), location.getY(), mapName);
275 byte[] image = images.get(mapName);
276 if (image == null) {
277 image
577 insert(Image image) argument
[all...]
/external/libpng/contrib/libtests/
H A Dpngstest.c545 /* The super-class of a png_image, contains the decoded image plus the input
550 png_image image; member in struct:__anon9075
568 newimage(Image *image) argument
570 memset(image, 0, sizeof *image);
573 /* Reset the image to be read again - only needs to rewind the FILE* at present.
576 resetimage(Image *image) argument
578 if (image->input_file != NULL)
579 rewind(image->input_file);
582 /* Free the image buffe
586 freebuffer(Image *image) argument
598 freeimage(Image *image) argument
626 initimage(Image *image, png_uint_32 opts, const char *file_name, int stride_extra) argument
641 allocbuffer(Image *image) argument
680 checkbuffer(Image *image, const char *arg) argument
701 logerror(Image *image, const char *a1, const char *a2, const char *a3) argument
724 logclose(Image *image, FILE *f, const char *name, const char *operation) argument
736 checkopaque(Image *image) argument
3057 read_file(Image *image, png_uint_32 format, png_const_colorp background) argument
3158 read_one_file(Image *image) argument
3228 write_one_file(Image *output, Image *image, int convert_to_8bit) argument
3318 testimage(Image *image, png_uint_32 opts, format_list *pf) argument
3460 Image image; local
[all...]
/external/deqp/framework/delibs/deimage/
H A DdeTarga.c32 deImage* image = DE_NULL; local
73 /* Create image. */
74 image = deImage_create(width, height, format);
75 DE_TEST_ASSERT(image);
86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp);
116 return image;
119 deBool deImage_saveTarga (const deImage* image, const char* fileName) argument
122 int width = image->width;
123 int height = image
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/texture/
H A DTexture.java47 * image on a piece of geometry. The image to be displayed is defined by the
199 * is the size of the one-, two-, or three-dimensional texture image in
216 * image in the direction of wrapping." (Introduced after OpenGL1.4)
231 * image in the direction of wrapping. (Introduced after OpenGL1.4)
289 * The image stored in the texture
291 private Image image = null; field in class:Texture
389 * <code>setImage</code> sets the image object that defines the texture.
391 * @param image
392 * the image tha
394 setImage(Image image) argument
[all...]
/external/drm_hwcomposer/
H A Dautogl.h57 AutoEGLDisplayImage(EGLDisplay display, EGLImageKHR image) argument
58 : display_(display), image_(image) {
81 void reset(EGLDisplay display, EGLImageKHR image) { argument
84 image_ = image;
95 EGLImageKHR image() const { function in struct:android::AutoEGLDisplayImage
105 AutoEGLDisplayImage image; member in struct:android::AutoEGLImageAndGLTexture
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_image.c74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) argument
90 VA_INFO("Creating BGRA image of size %dx%d\n",width,height);
93 VA_INFO("Creating RGBA image of size %dx%d\n",width,height);
96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc);
106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image) argument
115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image) argument
124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette) argument
134 unsigned int width, unsigned int height, VAImageID image)
143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, argument
133 vlVaGetImage(VADriverContextP ctx, VASurfaceID surface, int x, int y, unsigned int width, unsigned int height, VAImageID image) argument
/external/libpng/scripts/
H A Ddef.dfn20 PNG_DFN "OS2 DESCRIPTION "PNG image compression library""
/external/opencv/cvaux/src/
H A Dcvbgfg_codebook.cpp93 CvMat stub, *image = cvGetMat( _image, &stub ); local
100 CV_ASSERT( model && CV_MAT_TYPE(image->type) == CV_8UC3 &&
101 (!mask || CV_IS_MASK_ARR(mask) && CV_ARE_SIZES_EQ(image, mask)) );
105 roi.width = image->cols;
106 roi.height = image->rows;
109 CV_ASSERT( (unsigned)roi.x < (unsigned)image->cols &&
110 (unsigned)roi.y < (unsigned)image->rows &&
112 roi.x + roi.width <= image->cols &&
113 roi.y + roi.height <= image->rows );
115 if( image
235 CvMat stub, *image = cvGetMat( _image, &stub ); local
[all...]
/external/skia/tests/
H A DRecorderTest.cpp94 SkAutoTUnref<SkImage> image; local
98 image.reset(surface->newImageSnapshot());
105 recorder.drawImage(image.get(), 0, 0);
106 REPORTER_ASSERT(reporter, !image->unique());
113 REPORTER_ASSERT(reporter, image->unique());
120 recorder.drawImageRect(image.get(), 0, SkRect::MakeWH(100, 100));
121 REPORTER_ASSERT(reporter, !image->unique());
128 REPORTER_ASSERT(reporter, image->unique());
/external/opencv/otherlibs/highgui/
H A Dloadsave.cpp346 // global image I/O filters
391 IplImage* image = 0; local
451 CV_CALL( image = cvCreateImage( size, type, cn ));
452 matrix = cvGetMat( image, &hdr );
460 cvReleaseImage( &image );
473 cvReleaseImage( &image );
476 return load_as_matrix ? (void*)matrix : (void*)image;
504 CvMat stub, *image; local
510 CV_CALL( image = cvGetMat( arr, &stub ));
515 channels = CV_MAT_CN( image
[all...]
/external/zopfli/src/zopflipng/
H A Dzopflipng_lib.cc87 // Counts amount of colors in the image, up to 257. If transparent_counts_as_one
91 const unsigned char* image, unsigned w, unsigned h,
95 unsigned index = ColorIndex(&image[i * 4]);
96 if (transparent_counts_as_one && image[i * 4 + 3] == 0) index = 0;
103 void LossyOptimizeTransparent(lodepng::State* inputstate, unsigned char* image, argument
109 if (image[i * 4 + 3] > 0 && image[i * 4 + 3] < 255) {
115 CountColors(&count, image, w, h, true);
124 if (image[i * 4 + 3] == 0) {
127 // existing in the input image palett
90 CountColors(std::set<unsigned>* unique, const unsigned char* image, unsigned w, unsigned h, bool transparent_counts_as_one) argument
176 TryOptimize( const std::vector<unsigned char>& image, unsigned w, unsigned h, const lodepng::State& inputstate, bool bit16, const std::vector<unsigned char>& origfile, ZopfliPNGFilterStrategy filterstrategy, bool use_zopfli, int windowsize, const ZopfliPNGOptions* png_options, std::vector<unsigned char>* out) argument
277 AutoChooseFilterStrategy(const std::vector<unsigned char>& image, unsigned w, unsigned h, const lodepng::State& inputstate, bool bit16, const std::vector<unsigned char>& origfile, int numstrategies, ZopfliPNGFilterStrategy* strategies, bool* enable) argument
361 std::vector<unsigned char> image; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex.c54 struct gl_texture_image *image)
57 struct intel_texture_image *intel_image = intel_texture_image(image);
58 struct gl_texture_object *texobj = image->TexObject;
62 assert(image->Border == 0);
68 ctx->Driver.FreeTextureImageBuffer(ctx, image);
74 slices = image->Depth;
77 slices = image->Height;
85 _swrast_init_texture_image(image);
88 intel_miptree_match_image(intel_texobj->mt, image)) {
91 __FUNCTION__, texobj, image
53 intel_alloc_texture_image_buffer(struct gl_context *ctx, struct gl_texture_image *image) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_tex.c54 struct gl_texture_image *image)
57 struct intel_texture_image *intel_image = intel_texture_image(image);
58 struct gl_texture_object *texobj = image->TexObject;
62 assert(image->Border == 0);
68 ctx->Driver.FreeTextureImageBuffer(ctx, image);
74 slices = image->Depth;
77 slices = image->Height;
85 _swrast_init_texture_image(image);
88 intel_miptree_match_image(intel_texobj->mt, image)) {
91 __FUNCTION__, texobj, image
53 intel_alloc_texture_image_buffer(struct gl_context *ctx, struct gl_texture_image *image) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_tex.c54 struct gl_texture_image *image)
57 struct intel_texture_image *intel_image = intel_texture_image(image);
58 struct gl_texture_object *texobj = image->TexObject;
62 assert(image->Border == 0);
68 ctx->Driver.FreeTextureImageBuffer(ctx, image);
74 slices = image->Depth;
77 slices = image->Height;
85 _swrast_init_texture_image(image);
88 intel_miptree_match_image(intel_texobj->mt, image)) {
91 __FUNCTION__, texobj, image
53 intel_alloc_texture_image_buffer(struct gl_context *ctx, struct gl_texture_image *image) argument
[all...]

Completed in 7479 milliseconds

1234567891011>>