Searched defs:pixel (Results 76 - 100 of 161) sorted by relevance

1234567

/external/mesa3d/src/mesa/swrast/
H A Ds_stencil.c43 Don't write the pixel (RGBA,Z)
57 * Compute/return the offset of the stencil value in a pixel.
59 * within the 4-byte pixel will be either 0 or 3.
65 GLubyte pixel[MAX_PIXEL_BYTES]; local
70 memset(pixel, 0, sizeof(pixel));
71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel);
74 if (pixel[i])
204 * @param mask array [n] of flag: 0=skip the pixel, 1=stencil the pixel,
[all...]
/external/pdfium/core/fxcodec/codec/
H A Dccodec_progressivedecoder.h89 PixelWeight* GetPixelWeight(int pixel) { argument
91 (pixel - m_DestMin) * m_ItemSize);
105 PixelWeight* GetPixelWeight(int pixel) { argument
107 pixel * m_ItemSize);
120 PixelWeight* GetPixelWeight(int pixel) { argument
122 pixel * m_ItemSize);
H A Dccodec_tiffmodule.cpp207 void TiffBGRA2RGBA(uint8_t* pBuf, int32_t pixel, int32_t spp) { argument
208 for (int32_t n = 0; n < pixel; n++) {
/external/ImageMagick/Magick++/lib/
H A DColor.cpp185 // Copy pixel value
191 // Copy pixel type
247 pixel; local
252 pixel.colorspace=(_pixelType == RGBPixel || _pixelType == RGBAPixel) ?
254 pixel.alpha_trait=(_pixelType == RGBAPixel || _pixelType == CMYKAPixel) ?
256 pixel.depth=MAGICKCORE_QUANTUM_DEPTH;
257 pixel.alpha=_pixel->alpha;
258 pixel.alpha_trait=_pixel->alpha_trait;
259 pixel.black=_pixel->black;
260 pixel
395 void Magick::Color::pixel(PixelInfo *rep_,PixelType pixelType_) function in class:Magick::Color
[all...]
/external/ImageMagick/MagickCore/
H A Dcolor.c63 #include "MagickCore/pixel-accessor.h"
1118 % ConcatenateColorComponent() returns the pixel as a canonical string.
1122 % void ConcatenateColorComponent(const PixelInfo *pixel,
1128 % o pixel: The pixel.
1130 % o channel: The pixel channel.
1137 MagickExport void ConcatenateColorComponent(const PixelInfo *pixel,
1151 color=pixel->red;
1156 color=pixel->green;
1161 color=pixel
1125 ConcatenateColorComponent(const PixelInfo *pixel, const PixelChannel channel,const ComplianceType compliance,char *tuple) argument
1466 IsSVGCompliant(const PixelInfo *pixel) argument
1489 ConcatentateHexColorComponent(const PixelInfo *pixel, const PixelChannel channel,char *tuple) argument
1557 GetColorTuple(const PixelInfo *pixel, const MagickBooleanType hex,char *tuple) argument
1689 pixel; local
1757 pixel; local
1866 pixel; local
2258 pixel; local
2582 pixel; variable
[all...]
H A Dcolorspace.c62 #include "MagickCore/pixel-accessor.h"
63 #include "MagickCore/pixel-private.h"
295 pixel;
312 pixel=zero;
315 GetPixelInfoPixel(image,q,&pixel);
316 ConvertRGBToCMYK(&pixel);
317 SetPixelViaPixelInfo(image,&pixel,q);
951 pixel;
981 pixel.red=(x_map[red].x+y_map[green].x+z_map[blue].x)+
983 pixel
291 pixel; local
947 pixel; local
1021 pixel; local
1749 pixel; local
2412 pixel; local
2494 pixel; local
[all...]
H A Dcomposite.c70 #include "MagickCore/pixel-accessor.h"
784 pixel;
869 /* do the variable blurring of each pixel in image */
870 GetPixelInfo(image,&pixel);
927 (double) y_offset+y,&pixel,exception);
928 SetPixelViaPixelInfo(canvas_image,&pixel,q);
954 pixel;
1045 Shift the pixel offset point as defined by the provided,
1048 GetPixelInfo(image,&pixel);
1094 &pixel,exceptio
782 pixel; local
925 (double) y_offset+y,&pixel,exception); local
952 pixel; local
1329 pixel; local
1504 pixel, local
[all...]
H A Dgem.c53 #include "MagickCore/pixel-accessor.h"
54 #include "MagickCore/pixel-private.h"
87 % o red, green, blue: A pointer to a pixel component of type Quantum.
181 % o red, green, blue: A pointer to a pixel component of type Quantum.
287 % o red, green, blue: A pointer to a pixel component of type Quantum.
391 % o red, green, blue: A pointer to a pixel component of type Quantum.
465 % o red, green, blue: A pointer to a pixel component of type Quantum.
570 % o red, green, blue: A pointer to a pixel component of type Quantum.
672 % o red, green, blue: A pointer to a pixel component of type Quantum.
749 % o red, green, blue: A pointer to a pixel componen
1455 GenerateDifferentialNoise(RandomInfo *random_info, const Quantum pixel,const NoiseType noise_type,const double attenuate) argument
[all...]
H A Dpixel.c63 #include "MagickCore/pixel.h"
64 #include "MagickCore/pixel-accessor.h"
65 #include "MagickCore/pixel-private.h"
88 % AcquirePixelChannelMap() acquires a pixel component map.
125 % ClonePixelChannelMap() clones a pixel component map.
133 % o channel_map: the pixel component map.
162 % ClonePixelInfo() makes a duplicate of the given pixel info structure, or if
163 % pixel info is NULL, a new one.
167 % PixelInfo *ClonePixelInfo(const PixelInfo *pixel)
171 % o pixel
170 ClonePixelInfo(const PixelInfo *pixel) argument
320 DecodePixelGamma(const MagickRealType pixel) argument
447 EncodePixelGamma(const MagickRealType pixel) argument
2162 GetPixelInfo(const Image *image,PixelInfo *pixel) argument
2223 GetPixelInfoIntensity( const Image *magick_restrict image,const PixelInfo *magick_restrict pixel) argument
2357 GetPixelIntensity(const Image *magick_restrict image, const Quantum *magick_restrict pixel) argument
4568 InterpolatePixelChannel(const Image *image, const CacheView_ *image_view,const PixelChannel channel, const PixelInterpolateMethod method,const double x,const double y, double *pixel,ExceptionInfo *exception) argument
4992 InterpolatePixelChannels(const Image *source, const CacheView_ *source_view,const Image *destination, const PixelInterpolateMethod method,const double x,const double y, Quantum *pixel,ExceptionInfo *exception) argument
5533 AlphaBlendPixelInfo(const Image *image, const Quantum *pixel,PixelInfo *pixel_info,double *alpha) argument
5558 InterpolatePixelInfo(const Image *image, const CacheView_ *image_view,const PixelInterpolateMethod method, const double x,const double y,PixelInfo *pixel,ExceptionInfo *exception) argument
6040 pixel; local
6151 pixel; local
[all...]
H A Dsegment.c59 % that pixel is considered ''classified'' and is assigned an unique
62 % o Any pixel that fails to be classified in the above thresholding
67 % The fuzzy c-Means technique attempts to cluster a pixel by finding
69 % objective function. A pixel is assigned to the closest class of
99 #include "MagickCore/pixel-accessor.h"
100 #include "MagickCore/pixel-private.h"
221 % Classify() defines one or more classes. Each pixel is thresholded to
393 Count this pixel.
586 Classify this pixel.
637 Classify this pixel
929 GetImageDynamicThreshold(const Image *image, const double cluster_threshold,const double smooth_threshold, PixelInfo *pixel,ExceptionInfo *exception) argument
[all...]
H A Dshear.c73 #include "MagickCore/pixel-accessor.h"
1196 pixel,
1240 pixel=background;
1258 GetPixelInfoPixel(image,p,&pixel);
1263 CompositePixelInfoAreaBlend(&pixel,(double) pixel.alpha,
1266 GetPixelInfoPixel(image,p,&pixel);
1270 CompositePixelInfoAreaBlend(&pixel,(double) pixel.alpha,
1295 CompositePixelInfoAreaBlend(&pixel,(doubl
1191 pixel, local
1414 pixel, local
[all...]
H A Dtransform.c63 #include "MagickCore/pixel-accessor.h"
478 pixel;
480 pixel=QuantumRange-GetPixelIntensity(images,p);
483 case 0: SetPixelCyan(cmyk_image,pixel,q); break;
484 case 1: SetPixelMagenta(cmyk_image,pixel,q); break;
485 case 2: SetPixelYellow(cmyk_image,pixel,q); break;
486 case 3: SetPixelBlack(cmyk_image,pixel,q); break;
592 Crop is not within virtual canvas, return 1 pixel transparent image.
474 pixel; local
/external/ImageMagick/MagickWand/
H A Dpixel-wand.c53 #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.
322 % o p: the pixel wan
75 pixel; member in struct:_PixelWand
706 pixel; local
1314 PixelGetQuantumPixel(const Image *image,const PixelWand *wand, Quantum *pixel) argument
1696 pixel; local
2143 PixelSetQuantumPixel(const Image *image,const Quantum *pixel, PixelWand *wand) argument
[all...]
/external/ImageMagick/coders/
H A Dbmp.c64 #include "MagickCore/pixel-accessor.h"
173 % pixel packets.
189 % o pixels: The address of a byte (8 bits) array of pixel data created by
355 % o pixels: The address of a byte (8 bits) array of pixel data created by
359 % pixel data.
659 " Bits per pixel: %.20g",(double) bmp_info.bits_per_pixel);
967 Convert BMP raster image to pixel packets.
1181 pixel;
1203 pixel=(size_t) (*p++);
1204 pixel|
1173 pixel; local
1291 pixel; local
[all...]
H A Ddcm.c65 #include "MagickCore/pixel-accessor.h"
3213 Samples per pixel.
3316 Visible pixel range: center.
3325 Visible pixel range: width.
3678 Compute pixel scaling table.
3806 Convert Planar RGB DCM Medical image to pixel packets.
3869 pixel;
3872 Convert DCM Medical image to pixel packets.
3884 (void) ResetMagickMemory(&pixel,0,sizeof(pixel));
3865 pixel; local
[all...]
/external/deqp/framework/common/
H A DtcuFuzzyImageCompare.cpp213 static deUint32 distSquaredToNeighbor (de::Random& rnd, deUint32 pixel, const ConstPixelBufferAccess& surface, int x, int y) argument
216 deUint32 minDist = colorDistSquared(pixel, readUnorm8<NumChannels>(surface, x, y));
242 minDist = de::min(minDist, colorDistSquared(pixel, readUnorm8<NumChannels>(surface, dx, dy)));
255 minDist = de::min(minDist, colorDistSquared(pixel, sample));
/external/deqp/modules/gles31/stress/
H A Des31sVertexAttributeBindingTests.cpp86 const tcu::RGBA pixel = image.getPixel(x, y); local
89 // Any pixel with !(G ~= 255) is faulty (not a linear combinations of green and yellow)
90 if (de::abs(pixel.getGreen() - 255) > colorThreshold)
93 // Any pixel with !(B ~= 0) is faulty (not a linear combinations of green and yellow)
94 if (de::abs(pixel.getBlue() - 0) > colorThreshold)
/external/libpng/contrib/gregbook/
H A Drpng-x.c21 - 1.10: added support for non-default visuals; fixed X pixel-conversion
675 /* to avoid testing the byte order every pixel (or doubling the size of
698 ulg pixel; local
723 pixel = (red << RShift) |
728 *dest++ = (char)((pixel >> 24) & 0xff);
729 *dest++ = (char)((pixel >> 16) & 0xff);
730 *dest++ = (char)((pixel >> 8) & 0xff);
731 *dest++ = (char)( pixel & 0xff);
736 pixel = (red & RMask) | (green & GMask) | (blue & BMask);
738 *dest++ = (char)((pixel >> 2
[all...]
/external/libpng/contrib/tools/
H A Dgenpng.c55 * a bi-cubic filter. The bi-cubic has a 2 (output) pixel width, so an 8x8
56 * array of super-sampled points contribute to each output pixel. The value of
185 * pixel. This could be obtained by super sampling the image to infinite
192 * 1) If the pixel coordinate is within the shape assume the sample has the
200 * 2) If the shape is within a square of size 1x1 centered on the pixel assume
201 * that the shape obscures an amount of the pixel equal to its area within
204 * This is the equivalent of 'pixel coverage' alpha calculation or resampling
221 * 0 or 1, depending on whether the sub-pixel is within or outside the shape.
702 pixel(png_uint_16p p, struct arg *args, int nargs, double x, double y) function
704 /* Fill in the pixel b
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug.c441 * \param cpp bytes per pixel
683 struct bmp_rgb_quad pixel; local
684 pixel.rgbRed = float_to_ubyte(ptr[x*4 + 0]);
685 pixel.rgbGreen = float_to_ubyte(ptr[x*4 + 1]);
686 pixel.rgbBlue = float_to_ubyte(ptr[x*4 + 2]);
687 pixel.rgbAlpha = float_to_ubyte(ptr[x*4 + 3]);
688 fwrite(&pixel, 1, 4, stream);
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_priv.h168 xa_pixel_to_float4(uint32_t pixel, float *color) argument
172 a = (pixel >> 24) & 0xff;
173 r = (pixel >> 16) & 0xff;
174 g = (pixel >> 8) & 0xff;
175 b = (pixel >> 0) & 0xff;
183 xa_pixel_to_float4_a8(uint32_t pixel, float *color) argument
187 a = (pixel >> 24) & 0xff;
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_composite.c56 pixel_to_float4(Pixel pixel, float *color, enum pipe_format format) argument
62 packed[0] = pixel;
63 packed[1] = pixel >> 8;
64 packed[2] = pixel >> 16;
65 packed[3] = pixel >> 24;
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwmesa.c117 * Determine the pixel format based on the pixel size.
641 DWORD pixel; local
648 pixel = lpdw[i];
649 rgba[i][RCOMP] = (GLubyte)((pixel & 0x00ff0000) >> 16);
650 rgba[i][GCOMP] = (GLubyte)((pixel & 0x0000ff00) >> 8);
651 rgba[i][BCOMP] = (GLubyte)(pixel & 0x000000ff);
665 DWORD pixel; local
672 pixel = *lpdw;
673 rgba[i][RCOMP] = (GLubyte)((pixel
852 GLuint i, pixel; local
876 GLuint i, pixel; local
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_dd.c129 GLuint pixel = (GLuint) xmesa->clearpixel; local
133 pixel = ((pixel >> 8) & 0x00ff) | ((pixel << 8) & 0xff00);
139 ptr2[i] = pixel;
184 register GLuint pixel = (GLuint) xmesa->clearpixel; local
190 pixel = ((pixel >> 24) & 0x000000ff)
191 | ((pixel >> 8) & 0x0000ff00)
192 | ((pixel <<
[all...]
/external/skia/src/core/
H A DSkLinearBitmapPipeline.cpp147 // are the same format and do not need in transformations in pixel space. Therefore, there is no
148 // need to convert them to HiFi pixel format.
217 // are the same format and do not need in transformations in pixel space. Therefore, there is no
218 // need to convert them to HiFi pixel format.
300 void SK_VECTORCALL blendPixel(Sk4f pixel) override {
302 this->srcPixel(fDst, pixel, 0);
322 void SK_VECTORCALL srcPixel(SkPM4f* dst, Sk4f pixel, int index) { argument
323 check_pixel(pixel);
325 Sk4f newPixel = pixel;
327 newPixel = Premultiply(pixel);
332 Premultiply(Sk4f pixel) argument
[all...]

Completed in 505 milliseconds

1234567