HomeSort by relevance Sort by last modified time
    Searched defs:pixels (Results 151 - 175 of 252) sorted by null

1 2 3 4 5 67 8 91011

  /packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
MagicSmokeRS.java 268 int pixels[] = new int[65536]; local
269 in.getPixels(pixels, 0, 256, 0, 0, 256, 256);
281 bpixels[i * 4 + 0] = (byte)(pixels[i] & 0xff);
282 bpixels[i * 4 + 1] = (byte)((pixels[i] >> 8) & 0xff);
283 bpixels[i * 4 + 2] = (byte)((pixels[i] >>16) & 0xff);
284 bpixels[i * 4 + 3] = (byte)((pixels[i] >> 24) & 0xff);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
PsdFile.java 104 int[] pixels = new int[length]; local
106 image.getData().getDataElements(0, 0, width, height, pixels);
114 final int pixel = pixels[i];
  /external/chromium_org/cc/output/
renderer_pixeltest.cc 129 std::vector<uint32_t> pixels(rect.size().GetArea(), pixel_color);
138 reinterpret_cast<uint8_t*>(&pixels.front()),
166 // All pixels can be off by one, but any more than that is an error.
2185 uint32_t pixels[16] = { local
    [all...]
  /external/chromium_org/cc/resources/
resource_provider.h 140 // Update pixels from image, copying source_rect (in image) to dest_offset (in
347 // Asynchronously update pixels from acquired pixel buffer.
372 // Copy pixels from source to destination.
396 Resource(uint8_t* pixels,
410 // Pixel buffer used for set pixels without unnecessary copying.
412 // Query used to determine when asynchronous set pixels complete.
418 uint8_t* pixels; member in struct:cc::ResourceProvider::Resource
601 // set resource pixels without performing unnecessary copying.
613 // Maps the acquired image so that its pixels could be modified.
614 // Unmap is called when all pixels are set
    [all...]
resource_provider_unittest.cc 73 uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory()); local
74 CHECK(pixels);
75 std::fill_n(pixels, size.GetArea(), value);
209 const void* pixels) OVERRIDE {
217 if (pixels)
218 SetPixels(0, 0, width, height, pixels);
229 const void* pixels) OVERRIDE {
238 ASSERT_TRUE(pixels); variable
239 SetPixels(xoffset, yoffset, width, height, pixels);
271 uint8_t* pixels) {
2652 uint8_t pixels[16] = { 0 }; local
3273 uint8_t pixels[8]; local
    [all...]
  /external/chromium_org/cc/test/
test_web_graphics_context_3d.h 64 const void* pixels) {}
73 const void* pixels) {}
157 const void* pixels) {}
167 const void* pixels) {}
371 scoped_ptr<uint8[]> pixels; member in struct:cc::TestWebGraphicsContext3D::Buffer
382 scoped_ptr<uint8[]> pixels; member in struct:cc::TestWebGraphicsContext3D::Image
  /external/chromium_org/content/common/gpu/client/
gl_helper_unittest.cc 143 int Channel(SkBitmap* pixels, int x, int y, int c) {
145 pixels->getAddr32(std::max(0, std::min(x, pixels->width() - 1)),
146 std::max(0, std::min(y, pixels->height() - 1)));
151 void SetChannel(SkBitmap* pixels, int x, int y, int c, int v) {
154 DCHECK_LT(x, pixels->width());
155 DCHECK_LT(y, pixels->height());
156 uint32* data = pixels->getAddr32(x, y);
163 void PrintChannel(SkBitmap* pixels, int c) {
164 for (int y = 0; y < pixels->height(); y++)
1026 uint8* pixels = static_cast<uint8*>(output_pixels.getPixels()); local
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
texture_manager.h 713 const void* pixels; member in struct:gpu::gles2::TextureManager::DoTextImage2DArguments
  /external/chromium_org/native_client_sdk/src/examples/demo/earth/
earth.cc 82 uint32_t* pixels; member in struct:__anon12924::Texture
84 pixels = new uint32_t[w * h];
85 memset(pixels, 0, sizeof(uint32_t) * w * h);
88 pixels = new uint32_t[w * h];
89 memcpy(pixels, p, sizeof(uint32_t) * w * h);
91 ~Texture() { delete[] pixels; }
207 uint32_t* pixels);
403 uint32_t* pixels = this->wGetAddr(x0, y);
421 *pixels = kColorBlack;
422 ++pixels;
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
earth.cc 139 uint32_t* pixels; member in struct:__anon12926::Texture
141 pixels = new uint32_t[w * h];
142 memset(pixels, 0, sizeof(uint32_t) * w * h);
145 pixels = new uint32_t[w * h];
146 memcpy(pixels, p, sizeof(uint32_t) * w * h);
148 ~Texture() { delete[] pixels; }
255 uint32_t* pixels);
468 uint32_t* pixels = this->wGetAddr(x0, y);
486 *pixels = kColorBlack;
487 ++pixels;
    [all...]
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/
earth.cc 75 uint32_t* pixels; member in struct:__anon12938::Texture
77 pixels = new uint32_t[w * h];
78 memset(pixels, 0, sizeof(uint32_t) * w * h);
81 pixels = new uint32_t[w * h];
82 memcpy(pixels, p, sizeof(uint32_t) * w * h);
84 ~Texture() { delete[] pixels; }
206 uint32_t* pixels);
226 // Push the pixels to the browser, then attempt to flush the 2D context.
441 uint32_t* pixels = this->wGetAddr(x0, y);
459 *pixels = kColorBlack
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-ot-layout-common-private.hh 1112 int pixels = get_delta_pixels (ppem); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
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,
    [all...]
  /external/chromium_org/third_party/skia/tests/
