Searched refs:image (Results 126 - 150 of 522) sorted by relevance

1234567891011>>

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dpi.h98 /** number of components in the image */
116 * @param image the image being encoded.
123 opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *image,
131 * @param p_image the image being encoded.
159 @param image Raw image for which the packets will be listed
165 opj_pi_iterator_t *opj_pi_create_decode(opj_image_t * image,
/external/skia/src/core/
H A DSkPaintPriv.cpp54 bool isPaintOpaque(const SkPaint* paint, const SkImage* image) { argument
55 return isPaintOpaque(paint, image->isOpaque() ?
/external/skia/src/gpu/
H A DGrFontScaler.h73 int rowBytes, void* image);
76 void* image);
H A DGrAtlas.cpp60 bool GrPlot::addSubImage(int width, int height, const void* image, SkIPoint16* loc) { argument
77 const unsigned char* imagePtr = (const unsigned char*) image;
92 // otherwise, just upload the image directly
93 } else if (image) {
96 fTexture->writePixels(loc->fX, loc->fY, width, height, fTexture->config(), image, 0,
206 int width, int height, const void* image,
213 if (this == plot->fAtlas && plot->addSubImage(width, height, image, loc)) {
241 if (plot->addSubImage(width, height, image, loc)) {
205 addToAtlas(ClientPlotUsage* usage, int width, int height, const void* image, SkIPoint16* loc) argument
/external/skia/src/image/
H A DSkImage_Raster.cpp200 SkImage* image = NULL; local
202 image = SkNEW_ARGS(SkImage_Raster, (bm, props));
206 image = SkImage::NewRasterCopy(bm.info(), bm.getPixels(), bm.rowBytes());
211 if (image && props) {
212 as_IB(image)->initWithProps(*props);
215 return image;
218 const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* image) { argument
219 return ((const SkImage_Raster*)image)->getPixelRef();
/external/skia/tests/
H A DSurfaceTest.cpp139 SkImage* image = SkImage::NewRasterData(info, data, rowBytes); local
141 image->unref();
191 static void test_image_readpixels(skiatest::Reporter* reporter, SkImage* image, argument
202 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0));
206 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0));
207 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h));
208 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0));
209 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image
508 is_budgeted(SkImage* image) argument
634 test_image_color(skiatest::Reporter* reporter, SkImage* image, SkPMColor expected) argument
[all...]
H A DIndexedPngOverflowTest.cpp16 // A 20x1 image with 8 bits per pixel and a palette size of 2. Pixel values are 255, 254... Run
33 SkBitmap image; local
36 gPng, sizeof(gPng), &image, SkColorType::kUnknown_SkColorType,
43 canvas->drawBitmapRect(image, destRect, NULL);
/external/vboot_reference/scripts/image_signing/
H A Dconvert_recovery_to_full_ssd.sh7 # Script to convert a recovery image into an SSD image usable by factory.
19 Converts <signed_recovery_image> into a full SSD image usable by factory. Uses
20 stateful partition from SSD image <original_image_zip>.
41 echo "Extracting original SSD image."
52 echo "Replacing RootFS on the SSD with that of the RECOVERY image"
57 echo "Replacing KernelA on the SSD with that of the RECOVERY image"
61 # Overwrite the kernel vblock on the created SSD image.
75 echo "${RECOVERY_IMAGE} was converted to a factory SSD image: ${SSD_IMAGE}"
H A Densure_secure_kernelparams.sh58 echo "Usage $PROG image [config]"
76 local image="$1"
95 # which is the install kernel on the recovery image.
97 extract_image_partition "$image" 4 "$kernelblob"
99 mount_image_partition_ro "$image" 3 "$rootfs"
/external/vboot_reference/utility/include/
H A Dgbb_utility.h30 // load GBB from a BIOS image file.
34 // save loaded (and modified) GBB with BIOS image to new file
77 // search and count for GBB signatures in loaded image.
79 int search_header_signatures(const std::string &image, long *poffset) const;
81 // load and check header structure from image by given offset.
83 bool load_gbb_header(const std::string &image, long offset,
93 GoogleBinaryBlockHeader header_; // copy of GBB header from image
94 std::string file_content_; // complete image file content
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageBasedHeightMap.java42 * conversion of an image. The image used currently must have an equal height
43 * and width, although future work could scale an incoming image to a specific
55 public void setImage(Image image) { argument
56 this.colorImage = image;
60 * Creates a HeightMap from an Image. The image will be converted to
65 * work could rescale the image.
80 * Loads the image data from top left to bottom right
144 protected float getHeightAtPostion(ByteBuffer buf, Image image, int position, ColorRGBA store) { argument
145 switch (image
[all...]
/external/mesa3d/src/mesa/main/
H A Dconvolve.c47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument
55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument
119 GLsizei bufSize, GLvoid *image)
129 GLvoid *image)
131 _mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image);
118 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image) argument
128 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) argument
/external/e2fsprogs/misc/
H A De2image.c2 * e2image.c --- Program which writes an image file backing up
100 fprintf(stderr, _("Usage: %s [ -r|Q ] [ -fr ] device image-file\n"),
102 fprintf(stderr, _(" %s -I device image-file\n"), program_name);
288 * These set of functions are used to write a RAW image file.
738 static void init_l1_table(struct ext2_qcow2_image *image) argument
743 ret = ext2fs_get_arrayzero(image->l1_size, sizeof(__u64), &l1_table);
749 image->l1_table = l1_table;
752 static void init_l2_cache(struct ext2_qcow2_image *image) argument
764 count = (image->l1_size > L2_CACHE_PREALLOC) ? L2_CACHE_PREALLOC :
765 image
794 put_l2_cache(struct ext2_qcow2_image *image) argument
862 initialize_qcow2_image(int fd, ext2_filsys fs, struct ext2_qcow2_image *image) argument
978 flush_l2_cache(struct ext2_qcow2_image *image) argument
1012 get_free_table(struct ext2_qcow2_image *image, struct ext2_qcow2_l2_table **l2_table) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_texture.c50 * width0, height0, depth0 are the dimensions of the level 0 image
170 * Check if a texture image can be pulled into a unified mipmap texture.
174 const struct gl_texture_image *image)
180 if (image->Border)
183 /* Check if this image's format matches the established texture's format.
185 if (st_mesa_format_to_pipe_format(image->TexFormat) != pt->format)
188 st_gl_texture_dims_to_pipe_dims(image->TexObject->Target,
189 image->Width, image->Height, image
173 st_texture_match_image(const struct pipe_resource *pt, const struct gl_texture_image *image) argument
[all...]
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DImageToAwt.java41 import java.awt.image.*;
203 * Convert an AWT image to jME image.
205 public static void convert(BufferedImage image, Format format, ByteBuffer buf){ argument
210 int width = image.getWidth();
211 int height = image.getHeight();
225 int argb = image.getRGB(x, y);
239 // Set full alpha if target image has no alpha
244 // image is in luminance format
271 public static void createData(Image image, boolea argument
367 convert(Image image, boolean do16bit, boolean fullalpha, int mipLevel) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DUtils.java144 * Downsample Image to 8 bit depth format so that the resulting image data
145 * can be saved to GIF. Note. If the source image contains photo quality
175 public static ImageData downSample(Image image) { argument
176 ImageData data = image.getImageData();
218 // create a new image using the new palette:
219 // for each pixel in the old image, look up the best matching
361 * Get an icon image corresponding to a given level of confidence and explanation.
365 * @return Corresponding image
368 String image = null;
372 image
392 saveImage(File outputFile, Image image) argument
[all...]
/external/lldb/examples/python/
H A Dsymbolication.py199 """A class that represents an executable image and any associated data"""
391 for image in self.images:
392 s += ' %s\n' % (image)
397 for image in self.images:
398 if image.identifier == identifier:
399 images.append(image)
403 for image in self.images:
404 if image.get_section_containing_load_addr (load_addr):
405 return image
413 for image i
[all...]
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp244 CGImageRef image) {
272 CGContextDrawImage(cg, CGRectMake(0, 0, info.width(), info.height()), image);
277 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image, SkISize* scaleToFit) { argument
278 const int width = scaleToFit ? scaleToFit->width() : SkToInt(CGImageGetWidth(image));
279 const int height = scaleToFit ? scaleToFit->height() : SkToInt(CGImageGetHeight(image));
287 if (!SkCopyPixelsFromCGImage(tmp.info(), tmp.rowBytes(), tmp.getPixels(), image)) {
291 CGImageAlphaInfo cgInfo = CGImageGetAlphaInfo(image);
243 SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* pixels, CGImageRef image) argument
/external/eigen/Eigen/src/Eigen2Support/
H A DLU.h38 MatrixType::RowsAtCompileTime, // the image is a subspace of the destination space, whose dimension is the number
40 Dynamic, // we don't know at compile time the dimension of the image (the rank)
42 MatrixType::MaxRowsAtCompileTime, // the image matrix will consist of columns from the original matrix,
73 *result = static_cast<const Base*>(this)->image(m_originalMatrix);
76 const ImageResultType image() const function in class:Eigen::LU
78 return static_cast<const Base*>(this)->image(m_originalMatrix);
/external/google-breakpad/src/client/mac/handler/
H A Ddynamic_images.cc241 bool FindTextSection(DynamicImage& image) { argument
247 reinterpret_cast<const mach_header_type*>(&image.header_[0]);
265 image.vmaddr_ = static_cast<mach_vm_address_t>(seg->vmaddr);
266 image.vmsize_ = static_cast<mach_vm_size_t>(seg->vmsize);
267 image.slide_ = 0;
270 image.slide_ =
271 (uintptr_t)image.GetLoadAddress() - (uintptr_t)seg->vmaddr;
283 image.version_ = dc->dylib.current_version;
319 uint32_t GetFileTypeFromHeader(DynamicImage& image) { argument
323 reinterpret_cast<const mach_header_type*>(&image
545 DynamicImage *image = GetImage(i); local
[all...]
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub.c128 const uint8_t **image, int *image_size)
131 *image = fake_image;
146 VbError_t VbExEcUpdateRW(int devidx, const uint8_t *image, int image_size) argument
127 VbExEcGetExpectedRW(int devidx, enum VbSelectFirmware_t select, const uint8_t **image, int *image_size) argument
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_fbo.c39 #include "main/image.h"
291 __DRIimage *image; local
294 image = screen->dri2.image->lookupEGLImage(screen, image_handle,
296 if (image == NULL)
300 switch (image->format) {
303 "glEGLImageTargetRenderbufferStorage(unsupported image format");
314 image->format,
315 image->region);
319 rb->InternalFormat = image
513 intel_renderbuffer_update_wrapper(struct intel_context *intel, struct intel_renderbuffer *irb, struct gl_texture_image *image, uint32_t layer) argument
604 struct gl_texture_image *image = _mesa_get_attachment_teximage(att); local
670 struct gl_texture_image *image = local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_fbo.c39 #include "main/image.h"
291 __DRIimage *image; local
294 image = screen->dri2.image->lookupEGLImage(screen, image_handle,
296 if (image == NULL)
300 switch (image->format) {
303 "glEGLImageTargetRenderbufferStorage(unsupported image format");
314 image->format,
315 image->region);
319 rb->InternalFormat = image
513 intel_renderbuffer_update_wrapper(struct intel_context *intel, struct intel_renderbuffer *irb, struct gl_texture_image *image, uint32_t layer) argument
604 struct gl_texture_image *image = _mesa_get_attachment_teximage(att); local
670 struct gl_texture_image *image = local
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_fbo.c39 #include "main/image.h"
291 __DRIimage *image; local
294 image = screen->dri2.image->lookupEGLImage(screen, image_handle,
296 if (image == NULL)
300 switch (image->format) {
303 "glEGLImageTargetRenderbufferStorage(unsupported image format");
314 image->format,
315 image->region);
319 rb->InternalFormat = image
513 intel_renderbuffer_update_wrapper(struct intel_context *intel, struct intel_renderbuffer *irb, struct gl_texture_image *image, uint32_t layer) argument
604 struct gl_texture_image *image = _mesa_get_attachment_teximage(att); local
670 struct gl_texture_image *image = local
[all...]
/external/libpng/
H A Dexample.c21 * parts, like allocating memory to hold an image. You will have to
32 * The following code reads PNG image data from a file and writes it, in a
48 png_image image; /* The control structure used by libpng */
51 memset(&image, 0, (sizeof image));
52 image.version = PNG_IMAGE_VERSION;
55 if (png_image_begin_read_from_file(&image, argv[1]))
63 image.format = PNG_FORMAT_RGBA;
65 /* Now allocate enough memory to hold the image in this format; the
66 * PNG_IMAGE_SIZE macro uses the information about the image (widt
[all...]

Completed in 2491 milliseconds

1234567891011>>