HomeSort by relevance Sort by last modified time
    Searched refs:image (Results 276 - 300 of 3785) sorted by null

<<11121314151617181920>>

  /external/python/cpython2/Modules/
imgfile.c 5 ** an object of image file class, and have routines to manipulate these
6 ** image files in a neater way (so you can get rgb images off a greyscale
8 ** image bits into python, etc).
15 #include <gl/image.h>
30 /* The image library does not always call the error hander :-(,
48 /* Open an image file and return a pointer to it.
51 static IMAGE *
54 IMAGE *image; local
58 if ( (image = iopen(fname, "r")) == NULL )
95 IMAGE *image; local
253 IMAGE *image; local
380 IMAGE *image; local
395 IMAGE *image; local
    [all...]
  /external/ImageMagick/coders/
jpeg.c 13 % Read/Write JPEG Image Format %
63 #include "MagickCore/image.h"
64 #include "MagickCore/image-private.h"
119 Image
120 *image;
131 Image
132 *image;
149 Image
150 *image;
183 WriteJPEGImage(const ImageInfo *,Image *,ExceptionInfo *)
118 *image; member in struct:_DestinationManager
130 *image; member in struct:_ErrorManager
148 *image; member in struct:_SourceManager
317 *image; local
350 *image; local
390 *image; local
449 *image; local
543 *image; local
652 *image; local
1007 *image; local
    [all...]
xwd.c 54 #include "MagickCore/image.h"
55 #include "MagickCore/image-private.h"
82 WriteXWDImage(const ImageInfo *,Image *,ExceptionInfo *);
97 % IsXWD() returns MagickTrue if the image format type, identified by the
106 % o magick: compare image format pattern against these bytes.
138 % ReadXWDImage() reads an X Window System window dump image file and
139 % returns it. It allocates the memory necessary for the new Image structure
140 % and returns a pointer to the new image.
144 % Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)
148 % o image_info: the image info
159 *image; local
    [all...]
histogram.c 13 % Write A Histogram Image. %
55 #include "MagickCore/image-private.h"
77 WriteHISTOGRAMImage(const ImageInfo *,Image *,ExceptionInfo *);
91 % RegisterHISTOGRAMImage() adds attributes for the Histogram image format
92 % to the list of supported formats. The attributes include the image format
108 entry=AcquireMagickInfo("HISTOGRAM","HISTOGRAM","Histogram of the image");
153 % WriteHISTOGRAMImage() writes an image to a file in Histogram format.
154 % The image shows a histogram of the color (or gray) values in the image. The
155 % image consists of three overlaid histograms: a red one for the red channel
    [all...]
  /external/autotest/client/cros/chameleon/
screen_capture.py 9 from PIL import Image
46 @return An Image object.
49 image = self._chameleon_port.capture_screen()
52 pmin, pmax = image_generator.ImageGenerator.get_extrema(image)
55 image = Image.eval(image, _unlevel)
56 return image
75 @return An Image object.
78 image = self._chameleon_port.capture_screen(
    [all...]
  /external/mesa3d/src/intel/vulkan/
anv_image.c 74 /* blorp implements transfers by sampling from the source image. */
80 /* blorp implements transfers by rendering into the destination image.
93 get_surface(struct anv_image *image, VkImageAspectFlags aspect)
99 return &image->color_surface;
101 return &image->depth_surface;
103 return &image->stencil_surface;
108 add_surface(struct anv_image *image, struct anv_surface *surf)
112 surf->offset = align_u32(image->size, surf->isl.alignment);
113 image->size = surf->offset + surf->isl.size;
114 image->alignment = MAX2(image->alignment, surf->isl.alignment)
265 struct anv_image *image = NULL; local
    [all...]
anv_dump.c 56 VkImage image; member in struct:dump_image
61 dump_image_init(struct anv_device *device, struct dump_image *image,
67 image->filename = filename;
68 image->extent = (VkExtent2D) { width, height };
82 }, NULL, &image->image);
86 anv_GetImageMemoryRequirements(vk_device, image->image, &reqs);
93 }, NULL, &image->memory);
96 result = anv_BindImageMemory(vk_device, image->image, image->memory, 0)
    [all...]
  /frameworks/base/media/java/android/media/
ImageWriter.java 41 * The ImageWriter class allows an application to produce Image data into a
53 * The input Image data is encapsulated in {@link Image} objects. To produce
54 * Image data into a destination {@link android.view.Surface Surface}, the
55 * application can get an input Image via {@link #dequeueInputImage} then write
56 * Image data into it. Multiple such {@link Image} objects can be dequeued at
61 * If the application already has an Image from {@link ImageReader}, the
62 * application can directly queue this Image into the ImageWriter (via
64 * even works if the image format of the ImageWriter i
    [all...]
  /external/syslinux/gpxe/src/core/
downloader.c 29 #include <gpxe/image.h>
34 * Image downloader
48 /** Image to contain downloaded file */
49 struct image *image; member in struct:downloader
50 /** Current position within image buffer */
52 /** Image registration routine */
53 int ( * register_image ) ( struct image *image );
65 image_put ( downloader->image );
    [all...]
  /external/tensorflow/tensorflow/compiler/tests/
