| /external/deqp/external/vulkancts/modules/vulkan/image/ |
| vktImageTestsUtil.hpp | 23 * \brief Image Tests Utility Classes 36 namespace image namespace in namespace:vkt 80 class Image 83 Image (const vk::DeviceInterface& vk, 97 Image (const Image&); // "deleted" 98 Image& operator= (const Image&); 101 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size used for addresing image in a shader 104 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of texels in an image [all...] |
| vktImageTestsUtil.cpp | 21 * \brief Image Tests Utility Classes 33 namespace image namespace in namespace:vkt 47 Image::Image (const DeviceInterface& vk, 83 DE_FATAL("Unknown image type"); 107 DE_FATAL("Unknown image type"); 133 DE_FATAL("Unknown image type"); 164 DE_FATAL("Unknown image type"); 188 DE_FATAL("Unknown image type"); 317 const VkImage image, [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
| vktSparseResourcesTestsUtil.hpp | 82 class Image 85 Image (const vk::DeviceInterface& vk, 99 Image (const Image&); 100 Image& operator= (const Image&); 105 const deUint32 mipLevel = 0); //!< Size used for addresing image in a shader 108 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of texels in an image 113 const vk::VkPhysicalDeviceLimits& limits); //!< Check is the requested image size is not above device limits 141 const vk::VkImage image, [all...] |
| /frameworks/base/media/java/android/media/ |
| Image.java | 25 * <p>A single complete image buffer to use with a media source such as a 30 * data of the Image through one or more 41 * from various media sources, not closing old Image objects will prevent the 43 * {@link ImageReader#getMaxImages the maximum outstanding image count} is 49 public abstract class Image implements AutoCloseable { 58 protected Image() { 62 * Throw IllegalStateException if the image is invalid (already closed). 68 throw new IllegalStateException("Image is already closed"); 72 * Get the format for this image. This format determines the number of 73 * ByteBuffers needed to represent the image, and the general layout of th [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
| PixMapWrapper.py | 4 Python Imaging Library Image object. 192 """Initialize this PixMap from a PIL Image object.""" 201 """Return the contents of this PixMap as a PIL Image object.""" 202 import Image 204 # whereas Image uses RGBA; a bit of slicing fixes this... 207 return Image.fromstring('RGBA',(bounds[2]-bounds[0],bounds[3]-bounds[1]),data) 212 import Image 213 path = EasyDialogs.AskFileForOpen("Image File:") 216 pm.fromImage( Image.open(path) )
|
| videoreader.py | 258 from PIL import Image 260 Image = None 280 if not Image: print 'Not', 282 if Image: 283 img = Image.fromstring("RGBA", (imgw, imgh), data)
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
| PixMapWrapper.py | 4 Python Imaging Library Image object. 192 """Initialize this PixMap from a PIL Image object.""" 201 """Return the contents of this PixMap as a PIL Image object.""" 202 import Image 204 # whereas Image uses RGBA; a bit of slicing fixes this... 207 return Image.fromstring('RGBA',(bounds[2]-bounds[0],bounds[3]-bounds[1]),data) 212 import Image 213 path = EasyDialogs.AskFileForOpen("Image File:") 216 pm.fromImage( Image.open(path) )
|
| videoreader.py | 258 from PIL import Image 260 Image = None 280 if not Image: print 'Not', 282 if Image: 283 img = Image.fromstring("RGBA", (imgw, imgh), data)
|
| /external/autotest/client/cros/graphics/ |
| drm.py | 18 from PIL import Image 357 def _screenshot(image, fb): 376 image.putpixel((x, y), rgb) 387 Take a screenshot, returning an image object. 403 image = Image.new("RGB", (fb.width, fb.height)) 404 pixels = _screenshot(image, fb) 405 return image
|
| /external/autotest/client/cros/multimedia/ |
| display_facade_adapter.py | 9 from PIL import Image 81 """Load a full screen calibration image from the HTTP server. 204 @param screenshot_func: function to take a screenshot and save the image 207 @return: An Image object. 208 Notice that the returned image may not be in RGB format, 213 return Image.open(f.name) 219 @return: An Image object. 229 @return: An Image object.
|
| /external/autotest/client/virt/ |
| virt_env_process.py | 7 import PIL.Image 9 logging.warning('No python imaging library installed. PPM image ' 21 Preprocess a single QEMU image according to the instructions in params. 24 @param params: A dict containing image preprocessing parameters. 25 @note: Currently this function just creates an image if requested. 32 logging.debug("Param 'force_create_image' specified, creating image") 39 raise error.TestError("Could not create image") 97 Postprocess a single QEMU image according to the instructions in params. 100 @param params: A dict containing image postprocessing parameters. 147 @param params: A dict containing all VM and image parameters [all...] |
| /external/autotest/server/cros/multimedia/ |
| display_facade_adapter.py | 12 from PIL import Image 89 """Load a full screen calibration image from the HTTP server. 213 @param screenshot_func: function to take a screenshot and save the image 216 @return: An Image object. 217 Notice that the returned image may not be in RGB format, 225 return Image.open(f.name) 231 @return: An Image object. 241 @return: An Image object.
|
| /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
| httpclient.py | 31 # the image scrambling functionality in this case. 33 import Image 35 Image = None 70 """If the |response| is an image, attempt to scramble it. 80 assert Image, '--scramble_images requires the PIL module to be installed.' 83 if content_type and content_type.startswith('image/'): 87 im = Image.open(StringIO.StringIO(image_data))
|
| /external/deqp/external/vulkancts/modules/vulkan/compute/ |
| vktComputeTestsUtil.cpp | 46 Image::Image (const DeviceInterface& vk, 197 const VkImage image, 207 image, // VkImage image; 257 const VkImage image, 270 image, // VkImage image;
|
| /packages/apps/Gallery/src/com/android/camera/gallery/ |
| Image.java | 38 public class Image extends BaseImage implements IImage { 45 public Image(BaseImageList container, ContentResolver cr, 72 return !"image/jpeg".equals(mimeType) && !"image/png".equals(mimeType); 136 * Save the rotated image by updating the Exif "Orientation" tag.
|
| /build/tools/releasetools/ |
| blockimgdiff.py | 77 class Image(object): 85 class EmptyImage(Image): 86 """A zero-length image.""" 102 class DataImage(Image): 103 """An image wrapped around a single string of data.""" 227 # BlockImageDiff works on two image objects. An image object is 232 # total_blocks: the total size of the partition/image, in blocks. 248 # data contained in the image blocks of that RangeSet. The data 255 # hash of all the data in the image (ie, all the blocks in th [all...] |
| /cts/apps/CameraITS/pymodules/its/ |
| image.py | 21 import Image 50 """Convert a captured image object to a RGB image. 60 RGB float-3 image array, with pixel values in [0.0, 1.0]. 124 """Unpack a raw-10 image to a raw-16 image. 126 Output image will have the 10 LSBs filled in each 16b word, and the 6 MSBs 130 img: A raw-10 image, as a uint8 numpy array. 133 Image as a uint16 numpy array, with all row padding stripped. 174 """Unpack a raw-12 image to a raw-16 image [all...] |
| /cts/apps/CameraITS/tests/sensor_fusion/ |
| test_sensor_fusion.py | 15 import its.image namespace 26 import Image 68 """Test if image and motion sensor events are well synchronized. 287 its.image.write_image(frame, "%s_features.png"%(NAME)) 301 # Assign a time to each frame that assumes that the image is instantly 321 img = Image.open("%s_frame%03d.png"%(NAME,i)) 382 img = its.image.convert_capture_to_rgb_image(c) 384 its.image.write_image(img, "%s_frame%03d.png"%(NAME,i))
|
| /external/chromium-trace/catapult/third_party/Paste/paste/ |
| url.py | 15 __all__ = ["URL", "Image"] 337 class Image(URLResource): 340 >>> i = Image('/images')
|
| /external/deqp/external/vulkancts/modules/vulkan/draw/ |
| vktDrawImageObjectUtil.cpp | 22 * \brief Image Object Util 146 Image::Image (const vk::DeviceInterface& vk, 164 tcu::ConstPixelBufferAccess Image::readSurface (vk::VkQueue queue, 188 tcu::ConstPixelBufferAccess Image::readVolume (vk::VkQueue queue, 213 tcu::ConstPixelBufferAccess Image::readSurface1D(vk::VkQueue queue, 237 void Image::read (vk::VkQueue queue, 252 de::SharedPtr<Image> stagingResource = copyToLinearImage(queue, allocator, layout, offset, width, 258 void Image::readUsingBuffer (vk::VkQueue queue, 336 barrier.image = object() [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
| vktDynamicStateImageObjectUtil.cpp | 22 * \brief Image Object Util 146 Image::Image (const vk::DeviceInterface& vk, 164 tcu::ConstPixelBufferAccess Image::readSurface (vk::VkQueue queue, 188 tcu::ConstPixelBufferAccess Image::readVolume (vk::VkQueue queue, 213 tcu::ConstPixelBufferAccess Image::readSurface1D(vk::VkQueue queue, 237 void Image::read (vk::VkQueue queue, 252 de::SharedPtr<Image> stagingResource = copyToLinearImage(queue, allocator, layout, offset, width, 258 void Image::readUsingBuffer (vk::VkQueue queue, 336 barrier.image = object() [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
| vktQueryPoolImageObjectUtil.cpp | 22 * \brief Image Object Util 147 Image::Image (const vk::DeviceInterface& vk, 165 tcu::ConstPixelBufferAccess Image::readVolume (vk::VkQueue queue, 190 tcu::ConstPixelBufferAccess Image::readSurface1D(vk::VkQueue queue, 214 void Image::read (vk::VkQueue queue, 229 de::SharedPtr<Image> stagingResource = copyToLinearImage(queue, allocator, layout, offset, width, 235 void Image::readUsingBuffer (vk::VkQueue queue, 313 barrier.image = object(); 360 tcu::ConstPixelBufferAccess Image::readSurfaceLinear (vk::VkOffset3D offset [all...] |
| /external/deqp/modules/egl/ |
| teglImageTests.cpp | 21 * \brief EGL image tests. 87 namespace Image 214 const EGLImageKHR image = egl.createImageKHR(dpy, context, source, 0, DE_NULL); local 218 checkCallReturn(m_eglTestCtx, call.str().c_str(), image, EGL_NO_IMAGE_KHR, expectError); 377 const EGLImageKHR image = m_source->createImage(egl, dpy, eglContext, clientBuffer->get()); local 379 if (image == EGL_NO_IMAGE_KHR) 387 // Destroy image 388 CHECK_EXT_CALL_RET(egl.destroyImageKHR(context.getEglDisplay(), image), (EGLBoolean)EGL_TRUE, EGL_SUCCESS); 454 // Create EGL image 456 EGLImageKHR image = CHECK_EXT_CALL_ERR(egl.createImageKHR(context.getEglDisplay(), context.getEglContext(), EGL_GL_ (…) local [all...] |
| /external/pdfium/samples/ |
| image_diff.cc | 39 class Image { 41 Image() : w_(0), h_(0) { 44 Image(const Image& image) 45 : w_(image.w_), 46 h_(image.h_), 47 data_(image.data_) { 66 // Creates the image from the given filename on disk, and returns true on 118 // Pixel dimensions of the image [all...] |
| /external/piex/src/ |
| piex_types.h | 33 // Defines the properties of an image. width and height are required for 34 // uncompressed images, but are optional for compressed images. An image is 36 struct Image { 48 bool operator>(const Image& rhs) const { 53 // Contains relevant image information as well as the 'preview_offset' and the 54 // 'preview_length' which are used to obtain the JPEG compressed preview image. 80 // Optional data to find the preview and thumbnail image to handle them 82 // has black borders at the top and bottom. If length is 0 the image could not 84 Image preview; 85 Image thumbnail [all...] |