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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
levels.rsh 26 float3 pixel = convert_float4(in).rgb;
27 pixel = rsMatrixMultiply(&colorMat, pixel);
28 pixel = clamp(pixel, 0.f, 255.f);
29 pixel = (pixel - inBlack) * overInWMinInB;
30 pixel = pixel * outWMinOutB + outBlack;
31 pixel = clamp(pixel, 0.f, 255.f)
    [all...]
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
levels.rsh 26 float3 pixel = convert_float4(in).rgb;
27 pixel = rsMatrixMultiply(&colorMat, pixel);
28 pixel = clamp(pixel, 0.f, 255.f);
29 pixel = (pixel - inBlack) * overInWMinInB;
30 pixel = pixel * outWMinOutB + outBlack;
31 pixel = clamp(pixel, 0.f, 255.f)
    [all...]
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
levels.rsh 26 float3 pixel = convert_float4(in).rgb;
27 pixel = rsMatrixMultiply(&colorMat, pixel);
28 pixel = clamp(pixel, 0.f, 255.f);
29 pixel = (pixel - inBlack) * overInWMinInB;
30 pixel = pixel * outWMinOutB + outBlack;
31 pixel = clamp(pixel, 0.f, 255.f)
    [all...]
  /development/samples/RenderScript/Levels/src/com/android/rs/levels/
levels.rs 29 float3 pixel = convert_float4(in[0]).rgb;
30 pixel = rsMatrixMultiply(&colorMat, pixel);
31 pixel = clamp(pixel, 0.f, 255.f);
32 pixel = (pixel - inBlack) * overInWMinInB;
34 pixel = pow(pixel, (float3)gamma);
35 pixel = pixel * outWMinOutB + outBlack
    [all...]
  /external/opencv3/modules/features2d/src/
agast_score.hpp 55 void makeAgastOffsets(int pixel[16], int row_stride, int type);
58 int agast_cornerScore(const uchar* ptr, const int pixel[], int threshold);
fast_score.hpp 54 void makeOffsets(int pixel[25], int row_stride, int patternSize);
57 int cornerScore(const uchar* ptr, const int pixel[], int threshold);
  /frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
levels_f.rsh 26 float3 pixel = convert_float4(in).rgb;
27 pixel = rsMatrixMultiply(&colorMat, pixel);
28 pixel = clamp(pixel, 0.f, 255.f);
29 pixel = (pixel - inBlack) * overInWMinInB;
30 pixel = pixel * outWMinOutB + outBlack;
31 pixel = clamp(pixel, 0.f, 255.f)
    [all...]
  /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/skia/tests/
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);
  /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/skia/src/codec/
SkMasks.h 55 uint8_t getRed(uint32_t pixel) const;
56 uint8_t getGreen(uint32_t pixel) const;
57 uint8_t getBlue(uint32_t pixel) const;
58 uint8_t getAlpha(uint32_t pixel) const;
SkMasks.cpp 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift,
63 return convert_to_8((pixel & mask) >> shift, size);
71 uint8_t SkMasks::getRed(uint32_t pixel) const {
72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size);
74 uint8_t SkMasks::getGreen(uint32_t pixel) const {
75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size);
77 uint8_t SkMasks::getBlue(uint32_t pixel) const {
78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size);
80 uint8_t SkMasks::getAlpha(uint32_t pixel) const {
81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size)
    [all...]
  /packages/apps/TV/src/com/android/tv/guide/
GuideUtils.java 51 public static long convertPixelToMillis(int pixel) {
52 return pixel * TimeUnit.HOURS.toMillis(1) / sWidthPerHour;
  /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);
  /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...]
ImfPxr24Compressor.cpp 42 // The compressor preprocesses the pixel data to reduce entropy,
50 // the pixel data so that the values for each channel appear in a
51 // contiguous block of memory. The compressor converts the pixel
325 unsigned int pixel; local
326 char *pPtr = (char *) &pixel;
328 for (int k = 0; k < sizeof (pixel); ++k)
331 unsigned int diff = pixel - previousPixel;
332 previousPixel = pixel;
350 half pixel; local
352 pixel = *(const half *) inPtr
373 float pixel; local
456 unsigned int pixel = 0; local
    [all...]
  /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];
  /system/core/libpixelflinger/
buffer.cpp 27 uint32_t x, uint32_t y, pixel_t* pixel);
29 uint32_t x, uint32_t y, const pixel_t* pixel);
31 uint32_t x, uint32_t y, pixel_t* pixel);
33 uint32_t x, uint32_t y, pixel_t* pixel);
112 uint32_t x, uint32_t y, pixel_t* pixel)
127 pixel->s[i] = f->c[i].h - f->c[i].l;
128 if (pixel->s[i])
129 pixel->c[i] = extract(v, f->c[i].h, f->c[i].l, f->size*8);
134 uint32_t x, uint32_t y, pixel_t* pixel)
137 pixel->c[0] = 0
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
ImageCompare.java 30 private static double luma(int pixel) {
31 final int R = Color.red(pixel);
32 final int G = Color.green(pixel);
33 final int B = Color.blue(pixel);
  /external/freetype/src/cache/
ftcmanag.h 158 ((a)->pixel != 0) == ((b)->pixel != 0) && \
159 ( (a)->pixel || \
166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
  /hardware/bsp/intel/peripheral/libupm/src/lol/
lol.h 77 * Gets a pixel at specified coordinates
80 * @return 1 if the pixel is on, 0 if off, -1 on error
85 * Sets a pixel at specified coordinates
88 * @param pixel 0 is off, 1 is on
91 unsigned char setPixel(int x, int y, unsigned char pixel);
  /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/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
windowmanagertest.cc 34 unsigned char* pixel = bitmap; local
45 *pixel = (1.f - dist2) * 255.f;
46 pixel++;
47 *pixel = (1.f - dist2) * 255.f;
48 pixel++;
49 *pixel = (1.f - dist2) * 255.f;
50 pixel++;
51 *pixel = 0;
52 pixel++;
  /frameworks/base/tests/touchlag/
touchlag.cpp 50 void clearBuffer(Buffer* buf, uint32_t pixel) {
51 android_memset32(buf->pixels, pixel, buf->s * buf->h * 4);
54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) {
58 bits[x] = pixel;
62 bits[x+W] = pixel;
67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) {
79 android_memset32(bits, pixel, W*4);
84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) {
99 android_memset32(bits, pixel, W*4);
105 void drawCircle(Buffer* buf, uint32_t pixel,
    [all...]

Completed in 602 milliseconds

1 2 3 4 5 6 7 8 91011>>