/external/ceres-solver/examples/ |
H A D | denoising.cc | 117 // Build a vector with the pixel indices of this patch. 122 double* pixel = solution->MutablePixel(x + x_delta_indices[i], local 124 pixels.push_back(pixel);
|
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer_unittest.cc | 36 const SkColor pixel = SkColorSetARGB(component, component, local 38 *(src.getAddr32(x, y)) = pixel;
|
/external/chromium_org/chrome/browser/resources/about_welcome_android/ |
H A D | about_welcome_android.css | 79 @media only screen and (-webkit-min-device-pixel-ratio: 1.0) { 85 @media only screen and (-webkit-min-device-pixel-ratio: 1.3) { 91 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 98 @media only screen and (-webkit-min-device-pixel-ratio: 2.0) {
|
/external/chromium_org/chrome/browser/resources/chromeos/first_run/ |
H A D | preload.css | 13 @media all and (-webkit-max-device-pixel-ratio: 1.5) { 34 @media all and (-webkit-min-device-pixel-ratio: 1.5) {
|
/external/chromium_org/chrome/browser/resources/local_ntp/ |
H A D | local_ntp.css | 365 @media (-webkit-min-device-pixel-ratio: 2) {
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | gtk2_ui.cc | 303 frame_color->pixel = 0; 787 // Each pixel is made up of a red, green, and blue component; taking up 795 color->pixel = 0; 797 // pixel border. In some themes, the border has a completely different
|
H A D | skia_utils_gtk2.cc | 68 // more complex when a pixel isn't perfectly a word of memory. 75 guchar* pixel = gdk_pixels + row + (x * 3); local 76 const unsigned char& red = pixel[0]; 77 const unsigned char& green = pixel[1]; 78 const unsigned char& blue = pixel[2]; 112 uint32 pixel = bitmap.getAddr32(0, y)[x]; local 114 int alpha = SkColorGetA(pixel); 116 SkColor unmultiplied = SkUnPreMultiply::PMColorToColor(pixel); 122 divided[i + 0] = SkColorGetR(pixel); 123 divided[i + 1] = SkColorGetG(pixel); [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
H A D | style.css | 41 @media all and (-webkit-max-device-pixel-ratio: 1.5) { 48 @media all and (-webkit-min-device-pixel-ratio: 1.5) { 242 /* with different font sizes whose actual pixel heights */
|
/external/chromium_org/chrome/utility/cloud_print/ |
H A D | pwg_encoder.cc | 65 inline void encodePixelToRGB(const void* pixel, std::string* output) { argument 66 const InputStruct* i = reinterpret_cast<const InputStruct*>(pixel); 73 inline void encodePixelToMonochrome(const void* pixel, std::string* output) { argument 74 const InputStruct* i = reinterpret_cast<const InputStruct*>(pixel); 136 // that pixel. Any generic sequence of N pixels (up to 129) can be encoded 138 // Notice that for sequences of 1 pixel there is no difference between 142 // usually saves the most space. Every other pixel should be encoded in the 153 if (it != pos + 1) { // More than one pixel 168 // Optimization: ignores the last pixel of the sequence if it is followed 169 // by an identical pixel, a [all...] |
/external/chromium_org/content/browser/devtools/ |
H A D | renderer_overrides_handler.cc | 1158 // Paint central pixel in red. 1159 SkRect pixel = SkRect::MakeXYWH((kCursorSize - kPixelSize) / 2, local 1164 canvas->drawRect(pixel, paint);
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gles2_cmd_decoder.cc | 5681 // Read a pixel from the buffer. 5684 unsigned char pixel[3] = {0, 0, 0}; local 5685 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_BYTE, &pixel); 5702 // Return true if the pixel matched the desired key color. 5703 return (pixel[0] == 0xFF && 5704 pixel[1] == 0x00 && 5705 pixel[2] == 0xFF);
|
/external/chromium_org/media/base/simd/ |
H A D | convert_rgb_to_yuv_c.cc | 39 // Since the input pixel format is RGB32, there are 4 bytes per pixel. 40 const uint8* pixel = rgbframe + 4 * j; local 41 yplane[j] = clip_byte(((pixel[r] * 66 + pixel[g] * 129 + 42 pixel[b] * 25 + 128) >> 8) + 16); 44 uplane[j / 2] = clip_byte(((pixel[r] * -38 + pixel[g] * -74 + 45 pixel[b] * 112 + 128) >> 8) + 128); 46 vplane[j / 2] = clip_byte(((pixel[ 71 const uint8* pixel = rgbframe + 3 * j; local [all...] |
H A D | convert_rgb_to_yuv_ssse3.inc | 9 ; consists of three parts: converting one ARGB pixel to YUV pixels, converting 16 ; // Convert one ARGB pixel to one Y pixel, one U pixel, and one V pixel. 21 ; // Convert two ARGB pixels to two Y pixels, one U pixel, and one V pixel. 47 ; When the width is odd, We read the rightmost ARGB pixel and convert its 48 ; colorspace to YUV. This code stores one Y pixel, one U pixel, an [all...] |
H A D | convert_yuva_to_argb_mmx.inc | 52 ; ARGB alpha value as the source pixel in YUVA, but this depends on the alpha
|
H A D | filter_yuv_sse2.cc | 21 int pixel = 0; local 26 while (pixel < width && pixel < unaligned_width) { 27 dest[pixel] = (src0[pixel] * (256 - fraction) + 28 src1[pixel] * fraction) >> 8; 29 ++pixel; 36 reinterpret_cast<const __m128i*>(src0 + pixel); 38 reinterpret_cast<const __m128i*>(src1 + pixel); 39 __m128i* dest128 = reinterpret_cast<__m128i*>(dest + pixel); [all...] |
H A D | linear_scale_yuv_to_rgb_mmx_x64.asm | 100 lea INDEXq, [Xq + SOURCE_DXq] ; INDEXq now points to next pixel. 101 ; Xq points to current pixel. 118 lea Xq, [INDEXq + SOURCE_DXq] ; Xq points to next pixel. 119 ; INDEXq points to current pixel.
|
H A D | scale_yuv_to_rgb_sse2_x64.asm | 64 ; Read first Y pixel. 65 lea INDEXq, [Xq + SOURCE_DXq] ; INDEXq nows points to next pixel. 71 ; Read next Y pixel. 72 lea Xq, [INDEXq + SOURCE_DXq] ; Xq now points to next pixel.
|
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
H A D | voronoi.cc | 79 // BGRA helper function, for constructing a pixel for a BGRA buffer. 278 // voronoi membership per pixel. 291 // else compute each pixel in the span... this is the slow part! 390 uint32_t* pixel = wGetAddr(ix, iy); 392 *pixel = color1; 393 *(pixel - 1) = color2; 394 *(pixel + 1) = color2; 395 *(pixel - stride_in_pixels) = color2; 396 *(pixel + stride_in_pixels) = color2;
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
H A D | voronoi.cc | 73 // BGRA helper function, for constructing a pixel for a BGRA buffer. 268 // voronoi membership per pixel. 281 // else compute each pixel in the span... this is the slow part! 387 uint32_t* pixel = wGetAddr(ix, iy); 389 *pixel = color1; 390 *(pixel - 1) = color2; 391 *(pixel + 1) = color2; 392 *(pixel - stride_in_pixels) = color2; 393 *(pixel + stride_in_pixels) = color2;
|
/external/chromium_org/pdf/ |
H A D | draw_utils.cc | 16 inline uint8 GetBlue(const uint32& pixel) { argument 17 return static_cast<uint8>(pixel & 0xFF); 20 inline uint8 GetGreen(const uint32& pixel) { argument 21 return static_cast<uint8>((pixel >> 8) & 0xFF); 24 inline uint8 GetRed(const uint32& pixel) { argument 25 return static_cast<uint8>((pixel >> 16) & 0xFF); 28 inline uint8 GetAlpha(const uint32& pixel) { argument 29 return static_cast<uint8>((pixel >> 24) & 0xFF); 123 uint32_t* pixel = origin_pixel; local 125 *pixel 269 uint32 pixel = MakePixel(red, green, blue, GetAlpha(background)); local 296 uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); local [all...] |
/external/chromium_org/pdf/pdfium/ |
H A D | pdfium_engine.cc | 733 // move the text up or down a pixel when zoomed. 2696 uint8* pixel = static_cast<uint8*>(buffer) + y * stride + x * 4; local 2698 pixel[0] = static_cast<uint8>( 2699 pixel[0] * (kHighlightColorB / 255.0)); 2700 pixel[1] = static_cast<uint8>( 2701 pixel[1] * (kHighlightColorG / 255.0)); 2702 pixel[2] = static_cast<uint8>( 2703 pixel[2] * (kHighlightColorR / 255.0));
|
/external/chromium_org/ppapi/examples/scaling/ |
H A D | scaling.cc | 101 << "), device pixel (" << position_device.x() << ", " 106 stream << ", CSS pixel (" << position_css.x() << ", " << position_css.y() 109 stream <<", unknown CSS pixel. css_scale_=" << css_scale_; 116 // The plugin will treat 1 pixel in the device context as 1 device pixel. 119 // each pixel in the device context as one on the display device. 130 // The plugin will treat 1 pixel in the device context as one DIP. 148 // - painting a 25 DIP (logical pixel) green circle to show how objects of a 151 // - paiting a 50 CSS pixel red circle to show how objects of a fixed size 178 uint32_t* pixel local [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_graphics_2d.cc | 113 for (int pixel = 0; pixel < rect.width(); pixel++) 114 row[pixel] = color; 124 uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); local 125 *pixel = (blue << 24) | (green << 16) | (red << 8); 160 uint32_t pixel = *image_data.GetAddr32(pp::Point(x, y)); local 166 if (pixel != desired_color) 425 // Now repaint that top left pixel by doing a subset of the source image.
|
/external/chromium_org/remoting/client/plugin/ |
H A D | chromoting_instance.cc | 68 // 32-bit BGRA is 4 bytes per pixel. 155 // Returns true if |pixel| is not completely transparent. 156 bool IsVisiblePixel(uint32_t pixel) { argument 157 return (pixel & kPixelAlphaMask) != 0; 160 // Returns true if there is at least one visible pixel in the given range.
|
/external/chromium_org/skia/ext/ |
H A D | image_operations_unittest.cc | 23 // Computes the average pixel value for the given range, inclusive. 46 // Computes the average pixel (/color) value for the given colors. 119 const SkColor pixel = SkColorSetARGB(component, component, local 121 *bmp->getAddr32(x, y) = pixel; 128 // and those lines repeat every "grid_pitch" pixels. The top left pixel (0, 0) 239 // "use the pixel-specific value" and larger values can be used to allow 311 << ", pixel tested: " << tested_pixel.name 399 // Note that those expressions take into account the "half-pixel" 515 // we'd need to compute distances for each sub-pixel, and potentially 523 // a distance limit for each tested pixel fo [all...] |