/external/skia/src/animator/ |
SkSnapshot.cpp | 64 SkBitmap pixels; local 65 pixels.allocPixels(maker.fCanvas->imageInfo()); 66 maker.fCanvas->readPixels(&pixels, 0, 0); 67 encoder->encodeFile(name.c_str(), pixels, SkScalarFloorToInt(quality));
|
/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/opencv3/modules/java/generator/src/cpp/ |
utils.cpp | 26 void* pixels = 0; local 34 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); 35 CV_Assert( pixels ); 40 Mat tmp(info.height, info.width, CV_8UC4, pixels); 46 Mat tmp(info.height, info.width, CV_8UC2, pixels); 89 void* pixels = 0; local 99 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); 100 CV_Assert( pixels ); 103 Mat tmp(info.height, info.width, CV_8UC4, pixels); 118 Mat tmp(info.height, info.width, CV_8UC2, pixels); [all...] |
/frameworks/av/cmds/screenrecord/ |
FontBitmap.h | 10 static const uint8_t pixels[]; member in class:FontBitmap 14 const uint8_t FontBitmap::pixels[] = { member in class:FontBitmap [all...] |
/external/deqp/framework/delibs/deimage/ |
deImage.h | 42 void* pixels; member in struct:deImage_s 60 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels);
|
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/ |
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);
|
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/opencv3/samples/winrt_universal/PhoneTutorial/ |
MainPage.xaml.cpp | 67 byte* pixels = nullptr; variable 68 ThrowIfFailed(bufferByteAccess->Buffer(&pixels)); 69 return pixels; 76 // get the pixels from the WriteableBitmap
|
/external/skia/gm/ |
bigmatrix.cpp | 48 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 49 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); 50 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); 51 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00); 52 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 | 109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); variable 115 pixels[kSize * y + x] = rowColor; 123 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); 129 pixels[kSize * y + x] = colColor;
|
/external/skia/src/lazy/ |
SkDiscardablePixelRef.cpp | 69 void* pixels = fDiscardableMemory->data(); local 74 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 93 rec->fPixels = pixels;
|
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
Direct3DInterop.cpp | 181 byte* pixels = nullptr; variable 182 bufferByteAccess->Buffer(&pixels); 183 return pixels;
|
/external/skia/bench/ |
ColorCubeBench.cpp | 78 SkColor* pixels = (SkColor*)(fCubeData->writable_data()); local 90 pixels[(fCubeDimension * ((fCubeDimension * b) + g)) + r] =
|
/external/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));
|
TextureCompressionTest.cpp | 59 // leaving the pixels uninitialized, as they don't affect the test... 88 // leaving the pixels uninitialized, as they don't affect the test... 101 * Make sure that if you compress a texture with alternating black/white pixels, and 120 // Populate the pixels 122 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr()); local 123 REPORTER_ASSERT(reporter, pixels); 124 if (nullptr == pixels) { 131 pixels[x] = 0xFF; 133 pixels[x] = 0; 136 pixels += pixmap.rowBytes() 169 const uint8_t* pixels = reinterpret_cast<const uint8_t*>(pixmap.addr()); local 209 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr()); local [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/ceres-solver/examples/ |
denoising.cc | 118 std::vector<double*> pixels; local 124 pixels.push_back(pixel); 131 pixels);
|
/external/skia/example/ |
HelloWorld.cpp | 162 const void* pixels = snap->peekPixels(&info, &rowBytes); local 167 pixels,
|