/external/chromium_org/third_party/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/chromium_org/cc/blink/ |
web_external_bitmap_impl.cc | 42 uint8* WebExternalBitmapImpl::pixels() { function in class:cc_blink::WebExternalBitmapImpl
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
texture_utils.cpp | 25 GLubyte pixels[width * height * 3] = local 32 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); 51 GLubyte pixels[6][3] = local 69 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, GL_RGB, 1, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, &pixels[i]); 84 std::array<GLubyte, width * height * 3> pixels; local 105 pixels[(y * height + x) * 3] = rColor; 106 pixels[(y * height + x) * 3 + 1] = 0; 107 pixels[(y * height + x) * 3 + 2] = bColor; 119 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels.data());
|
/external/chromium_org/third_party/skia/src/lazy/ |
SkCachingPixelRef.cpp | 67 void* pixels = fLockedBitmap.getPixels(); local 68 SkASSERT(pixels != NULL); 69 rec->fPixels = pixels;
|
SkDiscardablePixelRef.cpp | 62 void* pixels = fDiscardableMemory->data(); local 68 if (!fGenerator->getPixels(info, pixels, fRowBytes)) { 70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 89 rec->fPixels = pixels;
|
/external/chromium_org/ui/snapshot/ |
snapshot_async.cc | 40 unsigned char* pixels = reinterpret_cast<unsigned char*>(bitmap.getPixels()); local 48 if (!gfx::PNGCodec::Encode(pixels,
|
/external/chromium_org/cc/resources/ |
shared_bitmap.h | 26 SharedBitmap(uint8* pixels, 40 uint8* pixels() { return pixels_; } function in class:cc::SharedBitmap
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_gpu_memory_buffer_unittest.cc | 74 uint8 pixels[1 * 4] = { 255u, 0u, 0u, 255u }; local 90 mapped_buffer[y * stride + x * kImageBytesPerPixel + 0] = pixels[0]; 91 mapped_buffer[y * stride + x * kImageBytesPerPixel + 1] = pixels[1]; 92 mapped_buffer[y * stride + x * kImageBytesPerPixel + 2] = pixels[2]; 93 mapped_buffer[y * stride + x * kImageBytesPerPixel + 3] = pixels[3]; 113 // Check if pixels match the values that were assigned to the mapped buffer. 114 GLTestHelper::CheckPixels(0, 0, kImageWidth, kImageHeight, 0, pixels);
|
/external/chromium_org/ppapi/generators/test_cgen/ |
structs.h | 54 /* struct st2 { s_array pixels[640][480]; }; */ 56 s_array pixels[640][480]; member in struct:st2
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
CalculationValue.h | 49 float evaluate(float maxValue) const { return pixels() + percent() / 100 * maxValue; } 50 bool operator==(const CalculationValue& o) const { return pixels() == o.pixels() && percent() == o.percent(); } 52 float pixels() const { return m_value.pixels; } function in class:blink::CalculationValue
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 50 static void preMultipliedBGRAtoRGBA(const void* pixels, int pixelCount, unsigned char* output) 53 const SkPMColor* input = static_cast<const SkPMColor*>(pixels); 100 unsigned char* pixels = inputPixels; local 105 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); 108 png_write_row(png, pixels); 109 pixels += pixelRowStride;
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
TextureTest.cpp | 104 const GLubyte *pixels[20] = { 0 }; local 105 glTexSubImage2D(GL_TEXTURE_2D, 0, 1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/external/chromium_org/ui/ozone/platform/dri/ |
dri_buffer.cc | 48 void* pixels = const_cast<void*>(surface_->peekPixels(&info, NULL)); local 49 if (!pixels) 52 dri_->DestroyDumbBuffer(info, handle_, stride_, pixels); 56 void* pixels = NULL; local 57 if (!dri_->CreateDumbBuffer(info, &handle_, &stride_, &pixels)) { 73 surface_ = skia::AdoptRef(SkSurface::NewRasterDirect(info, pixels, stride_)); 75 VLOG(2) << "Cannot install Skia pixels for drm buffer";
|
/external/deqp/framework/delibs/deimage/ |
deImage.h | 42 void* pixels; member in struct:deImage_s 60 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels);
|
/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);
|
/external/chromium_org/third_party/skia/gm/ |
bigmatrix.cpp | 63 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 64 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); 65 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); 66 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00); 67 pixels[3] = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF);
|
/external/chromium_org/third_party/skia/tests/ |
KtxTest.cpp | 33 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels()); local 34 REPORTER_ASSERT(reporter, pixels); 36 if (NULL == pixels) { 40 uint8_t *row = pixels; 79 REPORTER_ASSERT(reporter, memcmp(decodedPixels, pixels, decodedBitmap.getSize()) == 0);
|
/external/chromium_org/ui/gfx/android/ |
java_bitmap.h | 27 // handles locking and unlocking of the underlying pixels, along with wrapping 34 inline void* pixels() { return pixels_; } function in class:gfx::JavaBitmap 35 inline const void* pixels() const { return pixels_; } function in class:gfx::JavaBitmap
|
/external/chromium_org/ui/gfx/ |
blit.cc | 46 void* pixels = canvas.accessTopLayerPixels(&info, &row_bytes); local 47 DCHECK(pixels); 48 if (!pixels) 168 // Compute the set of pixels we'll actually end up painting. 173 // Compute the source pixels that will map to the dest_rect
|
/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 | 39 AwPixelInfo* pixels() { return pixels_; } function in class:android_webview::__anon6454::ScopedPixelAccess 80 AwPixelInfo* pixels = auto_release_pixels.pixels(); local 81 if (pixels && pixels->state) { 83 SkCanvasStateUtils::CreateFromCanvasState(pixels->state)); 157 void* pixels = NULL; local 158 if (AndroidBitmap_lockPixels(env, jbitmap.obj(), &pixels) < 0) { 159 LOG(ERROR) << "Error locking java bitmap pixels."; 168 bitmap.installPixels(info, pixels, bitmap_info.stride) [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
content_action_unittest.cc | 166 uint32_t* pixels = bitmap.getAddr32(0, 0); local 168 pixels[i] = i;
|
/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/extensions/renderer/ |
set_icon_natives.cc | 79 uint32_t* pixels = bitmap.getAddr32(0, 0); local 81 // |data| is RGBA, pixels is ARGB. 82 pixels[t] = SkPreMultiplyColor(
|