Searched refs:pixels (Results 151 - 175 of 653) sorted by relevance

1234567891011>>

/external/qemu/android/skin/
H A Dimage.c219 void* pixels; /* 32-bit ARGB */ member in struct:SkinImage
242 if (image->pixels) {
243 free( image->pixels );
244 image->pixels = NULL;
309 * the values as 32-bit ARGB pixels, so swap the bytes accordingly depending
329 image->pixels = data;
333 image->surface = sdl_surface_from_argb32( image->pixels, w, h );
389 D( "skin_image_cache: remove '%s' (rot=%d), %d pixels\n",
507 node->pixels = rotate_image( parent->pixels, paren
[all...]
/external/chromium_org/cc/layers/
H A Dtexture_layer_impl.cc112 uint8* pixels = local
120 swizzled[i] = pixels[i + 2];
121 swizzled[i + 1] = pixels[i + 1];
122 swizzled[i + 2] = pixels[i];
123 swizzled[i + 3] = pixels[i + 3];
125 pixels = &swizzled[0];
130 pixels,
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_unittest.cc43 scoped_ptr<uint8[]> pixels(new uint8 [16*16*4]);
44 memset(pixels.get(), 0, 16*16*4);
46 pixels.get());
/external/chromium_org/third_party/libwebp/dsp/
H A Dlossless_neon.c79 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, shuffle
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dyuvtorgbeffect.cpp51 unsigned char* pixels[3]; variable
53 pixels[i] = (unsigned char*)fBmp[i].getPixels();
61 pixels[i][j] = (unsigned char)color[i];
H A Dxfermodes2.cpp109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); variable
115 pixels[kSize * y + x] = rowColor;
123 pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels());
129 pixels[kSize * y + x] = colColor;
/external/chromium_org/third_party/skia/include/core/
H A DSkSurface.h22 * drawing, the surface will be pixels, but (for example) when drawing into
33 * Create a new surface, using the specified pixels/rowbytes as its
39 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes,
46 static SkSurface* NewRasterDirectReleaseProc(const SkImageInfo&, void* pixels, size_t rowBytes,
47 void (*releaseProc)(void* pixels, void* context),
51 * Return a new surface, with the memory for the pixels automatically
62 * pixels in SkPMColor format.
188 * Returns an image of the current state of the surface pixels up to this
204 * If the surface has direct access to its pixels (i.e. they are in local
205 * RAM) return the const-address of those pixels, an
[all...]
/external/skia/tests/
H A DTextureCompressionTest.cpp88 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap.getPixels()); local
89 REPORTER_ASSERT(reporter, NULL != pixels);
92 pixels[i] = lum;
104 // value. The remaining indices can be any value, and since we try to match the pixels
/external/webp/src/dsp/
H A Dlossless_neon.c79 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, shuffle
[all...]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DPlanarYUVLuminanceSource.java26 * superfluous pixels around the perimeter and speed up decoding.
112 int[] pixels = new int[width * height];
120 pixels[outputOffset + x] = 0xFF000000 | (grey * 0x00010101);
126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height);
/external/chromium_org/cc/blink/
H A Dweb_external_bitmap_impl.h33 virtual uint8* pixels() OVERRIDE;
/external/chromium_org/cc/output/
H A Dsoftware_output_device.h50 // Copies pixels inside |rect| from the current software framebuffer to
51 // |pixels|. Fails if there is no current softwareframebuffer.
52 virtual void CopyToPixels(const gfx::Rect& rect, void* pixels);
/external/chromium_org/content/browser/compositor/
H A Dsoftware_output_device_ozone_unittest.cc177 SkPMColor pixels[width * height]; local
178 output_device_->CopyToPixels(area, pixels);
187 EXPECT_EQ(white, pixels[i * area.width() + j]);
189 EXPECT_EQ(black, pixels[i * area.width() + j]);
H A Dsoftware_output_device_win.h32 virtual void CopyToPixels(const gfx::Rect& rect, void* pixels) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDecodingImageGenerator.h41 // memory with decoded pixels.
55 virtual bool onGetPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.cpp53 // Global resource ceiling (expressed in terms of pixels) for DrawingBuffer creation and resize.
230 unsigned char* pixels = bitmap->pixels(); local
233 if (pixels)
234 readBackFramebuffer(pixels, size().width(), size().height(), ReadbackSkia, op);
931 RefPtr<Uint8ClampedArray> pixels = Uint8ClampedArray::createUninitialized(width * height * 4);
934 readBackFramebuffer(pixels->data(), width, height, ReadbackRGBA, WebGLImageConversion::AlphaDoNothing);
935 flipVertically(pixels->data(), width, height);
937 return pixels.release();
942 unsigned char* pixels local
981 readBackFramebuffer(unsigned char* pixels, int width, int height, ReadbackOrder readbackOrder, WebGLImageConversion::AlphaOp op) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES2.h21 GLint border, GLenum format, GLenum type, const GLvoid *pixels);
/external/chromium_org/ui/gfx/
H A Dgdi_util.h51 void* pixels, const BITMAPINFO* bitmap_info);
/external/deqp/framework/delibs/deimage/
H A DdeTarga.c86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp);
156 /* Store pixels. */
158 const deUint32* pixels = image->pixels; local
163 deUint32 c = pixels[ndx];
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp186 // Helper to load pixels from a byte stream received over a socket.
187 static IplImage* loadPixels(char* pixels, int width, int height) { argument
196 IMAGE( img, x, y, 0 ) = pixels[pos + 3] & 0xFF;
198 IMAGE( img, x, y, 1 ) = pixels[pos + 2] & 0xFF;
200 IMAGE( img, x, y, 2 ) = pixels[pos + 1] & 0xFF;
261 // If we read all of the data we expected, we will load the frame from the pixels.
268 LOGV("full read of pixels failed");
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c191 current->pixels = this->hidden->buffer;
234 if (this->screen->pixels != NULL)
236 SDL_free(this->screen->pixels);
237 this->screen->pixels = NULL;
/external/skia/gm/
H A Dxfermodes2.cpp108 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); variable
114 pixels[kSize * y + x] = rowColor;
122 pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels());
128 pixels[kSize * y + x] = colColor;
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11yuv.c116 memset(overlay->pixels[0] + y * overlay->pitches[0],
121 memset(overlay->pixels[1] + y * overlay->pitches[1],
123 memset(overlay->pixels[2] + y * overlay->pitches[2],
133 Uint8 *pixel_pair = overlay->pixels[0] +
147 Uint8 *pixel_pair = overlay->pixels[0] +
399 overlay->pixels = (Uint8 **)SDL_malloc(overlay->planes * sizeof(Uint8 *));
400 if ( !overlay->pitches || !overlay->pixels ) {
407 overlay->pixels[i] = (Uint8 *)hwdata->image->data +
529 if ( overlay->pixels ) {
530 SDL_free(overlay->pixels);
[all...]
/external/chromium_org/cc/resources/
H A Dshared_bitmap.cc24 uint8* pixels,
27 : memory_(NULL), pixels_(pixels), id_(id), free_callback_(free_callback) {
23 SharedBitmap( uint8* pixels, const SharedBitmapId& id, const base::Callback<void(SharedBitmap* bitmap)>& free_callback) argument
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dapple_xgl_api_read.c100 GLenum format, GLenum type, void *pixels)
106 __ogl_framework_api->ReadPixels(x, y, width, height, format, type, pixels);
99 __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels) argument

Completed in 817 milliseconds

1234567891011>>