HomeSort by relevance Sort by last modified time
    Searched defs:Image (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/deqp/modules/egl/
teglAndroidUtil.cpp 41 namespace Image
166 const EGLImageKHR image = egl.createImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuffer, attribs);
169 return image;
186 } // Image
teglAndroidUtil.hpp 32 namespace Image
37 } // Image
teglImageFormatTests.hpp 23 * \brief EGL image tests.
33 namespace Image
40 } // Image
teglImageUtil.hpp 47 namespace Image
84 } // Image
  /frameworks/base/libs/hwui/
Image.cpp 20 #include "Image.h"
25 Image::Image(sp<GraphicBuffer> buffer) {
35 ALOGW("Error creating image (%#x)", eglGetError());
45 ALOGW("Error creating image (%#x)", status);
50 Image::~Image() {
Image.h 34 class Image {
37 * Creates a new image from the specified graphic buffer. If the image
41 Image(sp<GraphicBuffer> buffer);
42 ~Image();
46 * from this image.
53 * Returns the name of the EGL image represented by this object.
62 }; // class Image
  /bootable/recovery/
interlace-frames.py 18 and turn it into a single output image which contains the input frames
29 import Image
37 frames = [Image.open(fn).convert("RGB") for fn in inputs]
47 out = Image.new("RGB", (w, h*N))
53 # When loading this image, the graphics library expects to find a text
70 img2 = Image.open(input)
84 out = Image.new('RGB', (width, height))
  /bootable/recovery/tools/ota/
convert-to-bmp.py 4 RGBA image."""
7 import Image
16 im = Image.open(infile)
37 "L" # size of image data (0 if uncompressed)
79 print >> sys.stderr, "Don't know how to handle image mode '%s'." % (im.mode,)
  /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/autotest/client/cros/image_comparison/
pdiff_image_comparer.py 6 import Image
24 Compares a test image against the specified golden image using the
27 @param golden_img_path: path, complete path to a golden image.
28 @param test_img_path: path, complete path to a test image.
46 Image.open(golden_img_path).crop(box).save(tmp_golden_img_path)
47 Image.open(test_img_path).crop(box).save(tmp_test_img_path)
56 @param golden_img_path: path, complete path to a golden image.
57 @param test_img_path: path, complete path to a test image.
59 @raise ValueError if image dimensions are not the same
    [all...]
rgb_image_comparer.py 7 from PIL import Image
25 Compares two RGB images using built-in python image library.
37 Compares a test image against a known golden image.
41 @param golden_img_path: path, complete path to a golden image.
42 @param test_img_path: path, complete path to a test image.
49 golden_image = Image.open(golden_img_path)
50 test_image = Image.open(test_img_path)
53 logging.debug('Golden image was not RGB. Converting to RGB.')
57 logging.debug('Test image was not RGB. Converting to RGB.'
    [all...]
  /external/autotest/client/tests/kvm/tests/
steps.py 12 import PIL.Image
14 logging.warning('No python imaging library installed. PPM image '
95 # Read image file
98 # Make sure image is valid
104 # Compute md5sum of whole image
119 image = PIL.Image.open(scrdump_filename)
120 image.save(history_scrdump_filename, format = 'JPEG',
135 # Insert image md5sum into queue of last seen images:
163 # Read expected screendump image
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeTestsUtil.hpp 60 class Image
63 Image (const vk::DeviceInterface& vk,
77 Image (const Image&); // "deleted"
78 Image& operator= (const Image&);
110 const vk::VkImage image,
136 const vk::VkImage image,
  /sdk/eclipse/scripts/
gen_icon.py 6 import Image, ImageDraw, ImageFont
49 img = Image.new("RGBA", (sz4, sz4), (255,255,255,0))
66 img = img.resize((sz, sz), Image.BICUBIC)
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusheaders.h 5 * FontFamily, Image, InstalledFontCollection, PrivateFontCollection,
51 class Image: public GdiplusBase
60 static Image* FromFile(const WCHAR *filename,
62 static Image* FromStream(IStream *stream,
65 Image(const WCHAR *filename, BOOL useEmbeddedColorManagement = FALSE);
66 Image(IStream *stream, BOOL useEmbeddedColorManagement = FALSE);
68 virtual ~Image()
72 virtual Image* Clone() const
78 Image *result = new Image(cloneImage, lastStatus)
    [all...]
  /cts/apps/CameraITS/tests/dng_noise_model/
dng_noise_model.py 18 import its.image namespace
24 import Image
90 idxs = its.image.get_canonical_cfa_order(props)
134 planes = its.image.convert_capture_to_planes(cap, props)
  /external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
style_sheet.py 10 class Image(object):
54 image = images_by_url[url]
56 ext = os.path.splitext(image.absolute_path)[1]
57 data = base64.standard_b64encode(image.contents)
59 return 'url(data:image/%s;base64,%s)' % (ext[1:], data)
85 image = self.loader.LoadImage(abs_path)
86 image.aliases.append(url)
87 return image
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawImageObjectUtil.hpp 24 * \brief Image Object Util
61 class Image
64 static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo);
66 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
214 de::SharedPtr<Image> copyToLinearImage (vk::VkQueue queue,
238 Image (const vk::DeviceInterface& vk,
246 Image (const Image& other); // Not allowed!
247 Image& operator= (const Image& other); // Not allowed
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
vktDynamicStateImageObjectUtil.hpp 24 * \brief Image Object Util
62 class Image
65 static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo);
67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
215 de::SharedPtr<Image> copyToLinearImage (vk::VkQueue queue,
239 Image (const vk::DeviceInterface& vk,
247 Image (const Image& other); // Not allowed!
248 Image& operator= (const Image& other); // Not allowed
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/query_pool/
vktQueryPoolImageObjectUtil.hpp 24 * \brief Image Object Util
61 class Image
64 static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo);
66 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
204 de::SharedPtr<Image> copyToLinearImage (vk::VkQueue queue,
228 Image (const vk::DeviceInterface& vk,
236 Image (const Image& other); // Not allowed!
237 Image& operator= (const Image& other); // Not allowed
    [all...]
  /external/opencv3/modules/python/test/
ticket_6.py 5 import Image
13 pilim = Image.open("large.jpg")
21 image = cv.CreateImage(self.size, cv.IPL_DEPTH_8U, 1)
22 cnt=cv.CountNonZero(image)
23 self.assertEqual(cnt, 0, msg="Created image is not black. CountNonZero=%i" % cnt)
28 image = cv.CreateImage(self.size, cv.IPL_DEPTH_8U, 1)
29 cnt+=cv.CountNonZero(image)
36 image = cv.CreateImage(self.size, cv.IPL_DEPTH_8U, 1)
37 cv.FillPoly(image, [[(0, 0), (0, 100), (100, 0)]], 0)
38 cnt+=cv.CountNonZero(image)
    [all...]
  /hardware/bsp/intel/peripheral/libupm/examples/python/
make_oled_pic.py 27 from PIL import Image
31 # We convert the image to greysacle and end up making it monochrome where we
38 print('Please specify an image to use as the only argument')
41 im = Image.open(sys.argv[1])
55 # grab every pixel of image (or datachunk)
73 carray = 'static uint8_t image[] = {\n' + ', '.join(str(x) for x in flatlist)
  /art/runtime/
parsed_options_test.cc 86 EXPECT_PARSED_EQ(std::string("boot_image"), Opt::Image);
  /external/autotest/client/cros/ui/
ui_test_base.py 14 from PIL import Image
29 This will get appended to screenshot file names so we know what image it is.
72 3. Download golden image.
73 4. Capture test image.
143 raise error.TestFail('Test Failed. Please see image comparison '
186 @param filepath: string, the complete path to the image
192 im = Image.open(filepath)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
image.py 45 class Image(TaggedEC2Object):
47 Represents an EC2 Image
51 super(Image, self).__init__(connection)
77 return 'Image:%s' % self.id
80 retval = super(Image, self).startElement(name, attrs, connection)
110 'Unexpected value of isPublic %s for image %s' % (
151 Update the image's state information by making a call to fetch
152 the current image attributes from the service.
156 image the update method returns quietly. If
167 raise ValueError('%s is not a valid Image ID' % self.id
    [all...]

Completed in 549 milliseconds

1 2 3 4