/external/autotest/client/deps/glbench/src/ |
png_helper.h | 8 void write_png_file(const char* file_name, char* pixels, int width, int height);
|
/external/clang/test/CodeGen/ |
2010-06-17-asmcrash.c | 9 void avg_pixels8_mmx2(uint8_t *block, const uint8_t *pixels, int line_size, int h) 12 :"+g"(h), "+S"(pixels), "+D"(block)
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfPreviewImageAttribute.cpp | 64 const PreviewRgba *pixels = _value.pixels(); local 68 Xdr::write <StreamIO> (os, pixels[i].r); 69 Xdr::write <StreamIO> (os, pixels[i].g); 70 Xdr::write <StreamIO> (os, pixels[i].b); 71 Xdr::write <StreamIO> (os, pixels[i].a); 88 PreviewRgba *pixels = p.pixels(); local 92 Xdr::read <StreamIO> (is, pixels[i].r); 93 Xdr::read <StreamIO> (is, pixels[i].g) [all...] |
ImfPreviewImage.h | 76 // PreviewImage(w,h,p) constructs a preview image with w by h pixels 78 // coordinates of the pixels in p go from 0 to w-1, and from 0 to h-1. 81 // If p is zero, the pixels in the preview image are initialized with 88 const PreviewRgba pixels[] = 0); 107 PreviewRgba * pixels () {return _pixels;} function in class:Imf::PreviewImage 108 const PreviewRgba * pixels () const {return _pixels;} function in class:Imf::PreviewImage 112 // Access to individual pixels
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_draw.c | 48 const GLvoid * pixels) 52 unpack, pixels); 57 unpack, pixels);
|
/external/skia/src/image/ |
SkReadPixelsRec.h | 17 SkReadPixelsRec(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y) 18 : fPixels(pixels)
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
sad_media.asm | 37 ldr r6, [r0, #0x0] ; load 4 src pixels (1A) 38 ldr r8, [r2, #0x0] ; load 4 ref pixels (1A) 39 ldr r7, [r0, #0x4] ; load 4 src pixels (1A) 40 ldr r9, [r2, #0x4] ; load 4 ref pixels (1A) 41 ldr r10, [r0, #0x8] ; load 4 src pixels (1B) 42 ldr r11, [r0, #0xC] ; load 4 src pixels (1B) 44 usada8 r4, r8, r6, r4 ; calculate sad for 4 pixels 45 usad8 r8, r7, r9 ; calculate sad for 4 pixels 47 ldr r12, [r2, #0x8] ; load 4 ref pixels (1B) 48 ldr lr, [r2, #0xC] ; load 4 ref pixels (1B [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
vp8_sad16x16_armv6.asm | 38 ldr r6, [r0, #0x0] ; load 4 src pixels (1A) 39 ldr r8, [r2, #0x0] ; load 4 ref pixels (1A) 40 ldr r7, [r0, #0x4] ; load 4 src pixels (1A) 41 ldr r9, [r2, #0x4] ; load 4 ref pixels (1A) 42 ldr r10, [r0, #0x8] ; load 4 src pixels (1B) 43 ldr r11, [r0, #0xC] ; load 4 src pixels (1B) 45 usada8 r4, r8, r6, r4 ; calculate sad for 4 pixels 46 usad8 r8, r7, r9 ; calculate sad for 4 pixels 48 ldr r12, [r2, #0x8] ; load 4 ref pixels (1B) 49 ldr lr, [r2, #0xC] ; load 4 ref pixels (1B [all...] |
/external/icu/icu4c/source/layout/ |
AnchorTables.cpp | 56 LEPoint pixels; local 58 fontInstance->transformFunits(x, y, pixels); 60 fontInstance->pixelsToUnits(pixels, anchor); 82 LEPoint pixels; local 86 fontInstance->transformFunits(x, y, pixels); 92 pixels.fX += adjx; 99 pixels.fY += adjy; 102 fontInstance->pixelsToUnits(pixels, anchor);
|
ValueRecords.cpp | 47 LEPoint pixels; local 49 fontInstance->transformFunits(value, 0, pixels); 51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 57 LEPoint pixels; local 59 fontInstance->transformFunits(0, value, pixels); 61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 67 LEPoint pixels; local 69 fontInstance->transformFunits(value, 0, pixels); 77 LEPoint pixels; local 151 LEPoint pixels; local 161 LEPoint pixels; local 171 LEPoint pixels; local 181 LEPoint pixels; local [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
Throughput.java | 30 public Throughput(int totalFrames, int periodFrames, int periodTime, int pixels) { 34 mPixels = pixels;
|
/external/ImageMagick/MagickCore/ |
quantum-private.h | 70 **pixels; member in struct:_QuantumInfo 176 unsigned char *pixels) 178 *pixels++=pixel; 179 return(pixels); 183 const unsigned int pixel,unsigned char *pixels) 191 *pixels++=(unsigned char) (quantum); 192 *pixels++=(unsigned char) (quantum >> 8); 193 *pixels++=(unsigned char) (quantum >> 16); 194 *pixels++=(unsigned char) (quantum >> 24); 195 return(pixels); [all...] |
/external/v8/test/mjsunit/ |
pixel-array-rounding.js | 30 var pixels = new Uint8ClampedArray(11); 34 pixels[i] = (i * 1.1); 36 pixels[8] = 255.5; 37 pixels[9] = NaN; 38 pixels[10] = -0.5; 39 return pixels[1] + pixels[6]; 44 assertEquals(6, pixels[5]); 47 assertEquals(6, pixels[5]); 48 assertEquals(255, pixels[8]) [all...] |
/external/ImageMagick/www/source/core/ |
sigmoidal-contrast.c | 20 *pixels; local 26 pixels=GetImageViewAuthenticPixels(contrast_view); 29 pixels[x].red=RoundToQuantum(SigmoidalContrast(pixels[x].red)); 30 pixels[x].green=RoundToQuantum(SigmoidalContrast(pixels[x].green)); 31 pixels[x].blue=RoundToQuantum(SigmoidalContrast(pixels[x].blue)); 32 pixels[x].opacity=RoundToQuantum(SigmoidalContrast(pixels[x].opacity)) [all...] |
/frameworks/webview/chromium/plat_support/ |
graphics_utils.cpp | 76 PixelInfo* pixels = new PixelInfo(canvas); local 77 if (!pixels->state) { 78 delete pixels; 79 pixels = NULL; 81 return pixels; 84 void ReleasePixels(AwPixelInfo* pixels) { 85 delete static_cast<PixelInfo*>(pixels);
|
/external/ImageMagick/coders/ |
pcl.c | 491 const unsigned char *previous_pixels,const unsigned char *pixels, 512 if (*pixels++ != *previous_pixels++) 522 if (*pixels == *previous_pixels) 526 pixels++; 546 for (pixels-=i; i != 0; ) 549 *q++=(*pixels++); 562 const unsigned char *pixels,unsigned char *compress_pixels) 580 Compress pixels with Packbits encoding. 591 *q++=(*pixels); 598 *q++=(*pixels); 691 *pixels, local [all...] |
hdr.c | 177 *pixels; 404 Read RGBE (red+green+blue+exponent) pixels. 406 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* 407 sizeof(*pixels)); 408 if (pixels == (unsigned char *) NULL) 414 count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); 415 if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) 425 (void) memcpy(pixels,pixel,4*sizeof(*pixel)); 426 count=ReadBlob(image,4*(image->columns-1)*sizeof(*pixels),pixels+4) 173 *pixels; local 686 *pixels; local [all...] |
aai.c | 126 *pixels; 168 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, 169 4*sizeof(*pixels)); 170 if (pixels == (unsigned char *) NULL) 175 count=ReadBlob(image,length,pixels); 178 p=pixels; 204 pixels=(unsigned char *) RelinquishMagickMemory(pixels); 352 *pixels; 378 Allocate memory for pixels 123 *pixels; local 346 *pixels; local [all...] |
hrz.c | 123 *pixels; 151 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,3* 152 sizeof(*pixels)); 153 if (pixels == (unsigned char *) NULL) 158 count=ReadBlob(image,length,pixels); 161 p=pixels; 178 pixels=(unsigned char *) RelinquishMagickMemory(pixels); 298 *pixels; 319 Allocate memory for pixels 120 *pixels; local 292 *pixels; local [all...] |
/external/skia/include/codec/ |
SkAndroidCodec.h | 190 * Decode into the given pixels, a block of memory of size at 227 SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 237 SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 239 SkCodec::Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { 240 return this->getAndroidPixels(info, pixels, rowBytes); 253 virtual SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels,
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
ScreenUtils.java | 52 * be padded accordingly. Pixels that fall outside of the current screen will have RGBA values of 0.
77 ByteBuffer pixels = BufferUtils.newByteBuffer(h * w * 4);
local 78 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
79 putPixelsBack(pixmap, pixels);
83 public static void putPixelsBack (Pixmap pixmap, ByteBuffer pixels) {
85 putPixelsBack(((HasArrayBufferView)pixels).getTypedArray(), pixmap.getWidth(), pixmap.getHeight(), pixmap.getContext());
89 private native static void putPixelsBack (ArrayBufferView pixels, int width, int height, Context2d ctx)/*-{
94 data[i] = pixels[i] & 0xff;
104 * @param flipY whether to flip pixels along Y axis */
113 * are larger than the framebuffer dimensions, the Texture will be padded accordingly. Pixels that fall outside of the current 121 final ByteBuffer pixels = BufferUtils.newByteBuffer(w * h * 4); local [all...] |
/external/mesa3d/src/mesa/main/ |
readpix.h | 41 GLvoid *pixels); 45 GLenum format, GLenum type, GLvoid *pixels ); 50 GLvoid *pixels );
|
texgetimage.h | 38 GLenum format, GLenum type, GLvoid *pixels, 51 GLenum format, GLenum type, GLvoid *pixels ); 54 GLenum type, GLsizei bufSize, GLvoid *pixels );
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
_bitmap.py | 6 Bitmap is a basic wrapper for image pixels. It includes some basic processing 30 def __init__(self, dimensions, pixels): 46 if type(pixels) is not bytearray: 47 pixels = bytearray(pixels) 48 self._popen.stdin.write(pixels) 89 def __init__(self, bpp, width, height, pixels, metadata=None): 93 assert pixels, 'Must specify pixels' 94 assert bpp * width * height == len(pixels), 'Dimensions and pixels mismatch 123 def pixels(self): member in class:Bitmap [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
ScreenUtils.java | 49 * be padded accordingly. Pixels that fall outside of the current screen will have RGBA values of 0.
74 ByteBuffer pixels = pixmap.getPixels();
local 75 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
85 * @param flipY whether to flip pixels along Y axis */
94 * are larger than the framebuffer dimensions, the Texture will be padded accordingly. Pixels that fall outside of the current
99 * @param flipY whether to flip pixels along Y axis */
102 final ByteBuffer pixels = BufferUtils.newByteBuffer(w * h * 4);
local 103 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
109 pixels.position((h - i - 1) * numBytesPerLine);
110 pixels.get(lines, i * numBytesPerLine, numBytesPerLine); [all...] |