Searched refs:pixel (Results 1 - 25 of 94) sorted by relevance

1234

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp9.cpp33 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}}
H A Dp1.cpp101 constexpr struct pixel { // expected-error {{struct cannot be marked constexpr}} struct
104 constexpr pixel(int);
107 constexpr pixel::pixel(int a) function in class:pixel
111 constexpr pixel small(2); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'pixel(2)'}}
117 constexpr pixel large(4);
/external/webkit/Source/WebCore/platform/chromium/
H A DDragImageChromiumSkia.cpp81 uint32_t* pixel = image->getAddr32(column, row); local
82 *pixel = SkPreMultiplyARGB(SkColorGetA(*pixel) * fraction,
83 SkColorGetR(*pixel),
84 SkColorGetG(*pixel),
85 SkColorGetB(*pixel));
/external/webkit/Source/WebCore/platform/image-encoders/
H A DJPEGImageEncoder.cpp117 const unsigned char* pixel = rgbaBigEndianData; local
118 const unsigned char* pixelEnd = pixel + compressData.image_width * compressData.image_height * 4;
119 while (pixel < pixelEnd) {
121 for (const unsigned char* rowEnd = pixel + compressData.image_width * 4; pixel < rowEnd;) {
122 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // red
123 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // green
124 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // blue
125 ++pixel; // skip alpha
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
H A DBMPImageReader.h190 // Returns the pixel data for the current X coordinate in a uint32_t.
194 // the pixel data will actually be set.
206 uint32_t pixel; local
207 memcpy(&pixel, &m_data->data()[m_decodedOffset + offset], 3);
209 pixel = ((pixel & 0xff00) << 8) | ((pixel & 0xff0000) >> 8) | ((pixel & 0xff000000) >> 24);
211 return pixel;
224 // in the given pixel dat
225 getComponent(uint32_t pixel, int component) const argument
[all...]
/external/freetype/src/cache/
H A Dftcmanag.h158 ((a)->pixel != 0) == ((b)->pixel != 0) && \
159 ( (a)->pixel || \
166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTexturePixel.java11 * The class that stores the pixel values of a texture.
18 /** The pixel data. */
22 * Copies the values from the given pixel.
24 * @param pixel
25 * the pixel that we read from
27 public void fromPixel(TexturePixel pixel) { argument
28 this.intensity = pixel.intensity;
29 this.red = pixel.red;
30 this.green = pixel.green;
31 this.blue = pixel
200 merge(TexturePixel pixel) argument
231 add(TexturePixel pixel) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DImageBufferQt.cpp186 QRgb& pixel = scanLine[x]; local
187 pixel = qRgba(lookUpTable[qRed(pixel)],
188 lookUpTable[qGreen(pixel)],
189 lookUpTable[qBlue(pixel)],
190 qAlpha(pixel));
245 QRgb pixel = scanLine[x + originx]; local
246 int alpha = qAlpha(pixel);
250 | (qBlue(pixel) << 16)
251 | (qGreen(pixel) <<
267 QRgb pixel = scanLine[x + originx]; local
348 quint32 pixel = srcScanLine[x]; local
358 quint32 pixel = srcScanLine[x]; local
[all...]
/external/skia/src/core/
H A DSkConfig8888.cpp47 * convert_pixel<OUT_CFG, IN_CFG converts a pixel value from one Config8888 to
55 inline uint32_t convert_pixel(uint32_t pixel) { argument
57 unpack_config8888<IN_A_IDX, IN_R_IDX, IN_G_IDX, IN_B_IDX>(pixel, &a, &r, &g, &b);
81 inline uint32_t convert_pixel(uint32_t pixel) { argument
85 true, SK_NATIVE_A_IDX, SK_NATIVE_R_IDX, SK_NATIVE_G_IDX, SK_NATIVE_B_IDX>(pixel);
89 false, SK_NATIVE_A_IDX, SK_NATIVE_R_IDX, SK_NATIVE_G_IDX, SK_NATIVE_B_IDX>(pixel);
93 true, 3, 2, 1, 0>(pixel);
97 false, 3, 2, 1, 0>(pixel);
101 true, 3, 0, 1, 2>(pixel);
105 false, 3, 0, 1, 2>(pixel);
115 convert_pixel(uint32_t pixel) argument
[all...]
/external/webkit/Tools/DumpRenderTree/qt/
H A DImageDiff.cpp100 QRgb pixel = actualImage.pixel(x, y); local
101 QRgb basePixel = baselineImage.pixel(x, y);
102 qreal red = (qRed(pixel) - qRed(basePixel)) / static_cast<float>(qMax(255 - qRed(basePixel), qRed(basePixel)));
103 qreal green = (qGreen(pixel) - qGreen(basePixel)) / static_cast<float>(qMax(255 - qGreen(basePixel), qGreen(basePixel)));
104 qreal blue = (qBlue(pixel) - qBlue(basePixel)) / static_cast<float>(qMax(255 - qBlue(basePixel), qBlue(basePixel)));
105 qreal alpha = (qAlpha(pixel) - qAlpha(basePixel)) / static_cast<float>(qMax(255 - qAlpha(basePixel), qAlpha(basePixel)));
/external/libpng/contrib/gregbook/
H A Drpng2-x.c26 - 1.10: added support for non-default visuals; fixed X pixel-conversion
1017 /* to avoid testing the byte order every pixel (or doubling the size of
1085 ulg pixel; local
1305 pixel = (red << RShift) |
1309 *dest++ = (char)((pixel >> 24) & 0xff);
1310 *dest++ = (char)((pixel >> 16) & 0xff);
1311 *dest++ = (char)((pixel >> 8) & 0xff);
1312 *dest++ = (char)( pixel & 0xff);
1319 pixel = (red << RShift) |
1325 *dest++ = (char)((pixel >> 1
1377 ulg i, pixel; local
1618 ulg pixel; local
[all...]
H A Drpng-x.c21 - 1.10: added support for non-default visuals; fixed X pixel-conversion
669 /* to avoid testing the byte order every pixel (or doubling the size of
692 ulg pixel; local
717 pixel = (red << RShift) |
722 *dest++ = (char)((pixel >> 24) & 0xff);
723 *dest++ = (char)((pixel >> 16) & 0xff);
724 *dest++ = (char)((pixel >> 8) & 0xff);
725 *dest++ = (char)( pixel & 0xff);
730 pixel = (red & RMask) | (green & GMask) | (blue & BMask);
732 *dest++ = (char)((pixel >> 2
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/
H A DSDL_stretch.c128 type pixel = 0; \
134 pixel = *src++; \
137 *dst++ = pixel; \
152 Uint8 pixel[3] = { 0, 0, 0 }; local
158 pixel[0] = *src++;
159 pixel[1] = *src++;
160 pixel[2] = *src++;
163 *dst++ = pixel[0];
164 *dst++ = pixel[1];
165 *dst++ = pixel[
[all...]
H A DSDL_pixels.c24 /* General (mostly internal) pixel/color manipulation routines for SDL */
35 * Allocate a pixel format structure and fill it according to the given info.
43 /* Allocate an empty pixel format structure */
320 Uint8 pixel=0; local
329 pixel = i;
336 return(pixel);
339 /* Find the opaque pixel value corresponding to an RGB triple */
354 /* Find the pixel value corresponding to an RGBA quadruple */
369 void SDL_GetRGBA(Uint32 pixel, SDL_PixelFormat *fmt, argument
383 v = (pixel
403 SDL_GetRGB(Uint32 pixel, SDL_PixelFormat *fmt, Uint8 *r,Uint8 *g,Uint8 *b) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DImageCG.cpp114 unsigned char pixel[4]; // RGBA local
115 RetainPtr<CGContextRef> bmap(AdoptCF, CGBitmapContextCreate(pixel, 1, 1, 8, sizeof(pixel), deviceRGBColorSpaceRef(),
122 if (pixel[3] == 0)
125 m_solidColor = Color(pixel[0] * 255 / pixel[3], pixel[1] * 255 / pixel[3], pixel[2] * 255 / pixel[
[all...]
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEMorphology.cpp143 unsigned char pixel = srcPixelArray->get(i * effectWidth + 4 * j + channel); local
144 if ((m_type == FEMORPHOLOGY_OPERATOR_ERODE && pixel <= columnExtrema) ||
145 (m_type == FEMORPHOLOGY_OPERATOR_DILATE && pixel >= columnExtrema))
146 columnExtrema = pixel;
156 unsigned char pixel = srcPixelArray->get(i * effectWidth + endX * 4 + channel); local
157 if ((m_type == FEMORPHOLOGY_OPERATOR_ERODE && pixel <= columnExtrema) ||
158 (m_type == FEMORPHOLOGY_OPERATOR_DILATE && pixel >= columnExtrema))
159 columnExtrema = pixel;
H A DFEConvolveMatrix.cpp225 ALWAYS_INLINE void setDestinationPixels(ByteArray* image, int& pixel, float* totals, float divisor, float bias, ByteArray* src) argument
229 image->set(pixel++, clampRGBAValue(totals[i] / divisor + bias, maxAlpha));
232 image->set(pixel, src->get(pixel));
233 ++pixel;
235 image->set(pixel++, maxAlpha);
243 int pixel = (m_targetOffset.y() * paintingData.width + m_targetOffset.x()) * 4; local
279 setDestinationPixels<preserveAlphaValues>(paintingData.dstPixelArray, pixel, totals, m_divisor, paintingData.bias, paintingData.srcPixelArray);
282 pixel += xIncrease;
320 int pixel local
[all...]
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator_unittest.cc59 // only be retrned by CheckFirstPixel if the pixel is none of the others.
92 // Returns the color of the first pixel of the bitmap. The bitmap must be
95 uint32 pixel = *bitmap.getAddr32(0, 0);
97 if (SkGetPackedA32(pixel) != 0xFF)
100 if (SkGetPackedR32(pixel) == 0 &&
101 SkGetPackedG32(pixel) == 0 &&
102 SkGetPackedB32(pixel) == 0)
105 if (SkGetPackedR32(pixel) == 0xFF &&
106 SkGetPackedG32(pixel) == 0xFF &&
107 SkGetPackedB32(pixel)
[all...]
/external/webkit/Tools/DumpRenderTree/cg/
H A DImageDiffCG.cpp114 unsigned char* pixel = (unsigned char*)buffer; local
118 float red = (pixel[0] - basePixel[0]) / max<float>(255 - basePixel[0], basePixel[0]);
119 float green = (pixel[1] - basePixel[1]) / max<float>(255 - basePixel[1], basePixel[1]);
120 float blue = (pixel[2] - basePixel[2]) / max<float>(255 - basePixel[2], basePixel[2]);
121 float alpha = (pixel[3] - basePixel[3]) / max<float>(255 - basePixel[3], basePixel[3]);
134 pixel += 4;
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11video.c733 unsigned long pixel; local
735 for ( pixel=0; pixel<numcolors; ++pixel ) {
736 while ( SDL_XPixels[pixel] > 0 ) {
738 SDL_DisplayColormap,&pixel,1,0);
739 --SDL_XPixels[pixel];
951 /* Allocate the new pixel format for this video mode */
969 /* Allocate the pixel flags */
1300 all[i].pixel
1396 int pixel = firstcolor + i; local
1500 unsigned long pixel; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DImageBufferCairo.cpp147 unsigned* pixel = row + x; local
148 Color pixelColor = colorFromPremultipliedARGB(*pixel);
153 *pixel = premultipliedARGBFromColor(pixelColor);
201 unsigned* pixel = row + x + originx; local
204 pixelColor = colorFromPremultipliedARGB(*pixel);
206 pixelColor = Color(*pixel);
269 unsigned* pixel = row + x + destx; local
275 *pixel = premultipliedARGBFromColor(pixelColor);
277 *pixel = pixelColor.rgb();
/external/clang/test/Parser/
H A Daltivec.c20 __vector pixel vv__p;
42 vector pixel v__p;
73 vector bool pixel v_bp; // expected-error {{cannot use '__pixel' with '__vector bool'}}
H A Dcxx-altivec.cpp20 __vector pixel vv__p;
42 vector pixel v__p;
73 vector bool pixel v_bp; // expected-error {{cannot use '__pixel' with '__vector bool'}}
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DImageOpenVG.cpp96 RGBA32 pixel; local
97 vgGetImageSubData(tiledImage->tile(0, 0), &pixel, 0, VG_sARGB_8888, 0, 0, 1, 1);
99 m_solidColor.setRGB(pixel);
/external/mesa3d/docs/
H A DMESA_pack_invert.spec33 This extension adds a new pixel storage parameter to indicate that
35 conventional bottom-to-top order. Only pixel packing can be
53 Resolved: No, we're only concerned with pixel packing. There are other
54 solutions for inverting images when using glDrawPixels (negative Y pixel
56 enough to define a complementary extension for pixel packing in the
134 PACK_INVERT_MESA boolean GetBoolean FALSE Value of PACK_INVERT_MESA 4.3.2 pixel-store

Completed in 839 milliseconds

1234