HomeSort by relevance Sort by last modified time
    Searched refs:pixel (Results 1 - 25 of 555) 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...]
  /external/ImageMagick/MagickCore/
colorspace-private.h 23 #include "MagickCore/pixel.h"
24 #include "MagickCore/pixel-accessor.h"
30 static inline void ConvertCMYKToRGB(PixelInfo *pixel)
32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange-
33 pixel->black)+pixel->black)));
34 pixel->green=((QuantumRange-(QuantumScale*pixel->green*(QuantumRange-
35 pixel->black)+pixel->black)))
    [all...]
quantum-import.c 64 #include "MagickCore/pixel.h"
65 #include "MagickCore/pixel-accessor.h"
66 #include "MagickCore/pixel-private.h"
88 % ImportQuantumPixels() transfers one or more pixel components from a user
89 % supplied buffer into the image pixel cache of an image. The pixels are
107 % o quantum_type: Declare which pixel components to transfer (red, green,
110 % o pixels: The pixel components are transferred from this buffer.
126 const unsigned char *magick_restrict pixels,double *pixel)
145 *pixel=(*p);
146 *pixel-=quantum_info->minimum
265 pixel; local
274 pixel; local
288 pixel; local
314 pixel; local
319 pixel; local
344 pixel; local
385 pixel; local
394 pixel; local
459 pixel; local
574 pixel; local
610 pixel; local
615 pixel; local
648 pixel; local
693 pixel; local
702 pixel; local
795 pixel; local
836 pixel; local
841 pixel; local
878 pixel; local
927 pixel; local
936 pixel; local
1029 pixel; local
1070 pixel; local
1075 pixel; local
1112 pixel; local
1161 pixel; local
1174 pixel; local
1188 pixel; local
1214 pixel; local
1219 pixel; local
1244 pixel; local
1282 pixel; local
1291 pixel; local
1305 pixel; local
1331 pixel; local
1336 pixel; local
1361 pixel; local
1399 pixel; local
1493 pixel; local
1506 pixel; local
1526 pixel; local
1567 pixel; local
1572 pixel; local
1609 pixel; local
1658 pixel; local
1671 pixel; local
1693 pixel; local
1739 pixel; local
1744 pixel; local
1785 pixel; local
1839 pixel; local
1852 pixel; local
1874 pixel; local
1920 pixel; local
1925 pixel; local
1966 pixel; local
2023 pixel; local
2064 pixel; local
2088 pixel; local
2192 pixel; local
2230 pixel; local
2267 pixel; local
2272 pixel; local
2297 pixel; local
2338 pixel; local
2347 pixel; local
2378 pixel; local
2395 pixel; local
2439 pixel; local
2470 pixel; local
2475 pixel; local
2504 pixel; local
2546 pixel; local
2555 pixel; local
2569 pixel; local
2595 pixel; local
2600 pixel; local
2625 pixel; local
2666 pixel; local
2680 pixel; local
2716 pixel; local
2745 pixel; local
2761 pixel; local
2792 pixel; local
2797 pixel; local
2827 pixel; local
2879 pixel; local
2893 pixel; local
2928 pixel; local
2947 pixel; local
2965 pixel; local
3001 pixel; local
3006 pixel; local
3040 pixel; local
3090 pixel; local
3099 pixel; local
3113 pixel; local
3139 pixel; local
3144 pixel; local
3169 pixel; local
3207 pixel; local
3216 pixel; local
3230 pixel; local
3256 pixel; local
3261 pixel; local
3286 pixel; local
3327 pixel; local
3336 pixel; local
3401 pixel; local
3516 pixel; local
3552 pixel; local
3557 pixel; local
3590 pixel; local
3635 pixel; local
3644 pixel; local
3737 pixel; local
3778 pixel; local
3783 pixel; local
3820 pixel; local
3869 pixel; local
3878 pixel; local
3971 pixel; local
4012 pixel; local
4017 pixel; local
4054 pixel; local
    [all...]
pixel-accessor.h 16 MagickCore pixel accessor methods.
48 const Quantum *magick_restrict pixel)
50 return(pixel[image->channel_map[aPixelChannel].offset]);
54 const Quantum *magick_restrict pixel)
58 return(pixel[image->channel_map[AlphaPixelChannel].offset]);
68 const Quantum *magick_restrict pixel)
70 return(pixel[image->channel_map[bPixelChannel].offset]);
74 const Quantum *magick_restrict pixel)
78 return(pixel[image->channel_map[BlackPixelChannel].offset]);
88 const Quantum *magick_restrict pixel)
    [all...]
