HomeSort by relevance Sort by last modified time
    Searched defs:pixel (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /external/chromium_org/media/base/simd/
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[r] * 112 + pixel[g] * -94
71 const uint8* pixel = rgbframe + 3 * j; local
    [all...]
filter_yuv_mmx.cc 28 int pixel = 0; local
33 while (pixel < width && pixel < unaligned_width) {
34 dest[pixel] = (src0[pixel] * (256 - fraction) +
35 src1[pixel] * fraction) >> 8;
36 ++pixel;
42 const __m64* src0_64 = reinterpret_cast<const __m64*>(src0 + pixel);
43 const __m64* src1_64 = reinterpret_cast<const __m64*>(src1 + pixel);
44 __m64* dest64 = reinterpret_cast<__m64*>(dest + pixel);
    [all...]
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...]
  /external/skia/tests/
BitmapHeapTest.cpp 46 uint32_t* pixel = bm.getAddr32(1,0); local
47 *pixel = SK_ColorBLUE;
  /external/chromium_org/ui/gfx/x/
x11_types.cc 104 const uint32_t pixel = *(bitmap_in++); local
105 bitmap32[0] = (pixel >> 16) & 0xff; // Red
106 bitmap32[1] = (pixel >> 8) & 0xff; // Green
107 bitmap32[2] = pixel & 0xff; // Blue
108 bitmap32[3] = (pixel >> 24) & 0xff; // Alpha
130 const uint32_t pixel = *(bitmap_in++); local
131 uint16_t out_pixel = ((pixel >> 8) & 0xf800) |
132 ((pixel >> 5) & 0x07e0) |
133 ((pixel >> 3) & 0x001f);
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p9.cpp 33 struct pixel { struct
36 constexpr pixel ur = { 1294, 1024 }; // ok
37 constexpr pixel origin; // expected-error {{default initialization of an object of const type 'const pixel' requires a user-provided default constructor}}
  /cts/tests/tests/graphics/src/android/graphics/cts/
ComposeShaderTest.java 59 int pixel = bitmap.getPixel(x, y); local
61 assertEquals(0xFF, Color.alpha(pixel), TOLERANCE);
62 assertEquals(y, Color.red(pixel), TOLERANCE);
63 assertEquals(green, Color.green(pixel), TOLERANCE);
64 assertEquals(x, Color.blue(pixel), TOLERANCE);
CornerPathEffectTest.java 81 int pixel = bitmap.getPixel(x, y); local
82 if (Color.green(pixel) > 0) {
85 assertEquals(Color.YELLOW, pixel);
DiscretePathEffectTest.java 80 int pixel = bitmap.getPixel(x, y); local
81 if (Color.green(pixel) > 0) {
85 assertEquals(0xFF, Color.blue(pixel));
86 if (Color.red(pixel) > 0) {
EmbossMaskFilterTest.java 86 int pixel = b.getPixel(x, y); local
87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel);
PaintFlagsDrawFilterTest.java 94 int pixel = bitmap.getPixel(x, y); local
95 if (pixel == Color.RED) {
103 // underline is at least one pixel high
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
GLTest_test.cpp 173 << "Pixel comparison failed with tolerance " << tolerance << "\n"
192 GLubyte pixel[4]; local
193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel);
195 ASSERT_PRED_FORMAT3(AssertPixel, pixel, expected, 2);
  /external/ceres-solver/examples/
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);
166 std::min(255.0, std::max(0.0, solution->Pixel(x, y)));
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
skia_utils_gtk2.cc 71 // more complex when a pixel isn't perfectly a word of memory.
78 guchar* pixel = gdk_pixels + row + (x * 3); local
79 const unsigned char& red = pixel[0];
80 const unsigned char& green = pixel[1];
81 const unsigned char& blue = pixel[2];
115 uint32 pixel = bitmap.getAddr32(0, y)[x]; local
117 int alpha = SkColorGetA(pixel);
119 SkColor unmultiplied = SkUnPreMultiply::PMColorToColor(pixel);
125 divided[i + 0] = SkColorGetR(pixel);
126 divided[i + 1] = SkColorGetG(pixel);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
xm_line.c 52 * Render an array of points into a pixmap, any pixel format.
66 unsigned long pixel = xmesa_color_to_pixel( xmesa,
70 XMesaSetForeground( dpy, gc, pixel );
134 unsigned long pixel; \
135 PACK_TRUECOLOR( pixel, color[0], color[1], color[2] );
137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel );
149 GLuint pixel = PACK_8A8B8G8R(color[0], color[1], color[2], color[3]);
154 #define PLOT(X,Y) *pixelPtr = pixel;
166 GLuint pixel = PACK_8A8R8G8B(color[0], color[1], color[2], color[3]);
171 #define PLOT(X,Y) *pixelPtr = pixel;
422 unsigned long pixel = xmesa_color_to_pixel(ctx, local
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xm_line.c 52 * Render an array of points into a pixmap, any pixel format.
66 unsigned long pixel = xmesa_color_to_pixel( xmesa,
70 XMesaSetForeground( dpy, gc, pixel );
134 unsigned long pixel; \
135 PACK_TRUECOLOR( pixel, color[0], color[1], color[2] );
137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel );
149 GLuint pixel = PACK_8A8B8G8R(color[0], color[1], color[2], color[3]);
154 #define PLOT(X,Y) *pixelPtr = pixel;
166 GLuint pixel = PACK_8A8R8G8B(color[0], color[1], color[2], color[3]);
171 #define PLOT(X,Y) *pixelPtr = pixel;
422 unsigned long pixel = xmesa_color_to_pixel(ctx, local
    [all...]
  /frameworks/base/media/mca/filterpacks/native/imageproc/
brightness.c 31 } Pixel;
81 Pixel pixel; local
83 pixel.value = *(input_ptr++);
85 const short r = (pixel.rgba[0] * factor) / 255;
86 const short g = (pixel.rgba[1] * factor) / 255;
87 const short b = (pixel.rgba[2] * factor) / 255;
92 | (pixel.rgba[3] << 24);
  /external/chromium/chrome/browser/ui/gtk/
nine_box.cc 193 guchar* pixel = &pixels[i * rowstride + j * 4]; local
194 if (pixel[0] == 0xff && pixel[1] == 0xff && pixel[2] == 0xff) {
195 pixel[3] = 0;
  /external/chromium_org/ash/desktop_background/
wallpaper_resizer_unittest.cc 38 const SkColor pixel = SkColorSetARGB(component, component, local
40 *(src.getAddr32(x, y)) = pixel;
  /external/chromium_org/ppapi/examples/scaling/
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 = reinterpret_cast<uint32_t*>(row) local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
BMPImageReader.cpp 425 // specify a bogus alpha channel in bits that don't exist in the pixel
445 // Count offset into pixel data.
582 // point to the beginning of the pixel data, bump it past
668 for (size_t pixel = 0; (pixel < pixelsPerByte) && (m_coord.x() < endX); ++pixel) {
692 const uint32_t pixel = readCurrentPixel(bytesPerPixel); local
703 int alpha = getAlpha(pixel);
716 setRGBA(getComponent(pixel, 0), getComponent(pixel, 1)
    [all...]
  /external/chromium_org/third_party/freetype/include/freetype/
ftcache.h 411 /* pixel :: A Boolean. If 1, the `width' and `height' fields are */
412 /* interpreted as integer pixel character sizes. */
415 /* x_res :: Only used when `pixel' is value~0 to indicate the */
418 /* y_res :: Only used when `pixel' is value~0 to indicate the */
430 FT_Int pixel; member in struct:FTC_ScalerRec_
    [all...]
  /external/chromium_org/third_party/freetype/src/smooth/
ftsmooth.c 334 FT_UInt pixel = line[xx-1]; local
337 end[-3] = (FT_Byte)pixel;
338 end[-2] = (FT_Byte)pixel;
339 end[-1] = (FT_Byte)pixel;
  /external/chromium_org/ui/gfx/
color_analysis_unittest.cc 248 // Write a black pixel into the image. A dark grey input pixel should match
250 uint32_t* pixel = bitmap.getAddr32(0, 0); local
251 *pixel = SK_ColorBLACK;
gtk_util.cc 107 uint32 pixel = bitmap.getAddr32(0, y)[x]; local
109 int alpha = SkColorGetA(pixel);
111 SkColor unmultiplied = SkUnPreMultiply::PMColorToColor(pixel);
117 divided[i + 0] = SkColorGetR(pixel);
118 divided[i + 1] = SkColorGetG(pixel);
119 divided[i + 2] = SkColorGetB(pixel);

Completed in 1995 milliseconds

1 2 3 4 5 6