/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfLut.cpp | 40 // of half --> half functions to pixel data, 80 char *pixel = base + data.xStride * local 87 *(half *)pixel = _lut (*(half *)pixel); 88 pixel += data.xStride; 128 Rgba *pixel = base + dataWindow.min.x * xStride; local 133 pixel->r = _lut (pixel->r); 136 pixel->g = _lut (pixel->g) [all...] |
ImfPreviewImage.h | 44 // struct PreviewRgba -- holds the value of a PreviewImage pixel. 54 unsigned char g; // the pixel's color; intensity is 58 unsigned char a; // The pixel's alpha; 0 == transparent, 77 // whose initial values are specified in pixel array p. The x and y 79 // The pixel with coordinates (x, y) is at address p + y*w + x. 80 // Pixel (0, 0) is in the upper left corner of the preview image. 101 // Access to width, height and to the pixel array 115 PreviewRgba & pixel (unsigned int x, unsigned int y) function in class:Imf::PreviewImage 118 const PreviewRgba & pixel (unsigned int x, unsigned int y) const function in class:Imf::PreviewImage
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_cpuinfo.h | 49 #undef pixel macro
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_cpuinfo.h | 49 #undef pixel macro
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_cpuinfo.h | 49 #undef pixel macro
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_cpuinfo.h | 49 #undef pixel macro
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
LoL_exampleSample.java | 43 // revert pixel 44 short pixel = sensor.getPixel(x, y); local 45 pixel = (short) ((pixel == 0) ? 1 : 0); 46 sensor.setPixel(x, y, pixel);
|
/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 41 png_byte* pixel = &(row_pointers[y][x*4]); local 42 pixel[0] = *p; p++; // R 43 pixel[1] = *p; p++; // G 44 pixel[2] = *p; p++; // B 45 pixel[3] = *p; p++; // A
|
/external/skia/tests/ |
CTest.cpp | 61 uint32_t pixel[1] = { 0 }; local 64 sk_surface_t* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t), 70 REPORTER_ASSERT(reporter, 0xFF000000 == pixel[0]); 74 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 79 REPORTER_ASSERT(reporter, 0x80404040 == pixel[0]);
|
SkImageTest.cpp | 38 uint32_t pixel = 0; local 40 canvas.readPixels(info, &pixel, 4, 0, 0); 41 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); 43 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); 46 REPORTER_ASSERT(reporter, pixel == SK_ColorTRANSPARENT);
|
BitmapHeapTest.cpp | 50 uint32_t* pixel = bm.getAddr32(1,0); local 51 *pixel = SK_ColorBLUE;
|
ClearTest.cpp | 28 uint32_t pixel = pixels.get()[y * w + x]; local 29 if (pixel != expectedValue) { 30 *actualValue = pixel; 76 // A rectangle that is inset by one on all sides and the 1-pixel wide rectangles that surround 84 // A rectangle that is inset by two on all sides and the 1-pixel wide rectangles that surround
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
ValPixConverterTest.java | 64 // (remember that 0,0 is the top left pixel)
104 float pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
local 105 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
108 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
109 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
114 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
115 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
119 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
120 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
124 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true); [all...] |
/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' without a user-provided default constructor}}
|
/external/opencv3/modules/imgproc/test/ |
test_watershed.cpp | 101 int& pixel = line[i]; local 103 if (pixel == -1) // border 106 if (pixel <= 0 || pixel > compNum) 111 pixel = colors[pixel];
|
/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);
|
/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/libdrm/tests/planetest/ |
bo.c | 72 uint8_t *pixel = row + j * 4; local 77 pixel[0] = b; 78 pixel[1] = g; 79 pixel[2] = r; 80 pixel[3] = a; 82 pixel[0] = r; 83 pixel[1] = g; 84 pixel[2] = b; 85 pixel[3] = a;
|
/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...] |
/external/pdfium/xfa/src/fxbarcode/ |
BC_BufferedImageLuminanceSource.cpp | 143 int32_t pixel = rowLine[x];
local 144 int32_t luminance = (306 * ((pixel >> 16) & 0xFF) +
145 601 * ((pixel >> 8) & 0xFF) + 117 * (pixel & 0xFF)) >>
160 int32_t pixel = rgb[offset + x];
local 162 (306 * ((pixel >> 16) & 0xFF) + 601 * ((pixel >> 8) & 0xFF) +
163 117 * (pixel & 0xFF)) >>
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
brightness.c | 32 } Pixel; 82 Pixel pixel; local 84 pixel.value = *(input_ptr++); 86 const short r = (pixel.rgba[0] * factor) / 255; 87 const short g = (pixel.rgba[1] * factor) / 255; 88 const short b = (pixel.rgba[2] * factor) / 255; 93 | (pixel.rgba[3] << 24);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 147 final int pixel = b.getPixel(0, 0); local 149 assertEquals(Color.WHITE, pixel);
|