Searched defs:pixels (Results 1 - 25 of 332) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/animator/
H A DSkSnapshot.cpp64 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/content/renderer/
H A Dscoped_clipboard_writer_glue.cc26 void ScopedClipboardWriterGlue::WriteBitmapFromPixels(const void* pixels, argument
29 context_->WriteBitmapFromPixels(&objects_, pixels, size);
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A Dtexture_utils.cpp25 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/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/chromium_org/third_party/skia/include/core/
H A DSkImageGenerator.h54 virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument
55 return this->onGetPixels(info, pixels, rowBytes, NULL, NULL);
69 * this object to allocate pixels.
79 * Decode into the given pixels, a block of memory of size at
104 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
110 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
131 void* pixels, size_t rowBytes,
/external/clang/test/CodeGen/
H A D2010-06-17-asmcrash.c9 void avg_pixels8_mmx2(uint8_t *block, const uint8_t *pixels, int line_size, int h) argument
12 :"+g"(h), "+S"(pixels), "+D"(block)
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_draw.c48 const GLvoid * pixels)
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(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
/external/skia/include/core/
H A DSkImageGenerator.h60 virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument
61 return this->onGetPixels(info, pixels, rowBytes, NULL, NULL);
75 * this object to allocate pixels.
85 * Decode into the given pixels, a block of memory of size at
110 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
116 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
123 void* pixels, size_t rowBytes,
/external/chromium_org/cc/blink/
H A Dweb_external_bitmap_impl.cc42 uint8* WebExternalBitmapImpl::pixels() { function in class:cc_blink::WebExternalBitmapImpl
/external/chromium_org/cc/resources/
H A Dshared_bitmap.cc24 uint8* pixels,
27 : memory_(NULL), pixels_(pixels), id_(id), free_callback_(free_callback) {
23 SharedBitmap( uint8* pixels, const SharedBitmapId& id, const base::Callback<void(SharedBitmap* bitmap)>& free_callback) argument
H A Dshared_bitmap.h26 SharedBitmap(uint8* pixels,
40 uint8* pixels() { return pixels_; } function in class:cc::SharedBitmap
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_gpu_memory_buffer_unittest.cc74 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/
H A Dstructs.h54 /* struct st2 { s_array pixels[640][480]; }; */
56 s_array pixels[640][480]; member in struct:st2
/external/chromium_org/printing/
H A Dunits.cc43 int ConvertPixelsToPoint(int pixels) { argument
44 return ConvertUnit(pixels, kPixelsPerInch, kPointsPerInch);
47 double ConvertPixelsToPointDouble(double pixels) { argument
48 return ConvertUnitDouble(pixels, kPixelsPerInch, kPointsPerInch);
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableLength.h51 static PassRefPtrWillBeRawPtr<AnimatableLength> create(double pixels, double percent, bool hasPixels, bool hasPercent) argument
53 return adoptRefWillBeNoop(new AnimatableLength(pixels, percent, hasPixels, hasPercent));
56 AnimatableLength(double pixels, double percent, bool hasPixels, bool hasPercent) argument
57 : m_pixels(pixels)
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCalculationValue.h49 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/angle/tests/angle_tests/
H A DTextureTest.cpp104 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/third_party/skia/src/lazy/
H A DSkCachingPixelRef.cpp67 void* pixels = fLockedBitmap.getPixels(); local
68 SkASSERT(pixels != NULL);
69 rec->fPixels = pixels;
/external/chromium_org/ui/snapshot/
H A Dsnapshot_async.cc40 unsigned char* pixels = reinterpret_cast<unsigned char*>(bitmap.getPixels()); local
48 if (!gfx::PNGCodec::Encode(pixels,
/external/deqp/framework/delibs/deimage/
H A DdeImage.h42 void* pixels; member in struct:deImage_s
60 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels);
/external/pixman/test/
H A Dpdf-op-test.c23 static const uint32_t pixels[] = variable
45 for (s = 0; s < ARRAY_LENGTH (pixels); ++s)
50 PIXMAN_a8r8g8b8, 1, 1, (uint32_t *)&(pixels[s]), 4);
52 for (m = -1; m < ARRAY_LENGTH (pixels); ++m)
58 PIXMAN_a8r8g8b8, 1, 1, (uint32_t *)&(pixels[m]), 4);
61 for (d = 0; d < ARRAY_LENGTH (pixels); ++d)
64 uint32_t dp = pixels[d];

Completed in 586 milliseconds

1234567891011>>