extract_image_patches_op_test.py 32 def _VerifyValues(self, image, ksizes, strides, rates, padding, patches):
36 image: Input tensor with shape: [batch, in_rows, in_cols, depth].
57 feed_dict = {image_placeholder: image}
63 image = np.reshape(range(120), [2, 3, 4, 5])
68 image,
78 image = np.reshape(range(120), [2, 4, 5, 3])
80 patches = image[:, ::2, ::3, :]
83 image,
93 image = [[[[1], [2]], [[3], [4]]]]
97 image,
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
extract_image_patches_op_test.py 31 def _VerifyValues(self, image, ksizes, strides, rates, padding, patches):
35 image: Input tensor with shape: [batch, in_rows, in_cols, depth].
48 constant_op.constant(image),
59 image = np.reshape(range(120), [2, 3, 4, 5])
64 image,
74 image = np.reshape(range(120), [2, 4, 5, 3])
76 patches = image[:, ::2, ::3, :]
79 image,
89 image = [[[[1], [2]], [[3], [4]]]]
93 image,
    [all...]
  /external/ImageMagick/MagickCore/
constitute.c 13 % MagickCore Methods to Consitute an Image %
57 #include "MagickCore/image-private.h"
96 % ConstituteImage() returns an image from the pixel data you supply.
100 % create a 640x480 image from unsigned red-green-blue character data, use:
102 % image = ConstituteImage(640,480,"RGB",CharPixel,pixels,&exception);
106 % Image *ConstituteImage(const size_t columns,const size_t rows,
112 % o columns: width in pixels of the image.
114 % o rows: height in pixels of the image.
134 MagickExport Image *ConstituteImage(const size_t columns,const size_t rows,
138 Image
137 *image; local
200 magick_unreferenced(image); variable
213 *image; local
271 *image, local
381 *image, local
794 *image, local
890 *image; local
    [all...]
  /external/skia/gm/
repeated_bitmap.cpp 13 static void draw_rotated_image(SkCanvas* canvas, const SkImage* image) {
16 if (!image) {
22 SkScalar scale = SkTMin(128.0f / image->width(),
23 128.0f / image->height());
24 SkScalar point[2] = {-0.5f * image->width(), -0.5f * image->height()};
32 canvas->drawImage(image, point[0], point[1]);
  /external/skqp/gm/
repeated_bitmap.cpp 13 static void draw_rotated_image(SkCanvas* canvas, const SkImage* image) {
16 if (!image) {
22 SkScalar scale = SkTMin(128.0f / image->width(),
23 128.0f / image->height());
24 SkScalar point[2] = {-0.5f * image->width(), -0.5f * image->height()};
32 canvas->drawImage(image, point[0], point[1]);
  /packages/apps/Camera2/src/com/android/camera/burst/
RingBuffer.java 49 * Insert an image in the ring buffer, evicting any frames if necessary.
51 * @param image the image to be inserted.
53 public synchronized void insertImage(T image) {
54 long timestamp = image.getTimestamp();
56 image.close();
59 // Add image to ring buffer so it can be closed in case eviction
61 addImage(image);
98 private synchronized void addImage(T image) {
99 mImages.put(image.getTimestamp(), image) local
    [all...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
ImageUtils.java 32 * Blurs the given image by scaling it down by the given factor and applying the given
36 public static Bitmap blur(Context context, @NonNull Bitmap image, float scale, float radius) {
37 int width = Math.round(image.getWidth() * scale);
38 int height = Math.round(image.getHeight() * scale);
40 if (image.getConfig() != Bitmap.Config.ARGB_8888) {
41 image = image.copy(Bitmap.Config.ARGB_8888, true);
44 Bitmap inputBitmap = Bitmap.createScaledBitmap(image, width, height, false);
  /packages/apps/Gallery/tests/src/com/android/camera/gallery/
MockImageList.java 36 public int getImageIndex(IImage image) {
37 return mList.indexOf(image);
44 public boolean removeImage(IImage image) {
45 return mList.remove(image);
52 public void addImage(MockImage image) {
53 mList.add(image);
54 image.setContainer(this);
  /cts/apps/CameraITS/tests/scene1/
test_jpeg.py 15 import its.image
42 img = its.image.convert_capture_to_rgb_image(cap)
43 its.image.write_image(img, "%s_fmt=yuv.jpg" % (NAME))
44 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
45 rgb0 = its.image.compute_image_means(tile)
51 img = its.image.decompress_jpeg_to_rgb_image(cap["data"])
52 its.image.write_image(img, "%s_fmt=jpg.jpg" % (NAME))
53 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
54 rgb1 = its.image.compute_image_means(tile)
test_yuv_plus_jpeg.py 15 import its.image
42 # should look the same (once converted by the its.image module).
48 img = its.image.convert_capture_to_rgb_image(cap_yuv, True)
49 its.image.write_image(img, "%s_yuv.jpg" % (NAME))
50 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
51 rgb0 = its.image.compute_image_means(tile)
53 img = its.image.convert_capture_to_rgb_image(cap_jpeg, True)
54 its.image.write_image(img, "%s_jpeg.jpg" % (NAME))
55 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
56 rgb1 = its.image.compute_image_means(tile
    [all...]
test_yuv_plus_raw.py 19 import its.image
38 # should look the same (once converted by the its.image module).
52 img = its.image.convert_capture_to_rgb_image(cap_yuv)
53 its.image.write_image(img, "%s_shading=%d_yuv.jpg" % (NAME, mode), True)
54 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
55 rgb0 = its.image.compute_image_means(tile)
59 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props)
60 its.image.write_image(img, "%s_shading=%d_raw.jpg" % (NAME, mode), True)
61 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
62 rgb1 = its.image.compute_image_means(tile
    [all...]
test_yuv_plus_raw10.py 19 import its.image
38 # should look the same (once converted by the its.image module).
53 img = its.image.convert_capture_to_rgb_image(cap_yuv)
54 its.image.write_image(img, "%s_shading=%d_yuv.jpg" % (NAME, mode), True)
55 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
56 rgb0 = its.image.compute_image_means(tile)
60 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props)
61 its.image.write_image(img, "%s_shading=%d_raw.jpg" % (NAME, mode), True)
62 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
63 rgb1 = its.image.compute_image_means(tile
    [all...]
test_yuv_plus_raw12.py 15 import its.image
38 # should look the same (once converted by the its.image module).
50 img = its.image.convert_capture_to_rgb_image(cap_yuv)
51 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True)
52 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
53 rgb0 = its.image.compute_image_means(tile)
57 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props)
58 its.image.write_image(img, "%s_raw.jpg" % (NAME), True)
59 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
60 rgb1 = its.image.compute_image_means(tile
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
intel_tex.c 63 struct gl_texture_image *image)
66 struct intel_texture_image *intel_image = intel_texture_image(image);
67 struct gl_texture_object *texobj = image->TexObject;
70 assert(image->Border == 0);
73 if (image->NumSamples) {
74 image->NumSamples = intel_quantize_num_samples(brw->screen, image->NumSamples);
75 if (!image->NumSamples)
83 ctx->Driver.FreeTextureImageBuffer(ctx, image);
85 if (!_swrast_init_texture_image(image))
160 struct gl_texture_image *image = texobj->Image[face][level]; local
281 struct gl_texture_image *image = texObj->Image[face][level]; local
313 struct gl_texture_image *image = tex_obj->Image[0][0]; local
    [all...]
  /external/tensorflow/tensorflow/contrib/image/python/ops/
distort_image_ops.py 20 from tensorflow.contrib.image.ops import gen_distort_image_ops
33 def random_hsv_in_yiq(image,
40 """Adjust hue, saturation, value of an RGB image randomly in YIQ color space.
49 image: RGB image or images. Size of the last dimension must be 3.
98 return adjust_hsv_in_yiq(image, delta_hue, scale_saturation, scale_value)
101 def adjust_hsv_in_yiq(image,
106 """Adjust hue, saturation, value of an RGB image in YIQ color space.
108 This is a convenience method that converts an RGB image to float
114 `image` is an RGB image. The image hue is adjusted by converting th
    [all...]
  /cts/apps/CameraITS/tools/
convert_yuv_to_jpg.py 15 import its.image
23 w: The width of the image.
24 h: The height of the image.
32 img = its.image.load_yuv420_to_rgb_image(fname, w,h, layout=layout)
33 its.image.write_image(img, fname.replace(".yuv",".jpg"), False)

Completed in 466 milliseconds

<<11121314151617181920>>