Searched defs:pixels (Results 201 - 225 of 318) sorted by relevance

1234567891011>>

/external/chromium_org/ui/display/chromeos/
H A Ddisplay_configurator_unittest.cc180 void set_max_configurable_pixels(int pixels) { argument
181 max_configurable_pixels_ = pixels;
252 // |max_configurable_pixels_| represents the maximum number of pixels that
/external/chromium_org/ui/gfx/
H A Dicon_util.cc79 // This will also filter out images with no pixels.
196 // transparent) and the XOR mask contains the actual image pixels. If the XOR
200 // are zero. So the monochrome bitmap is created with all pixels transparent
201 // for this case. Otherwise, it is created with all pixels opaque.
215 // Make all pixels transparent.
409 // bitmap has an alpha channel is by looking through the pixels and checking
523 bool IconUtil::PixelsHaveAlpha(const uint32* pixels, size_t num_pixels) { argument
524 for (const uint32* end = pixels + num_pixels; pixels != end; ++pixels) {
[all...]
/external/chromium_org/ui/gl/
H A Dgl_gl_api_implementation.cc130 const void* pixels) {
136 pixels);
141 GLsizei height, GLenum format, GLenum type, const void* pixels) {
144 target, level, xoffset, yoffset, width, height, format, gl_type, pixels);
127 CustomTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument
139 CustomTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp500 GLW_APICALL void GLW_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) argument
549 const tcu::PixelBufferAccess targetAccess (transferFormat, targetRowLength, infiniteHeight, 1, targetRowPitch, 0, pixels);
/external/libyuv/files/source/
H A Dmjpeg_decoder.cc258 uint8* dest, int pixels, int numrows) {
260 memcpy(dest, source, pixels);
261 dest += pixels;
257 CopyRows(uint8* source, int source_stride, uint8* dest, int pixels, int numrows) argument
/external/opencv/
H A Dcvjni.cpp170 int *pixels = env->GetIntArrayElements(array_data, 0); local
171 if (pixels == 0) {
172 LOGE("Error getting int array of pixels.");
176 IplImage *image = loadPixels(pixels, width, height);
177 env->ReleaseIntArrayElements(array_data, pixels, 0);
677 int* pixels;
706 pixels = env->GetIntArrayElements(photo_data1, 0);
707 frameImage = loadPixels(pixels, width, height);
717 pixels = env->GetIntArrayElements(photo_data2, 0);
718 frameImage = loadPixels(pixels, widt
[all...]
/external/pixman/demos/
H A Dscale.c268 uint32_t *pixels; local
270 pixels = calloc (1, area->width * area->height * 4);
272 PIXMAN_a8r8g8b8, area->width, area->height, pixels, area->width * 4);
284 (uint8_t *)pixels, CAIRO_FORMAT_ARGB32,
295 free (pixels);
/external/qemu/android/
H A Dmain.c973 int64_t pixels = hw->hw_lcd_width * hw->hw_lcd_height; local
984 if (pixels <= 250000)
986 else if (pixels <= 500000)
/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/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_surface.c113 surface->pixels = NULL;
122 /* Get the pixels */
126 surface->pixels = SDL_malloc(surface->h*surface->pitch);
127 if ( surface->pixels == NULL ) {
133 SDL_memset(surface->pixels, 0, surface->h*surface->pitch);
154 SDL_Surface * SDL_CreateRGBSurfaceFrom (void *pixels, argument
164 surface->pixels = pixels;
318 buf = (Uint8 *)surface->pixels + row * surface->pitch + offset;
603 row = (Uint8 *)dst->pixels
689 Uint16 *pixels = (Uint16 *)row; local
710 Uint8 *pixels = row; local
[all...]
/external/qemu/hw/android/goldfish/
H A Dfb.c216 pixels_to_mm(int pixels, int dpi) argument
223 return (int)(0.5 + 25.4 * pixels / dpi);
260 /* Determine the smallest bounding rectangle of pixels which changed
291 * changed pixels.
313 /* Then compute actual bounds of the changed pixels, while
342 /* Convert the guest pixels into host ones */
412 /* Convert the guest pixels into host ones */
429 /* Update bounds if pixels on this line were modified */
/external/skia/include/core/
H A DSkBitmap.h30 and height, and a format (colortype), and a pointer to the actual pixels.
33 A const SkBitmap exposes getAddr(), which lets a caller write its pixels;
65 * Default construct creates a bitmap with zero width and height, and no pixels.
71 * Copy the settings from the src into this bitmap. If the src has pixels
73 * reference the same memory for the pixels. If a deep copy is needed,
74 * where the new bitmap has its own separate copy of the pixels, use
81 /** Copies the src bitmap into this bitmap. Ownership of the src bitmap's pixels remains
119 * Return the rowbytes expressed as a number of pixels (like width and height).
157 * Note: this changes the alphatype for the underlying pixels, which means
158 * that all bitmaps that might be sharing (subsets of) the pixels wil
329 installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, void (*releaseProc)(void* addr, void* context), void* context) argument
341 installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) argument
[all...]
/external/skia/src/gpu/gl/
H A DGrGLCreateNullInterface.cpp139 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} argument
/external/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp135 GrGLvoid* pixels) {
185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels);
129 debugGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) argument
/external/skia/tests/
H A DReadPixelsTest.cpp101 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local
104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local
126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
152 // checks the bitmap contains correct pixels after the readPixels
153 // if the bitmap was prefilled with pixels it checks that these weren't
350 // if the bitmap has pixels allocated before the readPixels,
365 // read pixels should never change the gen id
372 // if we had no pixels beforehand and the readPixels
373 // failed then our bitmap should still not have pixels
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_window_resizer.cc572 // Reallocate any leftover pixels back into the main window. This is
575 // Adding the pixels back to the main window effectively prevents the main
635 int pixels,
637 bool shrinking = pixels < 0;
646 int remaining_pixels = pixels;
649 int grow_by = pixels * ratios[i];
650 // Put any leftover pixels into the last window.
657 // Because this window overflowed, some of the pixels in
659 // unfairly giving all those pixels to the last window, we refrain from
661 // the pixels fairl
634 GrowFairly( int pixels, std::vector<WindowSize>& sizes) const argument
[all...]
/external/chromium_org/cc/output/
H A Drenderer_pixeltest.cc129 std::vector<uint32_t> pixels(rect.size().GetArea(), pixel_color);
138 reinterpret_cast<uint8_t*>(&pixels.front()),
166 // All pixels can be off by one, but any more than that is an error.
2126 // At a scale of 4x the rectangles with a width of 2.5 will take up 10 pixels,
2185 uint32_t pixels[16] = { local
2199 reinterpret_cast<uint8_t*>(pixels),
/external/chromium_org/cc/resources/
H A Dresource_provider.h140 // Update pixels from image, copying source_rect (in image) to dest_offset (in
347 // Asynchronously update pixels from acquired pixel buffer.
372 // Copy pixels from source to destination.
396 Resource(uint8_t* pixels,
410 // Pixel buffer used for set pixels without unnecessary copying.
412 // Query used to determine when asynchronous set pixels complete.
418 uint8_t* pixels; member in struct:cc::ResourceProvider::Resource
601 // set resource pixels without performing unnecessary copying.
613 // Maps the acquired image so that its pixels could be modified.
614 // Unmap is called when all pixels ar
[all...]
H A Dresource_provider_unittest.cc73 uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory()); local
74 CHECK(pixels);
75 std::fill_n(pixels, size.GetArea(), value);
209 const void* pixels) OVERRIDE {
217 if (pixels)
218 SetPixels(0, 0, width, height, pixels);
229 const void* pixels) OVERRIDE {
238 ASSERT_TRUE(pixels); variable
239 SetPixels(xoffset, yoffset, width, height, pixels);
271 uint8_t* pixels) {
269 GetPixels(const gfx::Size& size, ResourceFormat format, uint8_t* pixels) argument
301 SetPixels(int xoffset, int yoffset, int width, int height, const void* pixels) argument
336 GetResourcePixels(ResourceProvider* resource_provider, ResourceProviderContext* context, ResourceProvider::ResourceId id, const gfx::Size& size, ResourceFormat format, uint8_t* pixels) argument
2652 uint8_t pixels[16] = { 0 }; local
3273 uint8_t pixels[8]; local
[all...]
/external/chromium_org/cc/test/
H A Dtest_gles2_interface.cc179 const void* pixels) {
188 pixels);
199 const void* pixels) {
201 target, level, xoffset, yoffset, width, height, format, type, pixels);
235 const void* pixels) {
244 pixels);
255 const void* pixels) {
257 target, level, xoffset, yoffset, width, height, format, type, pixels);
171 TexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument
191 TexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
227 AsyncTexImage2DCHROMIUM(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument
247 AsyncTexSubImage2DCHROMIUM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper.cc160 // Note that dst_size is specified in bytes, not pixels.
201 // thread, by resetting the texture and pixels fields. Alternatively, the
202 // thread marks that it handles the request by resetting the pixels field
216 pixels(pixels_),
225 unsigned char* pixels; member in struct:content::GLHelper::CopyTextureToImpl::Request
310 // Copies the block of pixels specified with |src_subrect| from |src_texture|,
630 memcpy(request->pixels, data,
633 unsigned char* out = request->pixels;
/external/chromium_org/gpu/command_buffer/service/
H A Dtexture_manager.h713 const void* pixels; member in struct:gpu::gles2::TextureManager::DoTextImage2DArguments
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dearth.cc82 uint32_t* pixels; member in struct:__anon8304::Texture
84 pixels = new uint32_t[w * h];
85 memset(pixels, 0, sizeof(uint32_t) * w * h);
88 pixels = new uint32_t[w * h];
89 memcpy(pixels, p, sizeof(uint32_t) * w * h);
91 ~Texture() { delete[] pixels; }
207 uint32_t* pixels);
403 uint32_t* pixels = this->wGetAddr(x0, y);
421 *pixels = kColorBlack;
422 ++pixels;
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
H A Dearth.cc139 uint32_t* pixels; member in struct:__anon8306::Texture
141 pixels = new uint32_t[w * h];
142 memset(pixels, 0, sizeof(uint32_t) * w * h);
145 pixels = new uint32_t[w * h];
146 memcpy(pixels, p, sizeof(uint32_t) * w * h);
148 ~Texture() { delete[] pixels; }
255 uint32_t* pixels);
468 uint32_t* pixels = this->wGetAddr(x0, y);
486 *pixels = kColorBlack;
487 ++pixels;
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dvoronoi.cc113 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width);
245 // Quickly fill a span of pixels with a solid color. Assumes
248 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { argument
254 *pixels++ = color;
255 *pixels++ = color;
256 *pixels++ = color;
257 *pixels++ = color;
266 uint32_t* pixels = wGetAddr(x, y); local
268 wFillSpan(pixels, color, w);
269 pixels
282 uint32_t* pixels = wGetAddr(x, y); local
[all...]

Completed in 1003 milliseconds

1234567891011>>