| /external/ImageMagick/coders/ |
| map.c | 137 *pixels; 168 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* 169 sizeof(*pixels)); 173 if ((pixels == (unsigned char *) NULL) || 213 Read image pixels. 218 p=pixels; 222 count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); 242 pixels=(unsigned char *) RelinquishMagickMemory(pixels); 369 *pixels; 134 *pixels; local 363 *pixels; local [all...] |
| avs.c | 128 *pixels; 170 pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); 173 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 177 count=ReadBlob(image,length,pixels); 180 p=pixels; 355 *pixels; 381 Allocate memory for pixels. 383 pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); 386 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 388 Convert MIFF to AVS raster pixels 125 *pixels; local 349 *pixels; local [all...] |
| ycbcr.c | 106 *pixels; 186 pixels=(const unsigned char *) NULL; 197 pixels=(const unsigned char *) ReadBlobStream(image,length, 209 Read pixels to virtual canvas image then push to image. 229 pixels=(const unsigned char *) ReadBlobStream(image,length, 245 quantum_info,quantum_type,pixels,exception); 278 pixels=(const unsigned char *) ReadBlobStream(image,length, 300 pixels=(const unsigned char *) ReadBlobStream(image,length, 319 quantum_info,quantum_type,pixels,exception); 365 pixels=(const unsigned char *) ReadBlobStream(image,length 103 *pixels; local 1020 *pixels; local [all...] |
| ipl.c | 185 unsigned char magick[12], *pixels; local 333 pixels=(unsigned char *) GetQuantumPixels(quantum_info); 347 (void) ReadBlob(image, length*image->depth/8, pixels); 352 GrayQuantum,pixels,exception); 359 (void) ReadBlob(image, length*image->depth/8, pixels); 364 RedQuantum,pixels,exception); 369 (void) ReadBlob(image, length*image->depth/8, pixels); 374 GreenQuantum,pixels,exception); 379 (void) ReadBlob(image, length*image->depth/8, pixels); 384 BlueQuantum,pixels,exception) 524 *pixels; local [all...] |
| /external/skia/src/codec/ |
| SkSampledCodec.cpp | 73 SkCodec::Result SkSampledCodec::onGetAndroidPixels(const SkImageInfo& info, void* pixels, 82 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions, 87 return this->sampledDecode(info, pixels, rowBytes, options); 95 return this->sampledDecode(info, pixels, rowBytes, options); 120 this->codec()->fillIncompleteImage(info, pixels, rowBytes, options.fZeroInitialized, 125 int decodedLines = this->codec()->getScanlines(pixels, scaledSubsetHeight, rowBytes); 138 SkCodec::Result SkSampledCodec::sampledDecode(const SkImageInfo& info, void* pixels, 208 this->codec()->fillIncompleteImage(info, pixels, rowBytes, options.fZeroInitialized, 212 void* pixelPtr = pixels; 215 this->codec()->fillIncompleteImage(info, pixels, rowBytes [all...] |
| SkWebpAdapterCodec.cpp | 25 SkCodec::Result SkWebpAdapterCodec::onGetAndroidPixels(const SkImageInfo& info, void* pixels, 43 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions, options.fColorPtr,
|
| /external/deqp/framework/delibs/deimage/ |
| deImage.c | 41 return (void*)((deUint8*)image->pixels + offset); 54 image->pixels = deMalloc(width * height * bpp); 55 if (!image->pixels) 60 memset(image->pixels, 0, width * height * bpp); 67 deFree(image->pixels); 105 memcpy(converted->pixels, image->pixels, width * height * deImageFormat_getBytesPerPixel(format)); 161 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels) 172 pixels[4*ndx+0] = (deUint8)deARGB_getRed(pixel); 173 pixels[4*ndx+1] = (deUint8)deARGB_getGreen(pixel) [all...] |
| deImage.h | 42 void* pixels; member in struct:deImage_s 60 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels);
|
| /external/skia/tests/ |
| EGLImageTest.cpp | 42 SkAutoTMalloc<uint32_t> pixels(pixelCnt); 43 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt); 46 pixels.get()); 51 if (pixels.get()[i] != expectedPixelValues[i]) { 53 " got 0x%08x.", i, expectedPixelValues[i], pixels.get()[i]); 62 SkAutoTMalloc<uint32_t> pixels(pixelCnt); 63 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt); 64 bool write = externalTexture->writePixels(0, 0, 0, 0, kRGBA_8888_GrPixelConfig, pixels.get()); 145 SkAutoTMalloc<uint32_t> pixels(kSize * kSize); 147 pixels.get()[i] = 0xDDAABBCC [all...] |
| TextureCompressionTest.cpp | 59 // leaving the pixels uninitialized, as they don't affect the test... 88 // leaving the pixels uninitialized, as they don't affect the test... 101 * Make sure that if you compress a texture with alternating black/white pixels, and 120 // Populate the pixels 122 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr()); local 123 REPORTER_ASSERT(reporter, pixels); 124 if (nullptr == pixels) { 131 pixels[x] = 0xFF; 133 pixels[x] = 0; 136 pixels += pixmap.rowBytes() 169 const uint8_t* pixels = reinterpret_cast<const uint8_t*>(pixmap.addr()); local 209 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr()); local [all...] |
| /external/chromium-trace/catapult/telemetry/telemetry/util/ |
| color_histogram_unittest.py | 53 pixels = [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 56 bmp = image_util.FromRGBPixels(4, 3, pixels) 73 pixels = [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 76 bmp = image_util.FromRGBPixels(4, 3, pixels) 90 pixels = [1, 2, 3, 4, 5, 6, 92 bmp = image_util.FromRGBPixels(2, 2, pixels) 109 pixels = [1, 2, 3, 1, 2, 3, 111 bmp = image_util.FromRGBPixels(2, 2, pixels)
|
| /external/mesa3d/src/mesa/drivers/dri/intel/ |
| intel_tex_subimage.c | 48 GLenum format, GLenum type, const void *pixels, 87 pixels = _mesa_validate_pbo_teximage(ctx, 2, width, height, 1, 88 format, type, pixels, packing, 90 if (!pixels) 124 format, type, pixels, packing)) { 158 const GLvoid * pixels, 165 format, type, pixels, packing)) { 169 format, type, pixels, packing);
|
| intel_pixel.h | 46 GLvoid * pixels); 54 const GLvoid * pixels); 65 const GLubyte * pixels);
|
| /external/mesa3d/src/mesa/swrast/ |
| s_drawpix.c | 56 const GLvoid *pixels) 59 _mesa_image_address2d(unpack, pixels, width, 103 const GLvoid *pixels) 106 _mesa_image_address2d(unpack, pixels, width, 152 const GLvoid *pixels) 155 _mesa_image_address2d(unpack, pixels, width, 196 const GLvoid *pixels) 229 &unpack, pixels); 238 &unpack, pixels); 245 format, type, &unpack, pixels); [all...] |
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
| GLToolbox.java | 70 public static void readFbo(int fboId, ByteBuffer pixels, int width, int height) { 72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) { 78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 114 public static void setTexturePixels(int texId, int target, ByteBuffer pixels, 118 // For some devices, "pixels" being null causes system error. 119 if (pixels == null) { 120 pixels = ByteBuffer.allocateDirect(width * height * 4); 123 GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels);
|
| /external/skia/src/utils/ |
| SkTextureCompressor_LATC.cpp | 85 // src pixels are divisible by 4, and copy 4x4 blocks one at a time 127 // Compress a block by using the bounding box of the pixels. It is assumed that 128 // there are no extremal pixels in this block otherwise we would have used 130 static uint64_t compress_latc_block_bb(const uint8_t pixels[]) { 134 minVal = SkTMin(pixels[i], minVal); 135 maxVal = SkTMax(pixels[i], maxVal); 148 uint8_t bestError = abs_diff(pixels[i], palette[0]); 151 uint8_t error = abs_diff(pixels[i], palette[j]); 169 // Compress a block by using the bounding box of the pixels without taking into 172 static uint64_t compress_latc_block_bb_ignore_extremal(const uint8_t pixels[]) { [all...] |
| /external/skia/include/c/ |
| sk_image.h | 19 * Return a new image that has made a copy of the provided pixels, or NULL on failure. 22 SK_API sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t*, const void* pixels, size_t rowBytes); 34 * Encode the image's pixels and return the result as a new PNG in a
|
| /packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
| Mosaic.java | 28 * while ((pixels = hasNextImage()) != null) { 29 * mosaic.setSourceImage(pixels); 102 * @param width width of the input frames in pixels 103 * @param height height of the input frames in pixels 118 * @param pixels source image of NV21 format. 125 public native float[] setSourceImage(byte[] pixels);
|
| /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
| image_util_bitmap_impl.py | 19 def Pixels(bitmap): 20 return bitmap.pixels 28 def FromRGBPixels(width, height, pixels, bpp): 29 return _bitmap.Bitmap(bpp, width, height, pixels)
|
| /external/opencv3/3rdparty/openexr/IlmImf/ |
| ImfPreviewImage.cpp | 51 const PreviewRgba pixels[]) 58 if (pixels) 61 _pixels[i] = pixels[i];
|
| /external/webp/src/dsp/ |
| lossless_neon.c | 79 const uint8x8_t pixels = vld1_u8((uint8_t*)src); local 80 vst1_u8(dst, vtbl1_u8(pixels, shuffle)); 99 uint8x8x4_t pixels; local 100 INIT_VECTOR4(pixels, 105 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)); 106 vst1_u8(dst + 8, vtbl4_u8(pixels, shuffle1)); 107 vst1_u8(dst + 16, vtbl4_u8(pixels, shuffle2)); 126 uint8x8x4_t pixels; local 127 INIT_VECTOR4(pixels, 132 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)) [all...] |
| /frameworks/base/media/mca/filterfw/native/core/ |
| gl_frame.h | 66 // Copies the pixels from another GL frame to this frame. 141 // Copies pixels from texture or FBO to the specified buffer. 144 // Reads the pixels from the internal texture to the given buffer. 145 bool ReadTexturePixels(uint8_t* pixels) const; 147 // Reads the pixels from the internal FBO to the given buffer. 148 bool ReadFboPixels(uint8_t* pixels) const; 150 // Writes the specified pixels to the internal texture. 151 bool UploadTexturePixels(const uint8_t* pixels);
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
| vp8_variance16x16_armv6.asm | 37 ; 1st 4 pixels 38 ldr r4, [r0, #0] ; load 4 src pixels 39 ldr r5, [r2, #0] ; load 4 ref pixels 53 orr r6, r6, r7 ; differences of all 4 pixels 59 uxtb16 r5, r6 ; byte (two pixels) to halfwords 60 uxtb16 r10, r6, ror #8 ; another two pixels to halfwords 63 ; 2nd 4 pixels 64 ldr r4, [r0, #4] ; load 4 src pixels 65 ldr r5, [r2, #4] ; load 4 ref pixels 76 orr r6, r6, r7 ; differences of all 4 pixels [all...] |
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/ |
| vp8_mse16x16_armv6.asm | 38 ; 1st 4 pixels 39 ldr r5, [r0, #0x0] ; load 4 src pixels 40 ldr r6, [r2, #0x0] ; load 4 ref pixels 54 orr r8, r8, r7 ; differences of all 4 pixels 56 ldr r5, [r0, #0x4] ; load 4 src pixels 59 uxtb16 r6, r8 ; byte (two pixels) to halfwords 60 uxtb16 r7, r8, ror #8 ; another two pixels to halfwords 63 ; 2nd 4 pixels 64 ldr r6, [r2, #0x4] ; load 4 ref pixels 75 orr r8, r8, r7 ; differences of all 4 pixels [all...] |
| /external/icu/icu4c/source/layout/ |
| MarkToLigaturePosnSubtables.cpp | 77 LEPoint ligatureAnchor, markAdvance, pixels; local 81 fontInstance->getGlyphAdvance(markGlyph, pixels); 82 fontInstance->pixelsToUnits(pixels, markAdvance); 94 fontInstance->getGlyphAdvance(ligatureGlyph, pixels); 95 fontInstance->pixelsToUnits(pixels, ligatureAdvance);
|