quantum-export.c 64 #include "MagickCore/pixel.h"
65 #include "MagickCore/pixel-accessor.h"
87 % ExportQuantumPixels() transfers one or more pixel components from the image
88 % pixel cache to a user supplied buffer. The pixels are returned in network
106 % o quantum_type: Declare which pixel components to transfer (RGB, RGBA,
116 const double pixel,unsigned char *magick_restrict pixels)
126 *p=(double) (pixel*quantum_info->state.inverse_scale+quantum_info->minimum);
151 const float pixel,unsigned char *magick_restrict pixels)
161 *p=(float) ((double) pixel*quantum_info->state.inverse_scale+
179 const QuantumAny pixel,unsigned char *magick_restrict pixels
258 pixel; local
272 pixel; local
297 pixel; local
378 pixel; local
427 pixel; local
551 pixel; local
584 pixel; local
662 pixel; local
682 pixel; local
777 pixel; local
814 pixel; local
821 pixel; local
853 pixel; local
906 pixel; local
926 pixel; local
1021 pixel; local
1058 pixel; local
1065 pixel; local
1097 pixel; local
1154 pixel; local
1168 pixel; local
1193 pixel; local
1259 pixel; local
1273 pixel; local
1298 pixel; local
1359 pixel; local
1480 pixel; local
1500 pixel; local
1537 pixel; local
1625 pixel; local
1647 pixel; local
1688 pixel; local
1695 pixel; local
1730 pixel; local
1790 pixel; local
1812 pixel; local
1853 pixel; local
1860 pixel; local
1895 pixel; local
2007 pixel; local
2031 pixel; local
2048 pixel; local
2086 pixel; local
2113 pixel; local
2138 pixel; local
2145 pixel; local
2170 pixel; local
2216 pixel, local
2275 pixel; local
2291 pixel; local
2307 pixel; local
2336 pixel; local
2343 pixel; local
2372 pixel; local
2418 pixel; local
2432 pixel; local
2457 pixel; local
2527 pixel; local
2573 pixel; local
2695 pixel; local
2744 pixel; local
2760 pixel; local
2775 pixel; local
2804 pixel; local
2811 pixel; local
2839 pixel; local
2886 pixel; local
2900 pixel; local
2925 pixel; local
2991 pixel; local
3005 pixel; local
3030 pixel; local
3111 pixel; local
3160 pixel; local
3284 pixel; local
3317 pixel; local
3395 pixel; local
3415 pixel; local
3510 pixel; local
3547 pixel; local
3554 pixel; local
3586 pixel; local
3639 pixel; local
3659 pixel; local
3754 pixel; local
3791 pixel; local
3798 pixel; local
3830 pixel; local
    [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/ImageMagick/PerlMagick/demo/
single-pixels.pl 14 # Get/Set a single pixel as a string
15 my $skin=$im->Get('pixel[400,200]');
16 print "Get('pixel[x,y]') = ", $skin, "\n";
18 $im->Set('pixel[1,1]'=>'0,0,0,0');
19 $im->Set('pixel[2,1]'=>$skin);
20 $im->Set('pixel[3,1]'=>'green');
21 $im->Set('pixel[4,1]'=>'rgb(255,0,255)');
25 # More direct single pixel access
26 my @pixel = $im->GetPixel( x=>400, y=>200 );
27 print "GetPixel() = ", "@pixel", "\n"
    [all...]
pixel-fx.pl 5 # Currently this is slow as each pixel is being lokedup one pixel at a time.
10 # Also access and controls for Area Re-sampling (EWA), beyond single pixel
39 my @pixel = $orig->GetPixel( x=>$i, y=>$j );
41 # modify the pixel values (as normalized floats)
42 $pixel[0] = $pixel[0]/2; # darken red
44 # write pixel to destination
46 $dest->SetPixel(x=>$i,y=>$j,color=>\@pixel);
52 $dest->Write('pixel-fx.gif')
    [all...]
  /cts/tests/tests/view/src/android/view/cts/surfacevalidator/
PixelCounter.rs 29 uchar4 pixel = rsGetElementAt_uchar4(image, i, y);
30 if (pixel.r < THRESHOLD
31 && pixel.g < THRESHOLD
32 && pixel.b < THRESHOLD) {
  /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/ImageMagick/www/source/wand/
sigmoidal-contrast.c 17 pixel; local
29 PixelGetMagickColor(pixels[x],&pixel);
30 pixel.red=SigmoidalContrast(pixel.red);
31 pixel.green=SigmoidalContrast(pixel.green);
32 pixel.blue=SigmoidalContrast(pixel.blue);
33 pixel.index=SigmoidalContrast(pixel.index)
66 pixel; local
    [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/ImageMagick/MagickWand/
pixel-wand.c 19 % MagickWand Image Pixel Wand Methods %
53 #include "MagickWand/pixel-wand-private.h"
78 pixel;
110 % o wand: the pixel wand.
120 wand->pixel.colorspace=sRGBColorspace;
166 clone_wand->pixel=wand->pixel;
240 % o wand: the pixel wand.
269 % pixel wands.
278 % o wand: the pixel wand
75 pixel; member in struct:_PixelWand
706 pixel; local
1696 pixel; local
    [all...]
  /external/ImageMagick/coders/
hdr.c 58 #include "MagickCore/pixel-accessor.h"
176 pixel[4],
420 count=ReadBlob(image,4*sizeof(*pixel),pixel);
423 if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns)
425 (void) memcpy(pixels,pixel,4*sizeof(*pixel));
437 count=ReadBlob(image,2*sizeof(*pixel),pixel);
172 pixel[4], local
610 pixel[2]; local
685 pixel[4], local
    [all...]
  /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...]
  /external/ImageMagick/www/source/
contrast.c 29 pixel; local
83 PixelGetMagickColor(pixels[x],&pixel);
84 pixel.red=SigmoidalContrast(pixel.red);
85 pixel.green=SigmoidalContrast(pixel.green);
86 pixel.blue=SigmoidalContrast(pixel.blue);
87 pixel.index=SigmoidalContrast(pixel.index)
    [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);

Completed in 514 milliseconds

1 2 3 4 5 6 7 8 91011>>