PathOpsSkpClipTest.cpp 1084 SkTDArray<SortByPixel*> pixels; local
    [all...]
  /external/chromium_org/ui/gfx/
skbitmap_operations.cc 559 // Loop through the pixels of the original bitmap.
561 SkPMColor* pixels = bitmap.getAddr32(0, y); local
564 (*line_proc)(hsl_shift, pixels, tinted_pixels, bitmap.width());
583 // Loop through the pixels of the original bitmap.
645 // and red and blue ("rb"). Each channel gets averaged across 4 pixels
  /external/chromium_org/ui/native_theme/
native_theme_win.cc 673 // values for fully-opaque pixels; instead the pixels get alpha 0. This is
676 // To work-around this, mark all pixels with a placeholder value, to detect
677 // which pixels get touched by the paint operation. After paint, set any
678 // pixels that have alpha 0 to opaque and placeholders to fully-transparent.
704 // Copy the pixels to a bitmap that has ref-counted pixel storage, which is
711 // Post-process the pixels to fix up the alpha values (see big comment above).
714 SkPMColor* pixels = bitmap.getAddr32(0, 0); local
716 if (pixels[i] == placeholder_value) {
718 pixels[i] = SkPackARGB32(0, 0, 0, 0)
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-layout-common-private.hh 1113 int pixels = get_delta_pixels (ppem); local
    [all...]
  /external/mesa3d/src/mesa/main/
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,
    [all...]
  /external/qemu/android/skin/
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;
397 /*** TRACKBALL SPHERE PIXELS
476 unsigned* pixels = ball->pixels; local
544 pixels[coord->x + diameter*coord->y] = color
    [all...]
  /external/qemu/distrib/sdl-1.2.15/include/
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', using the pixel format stored in
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5video.c 2462 Uint8 *pixels; local
    [all...]
  /external/skia/tests/
PathOpsSkpClipTest.cpp 1084 SkTDArray<SortByPixel*> pixels; local
    [all...]
  /frameworks/base/core/jni/android/opengl/
util.cpp 676 void* const pixels = (char*)data + palette_size; local
679 memcpy(pixels, p, size);
815 * Encode a block of pixels.
818 * 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R
848 * Decode a block of pixels.
853 * 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 265 public void readPixelData(ByteBuffer pixels, int width, int height) {
266 GLToolbox.readTarget(this, pixels, width, height);
270 ByteBuffer pixels = ByteBuffer.allocateDirect(width * height * 4); local
271 GLToolbox.readTarget(this, pixels, width, height);
272 return pixels;
  /frameworks/native/opengl/tests/hwc/
hwcCommit.cpp 817 // Determine the minimum number of pixels that the HWC will ever commit to.
841 uint64_t pixels = dim.width() * dim.height(); local
842 if (!bestSet || (pixels < bestMinPixels)) {
843 bestMinPixels = pixels;
890 uint64_t pixels = dim.width() * dim.height(); local
891 if (!bestSet || (pixels > bestMaxPixels)) {
892 bestMaxPixels = pixels;
1013 uint64_t pixels = dim.width() * dim.height(); local
1064 uint64_t pixels = dim.width() * dim.height(); local
    [all...]

Completed in 1917 milliseconds

1 2 3 4 5 67 8 91011