| /external/skia/gm/ |
| bigmatrix.cpp | 67 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 68 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); 69 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); 70 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00); 71 pixels[3] = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF);
|
| clippedbitmapshaders.cpp | 31 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 32 pixels[0] = SkPreMultiplyColor(SK_ColorRED); 33 pixels[1] = SkPreMultiplyColor(SK_ColorGREEN); 34 pixels[2] = SkPreMultiplyColor(SK_ColorBLACK); 35 pixels[3] = SkPreMultiplyColor(SK_ColorBLUE);
|
| pathopsinverse.cpp | 43 void* pixels = temp.getPixels(); local 44 return *(SkColor*) pixels;
|
| xfermodes2.cpp | 108 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/skia/tests/ |
| KtxTest.cpp | 34 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels()); local 35 REPORTER_ASSERT(reporter, NULL != pixels); 37 if (NULL == pixels) { 41 uint8_t *row = pixels; 80 REPORTER_ASSERT(reporter, memcmp(decodedPixels, pixels, decodedBitmap.getSize()) == 0);
|
| /frameworks/webview/chromium/plat_support/ |
| graphics_utils.cpp | 72 PixelInfo* pixels = new PixelInfo(canvas); local 73 if (!pixels->state) { 74 delete pixels; 75 pixels = NULL; 77 return pixels; 80 void ReleasePixels(AwPixelInfo* pixels) { 81 delete static_cast<PixelInfo*>(pixels);
|
| /external/ceres-solver/examples/ |
| denoising.cc | 118 std::vector<double*> pixels; local 124 pixels.push_back(pixel); 131 pixels);
|
| /external/chromium_org/android_webview/native/ |
| java_browser_view_renderer_helper.cc | 38 AwPixelInfo* pixels() { return pixels_; } function in class:android_webview::__anon6448::ScopedPixelAccess 79 AwPixelInfo* pixels = auto_release_pixels.pixels(); local 80 if (pixels && pixels->state) { 82 SkCanvasStateUtils::CreateFromCanvasState(pixels->state)); 156 void* pixels = NULL; local 157 if (AndroidBitmap_lockPixels(env, jbitmap.obj(), &pixels) < 0) { 158 LOG(ERROR) << "Error locking java bitmap pixels."; 167 bitmap.installPixels(info, pixels, bitmap_info.stride) [all...] |
| /external/chromium_org/content/common/ |
| host_shared_bitmap_manager.cc | 25 scoped_ptr<uint8[]> pixels; member in class:content::BitmapData 61 data->pixels = scoped_ptr<uint8[]>(new uint8[bitmap_size]); 66 data->pixels.get(), 87 if (data->pixels) { 89 data->pixels.get(), id, base::Bind(&FreeSharedMemory, it->second)));
|
| /external/chromium_org/content/renderer/ |
| webclipboard_impl.cc | 162 void *pixels = bitmap.getPixels(); local 164 if (!pixels) 166 scw.WriteBitmapFromPixels(pixels, image.size());
|
| /external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
| Canvas2DLayerBridgeTest.cpp | 105 virtual uint8* pixels() function in class:__anon15193::NullWebExternalBitmap
|
| /external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
| JPEGImageEncoder.cpp | 82 static void preMultipliedBGRAtoRGB(const unsigned char* pixels, unsigned pixelCount, unsigned char* output) 84 const SkPMColor* input = reinterpret_cast_ptr<const SkPMColor*>(pixels); 92 static void RGBAtoRGB(const unsigned char* pixels, unsigned pixelCount, unsigned char* output) 94 for (; pixelCount-- > 0; pixels += 4) { 96 unsigned char alpha = pixels[3]; 98 *output++ = SkMulDiv255Round(pixels[0], alpha); 99 *output++ = SkMulDiv255Round(pixels[1], alpha); 100 *output++ = SkMulDiv255Round(pixels[2], alpha); 102 *output++ = pixels[0]; 103 *output++ = pixels[1] 159 unsigned char* pixels = inputPixels; local 185 unsigned char* pixels = inputPixels; local [all...] |
| /external/chromium_org/third_party/skia/gm/ |
| clippedbitmapshaders.cpp | 31 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 32 pixels[0] = SkPreMultiplyColor(SK_ColorRED); 33 pixels[1] = SkPreMultiplyColor(SK_ColorGREEN); 34 pixels[2] = SkPreMultiplyColor(SK_ColorBLACK); 35 pixels[3] = SkPreMultiplyColor(SK_ColorBLUE);
|
| pathopsinverse.cpp | 43 void* pixels = temp.getPixels(); local 44 return *(SkColor*) pixels;
|
| xfermodes2.cpp | 108 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/chromium_org/third_party/skia/tests/ |
| PremulAlphaRoundTripTest.cpp | 50 // Don't strictly need a bitmap, but its a handy way to allocate the pixels 55 uint32_t* pixels = bmp.getAddr32(0, a); local 57 pixels[r] = proc(SkColorSetARGB(a, r, 0, 0));
|
| /external/chromium_org/ui/ozone/platform/caca/ |
| caca_surface_factory.cc | 87 const void* pixels = surface_->peekPixels(&info, &row_bytes); local 94 static_cast<const uint8_t*>(pixels));
|
| /external/deqp/framework/delibs/deimage/ |
| deTarga.c | 86 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/icu/icu4c/source/layout/ |
| MarkToBasePosnSubtables.cpp | 67 LEPoint baseAnchor, markAdvance, pixels; local 77 fontInstance->getGlyphAdvance(markGlyph, pixels); 78 fontInstance->pixelsToUnits(pixels, markAdvance); 92 fontInstance->getGlyphAdvance(baseGlyph, pixels); 101 pixels.fX += px.fX; // and add that to the base glyph's advance 102 pixels.fY += px.fY; 107 fontInstance->pixelsToUnits(pixels, baseAdvance);
|
| 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);
|
| MarkToMarkPosnSubtables.cpp | 66 LEPoint mark2Anchor, markAdvance, pixels; local 75 fontInstance->getGlyphAdvance(markGlyph, pixels); 76 fontInstance->pixelsToUnits(pixels, markAdvance); 88 fontInstance->getGlyphAdvance(mark2Glyph, pixels); 89 fontInstance->pixelsToUnits(pixels, mark2Advance);
|
| 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...] |
| /external/qemu/android/ |
| framebuffer.h | 27 * to a rotation that must be performed to the pixels stored in the framebuffer 48 int width; /* width in pixels */ 49 int height; /* height in pixels */ 55 void* pixels; /* pixel buffer */ member in struct:QFrameBuffer 97 * rectangle of the framebuffer pixels was updated and needs to be 105 * that must be applied before displaying the pixels. 107 * Note that it is assumed that all framebuffer pixels have changed too 120 * no more reference to its pixels should be done.
|
| /external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
| SDL_ps3yuv.c | 61 volatile void * pixels __attribute__((aligned(128))); member in struct:private_yuvhwdata 165 hwdata->pixels = (Uint8 *) memalign(16, width * height + ((width * height) >> 1)); 166 if (hwdata->pixels == NULL) { 174 overlay->pixels = hwdata->planes; 181 overlay->pixels[0] = (Uint8 *)hwdata->pixels; 182 overlay->pixels[1] = overlay->pixels[0] + 184 overlay->pixels[2] = overlay->pixels[1] [all...] |
| /external/qemu/distrib/sdl-1.2.15/test/ |
| threadwin.c | 27 Uint8 *pixels; local 53 SDL_SetColorKey(icon, SDL_SRCCOLORKEY, *((Uint8 *)icon->pixels)); 56 pixels = (Uint8 *)icon->pixels; 58 icon->format->palette->colors[*pixels].r, 59 icon->format->palette->colors[*pixels].g, 60 icon->format->palette->colors[*pixels].b); 70 if ( pixels[i] != *pixels ) 302 /* Set the surface pixels and refresh! * [all...] |