| /cts/suite/cts/deviceTests/dram/src/com/android/cts/dram/ |
| BandwidthTest.java | 182 double pixels = size.x * size.y; local 184 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0; 215 double pixels = size.x * size.y; local 217 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0;
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| BitmapDecode.java | 93 int[] pixels = new int[w*h]; local 94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); 95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, 97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h,
|
| /external/chromium_org/chrome/browser/ui/pdf/ |
| pdf_browsertest.cc | 148 int32* pixels = static_cast<int32*>(bitmap.getPixels()); local 167 if (pixels[snapshot_x_offset] != bg_color) 178 if (pixels[y * stride / sizeof(int32) + x + snapshot_x_offset] !=
|
| /external/chromium_org/gpu/command_buffer/tests/ |
| gl_test_utils.cc | 133 scoped_ptr<uint8[]> pixels(new uint8[size]); 134 memset(pixels.get(), kCheckClearValue, size); 135 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get()); 141 uint8 actual = pixels[offset + jj]; 206 uint8* pixels = data.get(); local 207 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); 212 uint8 t = pixels[offset + 0]; 213 pixels[offset + 0] = pixels[offset + 2]; 214 pixels[offset + 2] = t [all...] |
| /external/chromium_org/native_client_sdk/src/examples/demo/life/ |
| life.c | 226 uint8_t* pixels = g_pImageData->Map(image); local 249 uint32_t *pixel_line = (uint32_t*) (pixels + y * desc.stride);
|
| /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/ |
| life.c | 226 uint8_t* pixels = g_pImageData->Map(image); local 249 uint32_t *pixel_line = (uint32_t*) (pixels + y * desc.stride);
|
| /external/chromium_org/remoting/client/ |
| software_video_renderer.cc | 30 // This class wraps a VideoDecoder and byte-swaps the pixels for compatibility 64 uint8* pixels = image_buffer + (rect.top() * image_stride) + variable 66 libyuv::ABGRToARGB(pixels, image_stride, pixels, image_stride, 110 // Remote screen size in pixels.
|
| /external/chromium_org/third_party/WebKit/Source/platform/ |
| Length.cpp | 185 const float pixels = WebCore::blend(fromPixelsAndPercent.pixels, toPixelsAndPercent.pixels, progress); local 187 return Length(CalculationValue::create(PixelsAndPercent(pixels, percent), range)); 208 result.pixels = -result.pixels; 210 if (result.pixels && result.percent) 214 return Length(result.pixels, Fixed);
|
| Length.h | 55 PixelsAndPercent(float pixels, float percent) 56 : pixels(pixels) 60 float pixels; member in struct:WebCore::PixelsAndPercent
|
| /external/chromium_org/third_party/libwebp/dsp/ |
| lossless_neon.c | 79 const uint8x8_t pixels = vld1_u8((uint8_t*)src); local 80 vst1_u8(dst, vtbl1_u8(pixels, shuffle)); 99 uint8x8x4_t pixels; local 100 INIT_VECTOR4(pixels, 105 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)); 106 vst1_u8(dst + 8, vtbl4_u8(pixels, shuffle1)); 107 vst1_u8(dst + 16, vtbl4_u8(pixels, shuffle2)); 126 uint8x8x4_t pixels; local 127 INIT_VECTOR4(pixels, 132 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)) [all...] |
| /external/chromium_org/third_party/skia/samplecode/ |
| SampleVertices.cpp | 36 uint32_t* pixels = (uint32_t*) bm.getPixels(); local 37 pixels[0] = pixels[2] = color0; 38 pixels[1] = pixels[3] = color1;
|
| /external/chromium_org/third_party/skia/src/images/ |
| bmpdecoderhelper.cpp | 188 uint8 pixels = GetByte(); local 190 uint8 col = pixels; 194 col = pixels & 0xf; 196 col = pixels >> 4;
|
| /external/chromium_org/third_party/skia/src/opts/ |
| SkBitmapProcState_arm_neon.cpp | 118 // touch |filterLength| pixels (4 bytes each) after this. 132 // Load pixels and calc 133 uint8x16_t pixels = vld1q_u8(rowToFilter); local 134 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 135 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 172 // Load pixels and calc 173 uint8x16_t pixels = vld1q_u8(rowToFilter); local 174 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 175 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 214 // Output four pixels per iteration (16 bytes) 423 uint8x16_t pixels; local 460 uint8x16_t pixels; local [all...] |
| /external/chromium_org/third_party/skia/src/utils/ |
| SkCanvasStateUtils.cpp | 64 void* pixels; // The pixels, all (height * rowBytes) of them. member in struct:SkCanvasLayerState::__anon19228::__anon19229 118 // references to the content that is referenced by this canvas (e.g. pixels) 246 layerState->raster.pixels = bitmap.getPixels(); 304 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
|
| /external/chromium_org/tools/telemetry/telemetry/core/ |
| bitmap.py | 6 Bitmap is a basic wrapper for image pixels. It includes some basic processing 42 raise ValueError('First histogram has 0 pixels in it.') 44 raise ValueError('Second histogram has 0 pixels in it.') 124 def __init__(self, dimensions, pixels): 138 if type(pixels) is not bytearray: 139 pixels = bytearray(pixels) 140 self._popen.stdin.write(pixels) 180 def __init__(self, bpp, width, height, pixels, metadata=None): 184 assert pixels, 'Must specify pixels 217 def pixels(self): member in class:Bitmap [all...] |
| bitmaptools.cc | 71 Bitmap() : pixels(NULL) {} 74 if (pixels) 75 delete[] pixels; 79 // bpp, width, height, box, pixels 111 pixels = new unsigned char[size]; 112 if (fread(pixels, sizeof(pixels[0]), size, stdin) < 114 fprintf(stderr, "Not enough pixels found,\n"); 120 data = pixels + box.top * row_stride + box.left * pixel_stride; 139 unsigned char* pixels; member in struct:Bitmap [all...] |
| /external/chromium_org/ui/gfx/ |
| skbitmap_operations_unittest.cc | 73 // Loop through the pixels of the original bitmap. 75 SkPMColor* pixels = bitmap.getAddr32(0, y); local 80 SkUnPreMultiply::PMColorToColor(pixels[x]), hsl_shift)); 366 // 2x2 block of pixels is handled correctly. 541 // This region is a semi-transparent red to test non-opaque pixels.
|
| /external/qemu/distrib/sdl-1.2.15/src/video/ |
| SDL_cursor.c | 373 const Uint32 pixels[2] = { 0xFFFFFFFF, 0x00000000 }; local 391 dst = (Uint8 *)screen->pixels + 418 dst = (Uint16 *)screen->pixels + 429 *dst = (Uint16)pixels[datab>>7]; 445 dst = (Uint8 *)screen->pixels + 456 SDL_memset(dst,pixels[datab>>7],3); 472 dst = (Uint32 *)screen->pixels + 483 *dst = pixels[datab>>7]; 499 const Uint32 pixels[2] = { 0xFFFFFF, 0x000000 }; local 510 dst = (Uint8 *)screen->pixels [all...] |
| SDL_yuv_sw.c | 104 Uint8 *pixels; member in struct:private_yuvhwdata 988 swdata->pixels = (Uint8 *) SDL_malloc(width*height*2); 998 if ( ! swdata->pixels || ! swdata->colortab || ! swdata->rgb_2_pix ) { [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
| SDL_gsyuv.c | 49 Uint8 *pixels; member in struct:private_yuvhwdata 89 /* We can only decode blocks of 16x16 pixels */ 96 SDL_SetError("Overlay too large (maximum size: %d pixels)", 140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2); 141 if ( hwdata->pixels == NULL ) { 150 overlay->pixels = hwdata->planes; 157 overlay->pixels[0] = hwdata->pixels; 158 overlay->pixels[1] = overlay->pixels[0] [all...] |
| /external/skia/samplecode/ |
| SampleVertices.cpp | 36 uint32_t* pixels = (uint32_t*) bm.getPixels(); local 37 pixels[0] = pixels[2] = color0; 38 pixels[1] = pixels[3] = color1;
|
| /external/skia/src/images/ |
| bmpdecoderhelper.cpp | 188 uint8 pixels = GetByte(); local 190 uint8 col = pixels; 194 col = pixels & 0xf; 196 col = pixels >> 4;
|
| /external/skia/src/opts/ |
| SkBitmapProcState_arm_neon.cpp | 118 // touch |filterLength| pixels (4 bytes each) after this. 132 // Load pixels and calc 133 uint8x16_t pixels = vld1q_u8(rowToFilter); local 134 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 135 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 172 // Load pixels and calc 173 uint8x16_t pixels = vld1q_u8(rowToFilter); local 174 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 175 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 214 // Output four pixels per iteration (16 bytes) 423 uint8x16_t pixels; local 460 uint8x16_t pixels; local [all...] |
| /external/skia/src/utils/ |
| SkCanvasStateUtils.cpp | 64 void* pixels; // The pixels, all (height * rowBytes) of them. member in struct:SkCanvasLayerState::__anon34480::__anon34481 118 // references to the content that is referenced by this canvas (e.g. pixels) 246 layerState->raster.pixels = bitmap.getPixels(); 304 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
|
| /external/webp/src/dsp/ |
| lossless_neon.c | 79 const uint8x8_t pixels = vld1_u8((uint8_t*)src); local 80 vst1_u8(dst, vtbl1_u8(pixels, shuffle)); 99 uint8x8x4_t pixels; local 100 INIT_VECTOR4(pixels, 105 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)); 106 vst1_u8(dst + 8, vtbl4_u8(pixels, shuffle1)); 107 vst1_u8(dst + 16, vtbl4_u8(pixels, shuffle2)); 126 uint8x8x4_t pixels; local 127 INIT_VECTOR4(pixels, 132 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)) [all...] |