/external/pixman/pixman/ |
H A D | pixman-access.c | 229 /* With BGRA formats we start counting at the high end of the pixel */ 237 /* With BGRA formats we start counting at the high end of the pixel */ 251 convert_channel (uint32_t pixel, uint32_t def_value, argument 258 v = unorm_to_unorm (pixel >> from_shift, n_from_bits, n_to_bits); 268 convert_pixel (pixman_format_code_t from, pixman_format_code_t to, uint32_t pixel) argument 277 a = convert_channel (pixel, ~0, 281 r = convert_channel (pixel, 0, 285 g = convert_channel (pixel, 0, 289 b = convert_channel (pixel, 0, 299 uint32_t pixel) 297 convert_pixel_to_a8r8g8b8(pixman_image_t *image, pixman_format_code_t format, uint32_t pixel) argument 313 convert_pixel_from_a8r8g8b8(pixman_image_t *image, pixman_format_code_t format, uint32_t pixel) argument 340 uint32_t pixel; local 377 convert_and_store_pixel(bits_image_t * image, uint8_t * dest, int offset, pixman_format_code_t format, uint32_t pixel) argument 594 const uint32_t *pixel = bits + x; local 623 const uint32_t *pixel = bits + x; local 654 const uint32_t *pixel = (uint32_t *)bits + x; local 684 const uint32_t *pixel = bits + x; local 715 const uint32_t *pixel = (uint32_t *)bits + x; local 973 uint32_t *pixel = bits + x; local 999 uint32_t *pixel = bits + x; local 1024 uint32_t *pixel = bits + x; local 1050 uint32_t *pixel = bits + x; local 1075 uint32_t *pixel = bits + x; local 1148 const uint32_t *pixel = (uint32_t *)bits + x; local 1201 uint32_t *pixel = bits + x; local [all...] |
/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/third_party/angle/tests/angle_tests/ |
H A D | TextureTest.cpp | 119 const GLubyte *pixel[4] = { 0 }; local 121 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixel); 124 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel); 127 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixel);
|
H A D | LineLoopTest.cpp | 115 const GLubyte* pixel = pixels.data() + ((y * getWindowWidth() + x) * 4); local 117 EXPECT_EQ(pixel[0], 0); 118 EXPECT_EQ(pixel[1], pixel[2]); 119 EXPECT_EQ(pixel[3], 255);
|
/external/libpng/contrib/gregbook/ |
H A D | rpng-x.c | 21 - 1.10: added support for non-default visuals; fixed X pixel-conversion 669 /* to avoid testing the byte order every pixel (or doubling the size of 692 ulg pixel; local 717 pixel = (red << RShift) | 722 *dest++ = (char)((pixel >> 24) & 0xff); 723 *dest++ = (char)((pixel >> 16) & 0xff); 724 *dest++ = (char)((pixel >> 8) & 0xff); 725 *dest++ = (char)( pixel & 0xff); 730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); 732 *dest++ = (char)((pixel >> 2 [all...] |
/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/clang/test/SemaCXX/ |
H A D | altivec.cpp | 12 vector pixel vp; 82 catch (vector pixel px) {}
|
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | lossless_neon.c | 33 uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 35 const uint8x16_t tmp = pixel.val[0]; 36 pixel.val[0] = pixel.val[2]; 37 pixel.val[2] = tmp; 38 vst4q_u8(dst, pixel); 48 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 49 const uint8x16x3_t tmp = { { pixel.val[0], pixel.val[1], pixel 60 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local [all...] |
/external/webp/src/dsp/ |
H A D | lossless_neon.c | 33 uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 35 const uint8x16_t tmp = pixel.val[0]; 36 pixel.val[0] = pixel.val[2]; 37 pixel.val[2] = tmp; 38 vst4q_u8(dst, pixel); 48 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 49 const uint8x16x3_t tmp = { { pixel.val[0], pixel.val[1], pixel 60 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local [all...] |
/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/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_pixels.c | 24 /* General (mostly internal) pixel/color manipulation routines for SDL */ 35 * Allocate a pixel format structure and fill it according to the given info. 43 /* Allocate an empty pixel format structure */ 320 Uint8 pixel=0; local 329 pixel = i; 336 return(pixel); 339 /* Find the opaque pixel value corresponding to an RGB triple */ 354 /* Find the pixel value corresponding to an RGBA quadruple */ 369 void SDL_GetRGBA(Uint32 pixel, const SDL_PixelFormat * const fmt, argument 383 v = (pixel 403 SDL_GetRGB(Uint32 pixel, const SDL_PixelFormat * const fmt, Uint8 *r,Uint8 *g,Uint8 *b) argument [all...] |
/external/chromium_org/third_party/skia/dm/ |
H A D | DMUtil.cpp | 67 static void unpack_565(uint16_t pixel, unsigned* r, unsigned* g, unsigned* b) { argument 68 *r = SkGetPackedR16(pixel); 69 *g = SkGetPackedG16(pixel); 70 *b = SkGetPackedB16(pixel);
|
/external/clang/test/Parser/ |
H A D | altivec.c | 22 __vector pixel vv__p; 44 vector pixel v__p; 75 vector bool pixel v_bp; // expected-error {{cannot use '__pixel' with '__vector bool'}} 87 vector pixel i16;
|
/external/skia/dm/ |
H A D | DMUtil.cpp | 50 static void unpack_565(uint16_t pixel, unsigned* r, unsigned* g, unsigned* b) { argument 51 *r = SkGetPackedR16(pixel); 52 *g = SkGetPackedG16(pixel); 53 *b = SkGetPackedB16(pixel);
|
/external/skia/tests/ |
H A D | ImageFilterTest.cpp | 183 uint32_t pixel = *result.getAddr32(0, 0); local 185 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 560 uint32_t pixel = *bitmap.getAddr32(0, 0); local 561 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 579 pixel = *bitmap.getAddr32(0, 0); 581 REPORTER_ASSERT(reporter, pixel != SK_ColorGREEN); 615 uint32_t pixel = *bitmap.getAddr32(0, 0); local 616 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 625 pixel = *bitmap.getAddr32(0, 0); 626 REPORTER_ASSERT(reporter, pixel 691 uint32_t pixel; local 742 uint32_t pixel; local [all...] |
H A D | BitmapHeapTest.cpp | 38 uint32_t* pixel = bm.getAddr32(1,0); local 39 *pixel = SK_ColorBLUE;
|
/external/chromium_org/media/base/simd/ |
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/third_party/skia/tests/ |
H A D | BitmapHeapTest.cpp | 38 uint32_t* pixel = bm.getAddr32(1,0); local 39 *pixel = SK_ColorBLUE;
|
/external/pixman/demos/ |
H A D | clip-test.c | 10 create_solid_bits (uint32_t pixel) argument 16 pixels[i] = pixel;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | DragImage.cpp | 262 uint32_t* pixel = m_bitmap.getAddr32(column, row); local 263 *pixel = SkPreMultiplyARGB( 264 SkColorGetA(*pixel) * fraction, 265 SkColorGetR(*pixel), 266 SkColorGetG(*pixel), 267 SkColorGetB(*pixel));
|
/external/pixman/test/ |
H A D | pixel-test.c | 101 fill (pixman_image_t *image, uint32_t pixel) argument 112 ((uint32_t *)data)[i] = pixel; 116 pixel &= 0xffff; 118 ((uint16_t *)data)[i] = pixel; 122 pixel &= 0xff; 124 ((uint8_t *)data)[i] = pixel; 206 printf (" - source ARGB: %f %f %f %f (pixel: %8x)\n", 213 printf (" - dest ARGB: %f %f %f %f (pixel: %8x)\n", 228 printf (" got: %8d %8d %8d %8d (pixel: %8x)\n", a, r, g, b, computed);
|
/external/chromium_org/third_party/android_opengl/etc1/ |
H A D | etc1.cpp | 82 | most significant pixel index bits | 88 | least significant pixel index bits | 107 Add table 3.17.3 Mapping from pixel index values to modifier values for 110 pixel index value 502 // pixel is valid or not. Invalid pixel color values are ignored when compressing. 531 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 578 int pixel = (p[1] << 8) | p[0]; local 579 *q++ = convert5To8(pixel >> 11); 580 *q++ = convert6To8(pixel >> 621 int pixel = (p[1] << 8) | p[0]; local 646 int pixel = (p[1] << 8) | p[0]; local 704 etc1_uint32 pixel = ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11video.c | 754 unsigned long pixel; local 756 for ( pixel=0; pixel<numcolors; ++pixel ) { 757 while ( SDL_XPixels[pixel] > 0 ) { 759 SDL_DisplayColormap,&pixel,1,0); 760 --SDL_XPixels[pixel]; 971 /* Allocate the new pixel format for this video mode */ 989 /* Allocate the pixel flags */ 1325 all[i].pixel 1421 int pixel = firstcolor + i; local 1525 unsigned long pixel; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
H A D | WEBPImageDecoder.cpp | 106 blink::ImageFrame::PixelData& pixel = *src.getAddr(canvasX, canvasY); 107 if (SkGetPackedA32(pixel) != 0xff) { 109 pixel = SkPMSrcOver(pixel, prevPixel); 118 blink::ImageFrame::PixelData& pixel = *src.getAddr(canvasX, canvasY); 119 if (SkGetPackedA32(pixel) != 0xff) { 121 pixel = blendSrcOverDstNonPremultiplied(pixel, prevPixel); 495 uint8_t* pixel = row; 496 for (int x = 0; x < width; ++x, pixel [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
H A D | x_server_pixel_buffer.cc | 317 uint32_t pixel; local 319 pixel = src_pos_32[x]; 321 pixel = src_pos_16[x]; 323 pixel = src_pos[x]; 325 uint32_t r = (pixel & red_mask) << red_shift; 326 uint32_t g = (pixel & green_mask) << green_shift; 327 uint32_t b = (pixel & blue_mask) << blue_shift;
|