/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 230 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 244 bool SkGpuDevice::onWritePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument 246 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 255 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); 675 // to properly blend partially covered pixels. This means the AA 850 // pixels from the bitmap are necessary. 1005 // destination pixels sample the border area.
|
/external/chromium_org/third_party/skia/tests/ |
H A D | BlurTest.cpp | 255 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); local 258 result[i] = SkColorGetR(pixels[i]);
|
/external/chromium_org/ui/gfx/ |
H A D | skbitmap_operations.cc | 526 // Loop through the pixels of the original bitmap. 528 SkPMColor* pixels = bitmap.getAddr32(0, y); local 531 (*line_proc)(hsl_shift, pixels, tinted_pixels, bitmap.width()); 549 // Loop through the pixels of the original bitmap. 611 // and red and blue ("rb"). Each channel gets averaged across 4 pixels
|
/external/chromium_org/ui/native_theme/ |
H A D | native_theme_win.cc | 668 // values for fully-opaque pixels; instead the pixels get alpha 0. This is 671 // To work-around this, mark all pixels with a placeholder value, to detect 672 // which pixels get touched by the paint operation. After paint, set any 673 // pixels that have alpha 0 to opaque and placeholders to fully-transparent. 696 // Copy the pixels to a bitmap that has ref-counted pixel storage, which is 703 // Post-process the pixels to fix up the alpha values (see big comment above). 706 SkPMColor* pixels = bitmap.getAddr32(0, 0); local 708 if (pixels[i] == placeholder_value) { 710 pixels[ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | pack.c | 149 _mesa_unpack_bitmap( GLint width, GLint height, const GLubyte *pixels, argument 155 if (!pixels) 168 _mesa_image_address2d(packing, pixels, width, height, 1326 * Pack/store the pixels. Ugh! Lots of cases!!! 2986 * Return source/dest RGBA indexes for unpacking pixels. 3123 * Args: n - number of pixels 4233 * n - number of pixels in the span 4759 /* Extract image data as uint[4] pixels */ 4912 * n - number of pixels 5131 * n - number of pixels 5839 _mesa_unpack_image( GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack ) argument [all...] |
H A D | texcompress_fxt1.c | 64 const GLubyte *pixels; local 85 pixels = tempImage; 90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, 115 const GLubyte *pixels; local 135 pixels = tempImage; 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 149 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, 1627 fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */
|
H A D | teximage.c | 1697 * Return compressed texture block size, in pixels. 2893 *width = *width - 2; /* reduce the width by two border pixels */ 2898 *height = *height - 2; /* reduce the height by two border pixels */ 2903 *depth = *depth - 2; /* reduce the depth by two border pixels */ 2921 GLsizei imageSize, const GLvoid *pixels) 2937 width, height, depth, border, pixels); 2946 _mesa_lookup_enum_by_nr(type), pixels); 2988 width, height, imageSize, pixels); 3075 /* Give the texture to the driver. <pixels> may be null. */ 3079 imageSize, pixels); 2917 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) argument [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 476 * If 'pixels' is NULL, leave the texture image data undefined. 482 const GLvoid *pixels) 501 pixels = _mesa_map_pbo_source(ctx, unpack, pixels); 502 if (!pixels) 540 pixels, /* data source */ 832 const GLvoid *pixels) 876 pixels = _mesa_map_pbo_source(ctx, &clippedUnpack, pixels); 877 assert(pixels); 479 make_texture(struct st_context *st, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 829 draw_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 1090 st_DrawPixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument [all...] |
H A D | st_cb_texture.c | 526 GLenum format, GLenum type, const void *pixels, 530 _mesa_store_teximage(ctx, dims, texImage, format, type, pixels, unpack); 551 GLenum format, GLenum type, GLvoid *pixels, 620 pixels = _mesa_map_pbo_dest(ctx, &ctx->Pack, pixels); 631 GLvoid *dest = _mesa_image_address2d(&ctx->Pack, pixels, width, 652 GLvoid *dest = _mesa_image_address2d(&ctx->Pack, pixels, width, 687 GLenum format, GLenum type, GLvoid * pixels, 698 decompress_with_blit(ctx, format, type, pixels, texImage); 701 _mesa_get_teximage(ctx, format, type, pixels, texImag 524 st_TexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument 550 decompress_with_blit(struct gl_context * ctx, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 686 st_GetTexImage(struct gl_context * ctx, GLenum format, GLenum type, GLvoid * pixels, struct gl_texture_image *texImage) argument [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_icc.cpp | 195 void IccLib_TranslateImage(void* pTransform, unsigned char* pDest, const unsigned char* pSrc, int pixels)
argument 197 cmsDoTransform(((CLcmsCmm*)pTransform)->m_hTransform, (void*)pSrc, pDest, pixels);
539 void CCodec_IccModule::TranslateScanline(void* pTransform, FX_LPBYTE pDest, FX_LPCBYTE pSrc, int pixels)
argument 541 IccLib_TranslateImage(pTransform, pDest, pSrc, pixels);
|
/external/qemu/android/skin/ |
H A D | trackball.c | 163 unsigned* pixels; member in struct:SkinTrackBall 229 ball->pixels = (unsigned*)calloc( diameter2*diameter2, sizeof(unsigned) ); 230 ball->surface = sdl_surface_from_argb32( ball->pixels, diameter2, diameter2 ); 391 if (ball->pixels) { 392 free( ball->pixels ); 393 ball->pixels = NULL; 476 unsigned* pixels = ball->pixels; local 544 pixels[coord->x + diameter*coord->y] = color;
|
/external/qemu/distrib/sdl-1.2.15/include/ |
H A D | SDL_video.h | 93 /** This structure should be treated as read-only, except for 'pixels', 101 void *pixels; /**< Read-write */ member in struct:SDL_Surface 213 Uint8 **pixels; /**< Read-write */ member in struct:SDL_Overlay 342 * updates asynchronously, but you must always lock before accessing pixels. 474 * SDL_PHYSPAL -- set physical palette, which controls how pixels look on 533 * this surface, but you must always lock it before accessing the pixels. 546 * and the only way to access the pixels member of the surface is to use 557 extern DECLSPEC SDL_Surface * SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels, 563 * SDL_LockSurface() sets up a surface for directly accessing the pixels. 565 * to and read from 'surface->pixels', usin [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_video.c | 481 /* Now choose the mode that has less pixels */ 810 /* If the implementation either supports the packed pixels 861 SDL_memset( SDL_VideoSurface->pixels, 255, SDL_VideoSurface->h * SDL_VideoSurface->pitch ); 1594 (Uint8 *)this->screen->pixels + 1753 case 1: { Uint8 *pixels; local 1755 pixels = (Uint8 *)icon->pixels + y*icon->pitch; 1757 if ( *pixels++ == colorkey ) { 1765 case 2: { Uint16 *pixels; local 1767 pixels 1781 case 4: { Uint32 *pixels; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
H A D | SDL_dx5video.c | 1502 if ( video->pixels == NULL ) { 1506 video->pixels = (void *)SDL_malloc(video->h*video->pitch); 1507 if ( video->pixels == NULL ) { 1533 if ( video->pixels != NULL ) { 1534 SDL_free(video->pixels); 1535 video->pixels = NULL; 1756 ddsd.lpSurface = surface->pixels; 1778 if ( ddsd.lpSurface != surface->pixels ) { 2087 surface->pixels = ddsd.lpSurface; 2094 surface->pixels 2462 Uint8 *pixels; local [all...] |
/external/skia/include/core/ |
H A D | SkCanvas.h | 62 * The caller can access the pixels after drawing into this canvas by 89 * specified pixels. To access the pixels after drawing to them, the caller should call 104 static SkCanvas* NewRasterDirectN32(int width, int height, SkPMColor* pixels, size_t rowBytes) { argument 105 return NewRasterDirect(SkImageInfo::MakeN32Premul(width, height), pixels, rowBytes); 109 * Creates an empty canvas with no backing device/pixels, and zero 116 * by any device/pixels. Typically this use used by subclasses who handle 137 * Return ImageInfo for this canvas. If the canvas is not backed by pixels 164 * the bitmap of the pixels that the canvas draws into. The reference count 204 * If the canvas has writable pixels i [all...] |
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 64 // way to track changes to raw pixels across multiple SkBitmaps. 248 void* p = fPixelRef->pixels(); 400 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, argument 411 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, 469 /** We explicitly use the same allocator for our pixels that SkMask does, 822 return false; // no src pixels 906 // if we have a texture, first get those pixels 917 // (GrPixelRef) assumes premultiplied pixels. 987 // to be sure we don't read too much, only copy our logical pixels 1172 // Allocation of pixels fo [all...] |
/external/skia/src/effects/ |
H A D | SkBlurMask.cpp | 37 * "transpose" parameter is true, it will transpose the pixels on write, 716 void SkBlurMask::ComputeBlurredScanline(uint8_t *pixels, const uint8_t *profile, argument 731 pixels[x] = ProfileLookup(profile, x, width, w); 735 pixels[x] = (uint8_t) (255 * (gaussianIntegral(giX) - gaussianIntegral(giX + span)));
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 266 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 280 bool SkGpuDevice::onWritePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument 282 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 291 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); 707 // to properly blend partially covered pixels. This means the AA 881 // pixels from the bitmap are necessary. 1036 // destination pixels sample the border area.
|
/external/skia/tests/ |
H A D | BlurTest.cpp | 255 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); local 258 result[i] = SkColorGetR(pixels[i]);
|
/external/chromium_org/cc/resources/ |
H A D | resource_provider.cc | 215 pixels(NULL), 261 pixels(NULL), 293 ResourceProvider::Resource::Resource(uint8_t* pixels, argument 304 pixels(pixels), 333 DCHECK(origin == Delegated || pixels); 348 pixels(NULL), 520 uint8_t* pixels; local 522 pixels = bitmap->pixels(); 585 uint8_t* pixels = reinterpret_cast<uint8_t*>(shared_memory->memory()); local 1925 uint8_t* pixels = local [all...] |
H A D | resource_provider_unittest.cc | 85 uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory()); local 86 CHECK(pixels); 87 std::fill_n(pixels, size.GetArea(), value); 221 const void* pixels) OVERRIDE { 229 if (pixels) 230 SetPixels(0, 0, width, height, pixels); 241 const void* pixels) OVERRIDE { 250 ASSERT_TRUE(pixels); variable 251 SetPixels(xoffset, yoffset, width, height, pixels); 283 uint8_t* pixels) { 281 GetPixels(const gfx::Size& size, ResourceFormat format, uint8_t* pixels) argument 313 SetPixels(int xoffset, int yoffset, int width, int height, const void* pixels) argument 348 GetResourcePixels(ResourceProvider* resource_provider, ResourceProviderContext* context, ResourceProvider::ResourceId id, const gfx::Size& size, ResourceFormat format, uint8_t* pixels) argument 2979 uint8_t pixels[16] = { 0 }; local 3596 uint8_t pixels[8]; local [all...] |
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 64 const void* pixels) {} 73 const void* pixels) {} 170 const void* pixels) {} 180 const void* pixels) {} 395 scoped_ptr<uint8[]> pixels; member in struct:cc::TestWebGraphicsContext3D::Buffer 406 scoped_ptr<uint8[]> pixels; member in struct:cc::TestWebGraphicsContext3D::Image 56 asyncTexImage2DCHROMIUM(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 65 asyncTexSubImage2DCHROMIUM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument 162 texImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 172 texSubImage2D(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 D | gl_helper_unittest.cc | 148 int Channel(SkBitmap* pixels, int x, int y, int c) { argument 149 if (pixels->bytesPerPixel() == 4) { 151 pixels->getAddr32(std::max(0, std::min(x, pixels->width() - 1)), 152 std::max(0, std::min(y, pixels->height() - 1))); 155 DCHECK_EQ(pixels->bytesPerPixel(), 1); 157 return *pixels->getAddr8(std::max(0, std::min(x, pixels->width() - 1)), 158 std::max(0, std::min(y, pixels->height() - 1))); 164 void SetChannel(SkBitmap* pixels, in argument 184 PrintChannel(SkBitmap* pixels, int c) argument 457 ChannelAsFloat(SkBitmap* pixels, int x, int y, int c) argument 462 Bilinear(SkBitmap* pixels, float x, float y, int c) argument 1207 ReadBackTexture(GLuint src_texture, const gfx::Size& src_size, unsigned char* pixels, SkColorType color_type, bool async) argument 1256 uint8* pixels = static_cast<uint8*>(output_pixels.getPixels()); local [all...] |
/external/chromium_org/mojo/examples/pepper_container_app/ |
H A D | ppb_opengles2_thunk.cc | 877 void* pixels) { 880 glReadPixels(x, y, width, height, format, type, pixels); 1005 const void* pixels) { 1016 pixels); 1069 const void* pixels) { 1073 target, level, xoffset, yoffset, width, height, format, type, pixels); 870 ReadPixels(PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels) argument 996 TexImage2D(PP_Resource context_id, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 1060 TexSubImage2D(PP_Resource context_id, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES.cpp | 916 GLenum format, GLenum type, GLsizei *bufSize, GLvoid *pixels) 915 ValidateReadPixelsParameters(gl::Context *context, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei *bufSize, GLvoid *pixels) argument
|