HomeSort by relevance Sort by last modified time
    Searched defs:pixel (Results 26 - 50 of 138) sorted by null

12 3 4 5 6

  /external/chromium_org/ui/gfx/image/
image_unittest_util.cc 246 guchar* pixel = gdk_pixels + (y * rowstride) + (x * n_channels); local
247 guchar alpha = gdk_pixbuf_get_has_alpha(image) ? pixel[3] : 255;
248 return SkColorSetARGB(alpha, pixel[0], pixel[1], pixel[2]);
  /external/freetype/include/freetype/
ftcache.h 411 /* pixel :: A Boolean. If 1, the `width' and `height' fields are */
412 /* interpreted as integer pixel character sizes. */
415 /* x_res :: Only used when `pixel' is value~0 to indicate the */
418 /* y_res :: Only used when `pixel' is value~0 to indicate the */
430 FT_Int pixel; member in struct:FTC_ScalerRec_
    [all...]
  /external/freetype/src/smooth/
ftsmooth.c 334 FT_UInt pixel = line[xx-1]; local
337 end[-3] = (FT_Byte)pixel;
338 end[-2] = (FT_Byte)pixel;
339 end[-1] = (FT_Byte)pixel;
  /external/pixman/demos/
gtk-utils.c 40 uint32_t pixel; local
55 pixel = (a << 24) | (r << 16) | (g << 8) | b;
57 *d++ = pixel;
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_blit_0.c 369 Uint32 pixel; local
376 pixel, dR, dG, dB);
418 Uint32 pixel; local
423 pixel, dR, dG, dB);
448 /* We don't support sub 8-bit packed pixel modes */
SDL_stretch.c 159 type pixel = 0; \
165 pixel = *src++; \
168 *dst++ = pixel; \
181 Uint8 pixel[3] = { 0, 0, 0 }; local
187 pixel[0] = *src++;
188 pixel[1] = *src++;
189 pixel[2] = *src++;
192 *dst++ = pixel[0];
193 *dst++ = pixel[1];
194 *dst++ = pixel[2]
    [all...]
SDL_bmp.c 159 /* Expand 1 and 4 bit bitmaps to 8 bits per pixel */
286 Uint8 pixel = 0; local
290 if ( !SDL_RWread(src, &pixel, 1, 1) ) {
297 *(bits+i) = (pixel>>shift);
298 pixel <<= ExpandBMP;
413 /* Convert to 24 bits per pixel */
  /external/skia/tests/
DrawPathTest.cpp 36 SkPMColor pixel[1]; local
38 output.setPixels(pixel);
47 // check that the pixel in question starts as transparent (by the surface)
49 REPORTER_ASSERT(reporter, 0 == pixel[0]);
64 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 33 } Pixel;
179 Pixel* src_ptr;
188 const Pixel pixel = *(src_ptr++); local
189 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3;
195 const Pixel pixel = *(src_ptr++); local
196 *(dst_ptr++) = pixel.rgba[0]
    [all...]
  /frameworks/native/services/surfaceflinger/tests/
Transaction_test.cpp 41 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x)); local
42 pixel[0] = r;
43 pixel[1] = g;
44 pixel[2] = b;
45 pixel[3] = 255;
52 // individual pixel values for testing purposes.
70 const uint8_t* pixel = img + (4 * (y*mWidth + x)); local
71 if (r != pixel[0] || g != pixel[1] || b != pixel[2])
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
SweepGradientTest.java 121 int pixel = mBitmap.getPixel(x, y); local
124 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance);
125 assertEquals(Color.red(color), Color.red(pixel), tolerance);
126 assertEquals(Color.green(color), Color.green(pixel), tolerance);
127 assertEquals(Color.blue(color), Color.blue(pixel), tolerance);
133 System.out.println(Integer.toHexString(pixel));
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java 214 int pixel = pin[0]; local
215 float a = (pixel >> 24) & 0xFF;
216 float b = (pixel >> 16) & 0xFF;
217 float g = (pixel >> 8) & 0xFF;
218 float r = pixel & 0xFF;
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 120 // for one pixel
121 IntBuffer pixel = ByteBuffer.allocateDirect(4).asIntBuffer(); local
123 GL10.GL_UNSIGNED_BYTE, pixel);
124 pixel.position(0);
125 Log.i(TAG, "pixel read " + Integer.toHexString(pixel.get(0)));
127 Assert.assertEquals(0x0000ffff, pixel.get(0)); // BLUE in RGBA
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 257 uint32_t* pixel = m_bitmap.getAddr32(column, row); local
258 *pixel = SkPreMultiplyARGB(
259 SkColorGetA(*pixel) * fraction,
260 SkColorGetR(*pixel),
261 SkColorGetG(*pixel),
262 SkColorGetB(*pixel));
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEMorphology.cpp 129 unsigned char pixel = srcPixelArray->item(eY * effectWidth + 4 * x + clrChannel); local
130 if ((m_type == FEMORPHOLOGY_OPERATOR_ERODE && pixel <= columnExtrema)
131 || (m_type == FEMORPHOLOGY_OPERATOR_DILATE && pixel >= columnExtrema)) {
132 columnExtrema = pixel;
144 unsigned char pixel = srcPixelArray->item(i * effectWidth + endX * 4 + clrChannel); local
145 if ((m_type == FEMORPHOLOGY_OPERATOR_ERODE && pixel <= columnExtrema)
146 || (m_type == FEMORPHOLOGY_OPERATOR_DILATE && pixel >= columnExtrema))
147 columnExtrema = pixel;
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
WEBPImageDecoder.cpp 412 uint8_t* pixel = row; local
413 for (int x = 0; x < width; ++x, pixel += 4) {
415 buffer.setRGBA(canvasX, canvasY, pixel[0], pixel[1], pixel[2], pixel[3]);
423 // of that pixel in the previous frame if alpha blend source was 'BlendAtopPreviousFrame'. So, we correct these
436 ImageFrame::PixelData& pixel = *buffer.getAddr(canvasX, canvasY); local
439 if (!((pixel >> SK_A32_SHIFT) & 0xff)) {
441 pixel = prevPixel
454 ImageFrame::PixelData& pixel = *buffer.getAddr(canvasX, canvasY); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
readpix.c 65 if (ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0)
284 GLuint pixel = map4[i]; local
285 dst4[i] = (pixel & 0xff00ff00)
286 | ((pixel & 0x00ff0000) >> 16)
287 | ((pixel & 0x000000ff) << 16);
604 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0;
605 const GLboolean stencilTransfer = ctx->Pixel.IndexShift
606 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_stencil.c 43 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/chromium_org/third_party/skia/src/images/
SkImageDecoder_libico.cpp 292 //function to place the pixel, determined by the bitCount
315 // setup for the next pixel
328 int pixel = (byte >> 4) & 0xF; local
330 *address = (alphaBit-1)&(colors[pixel]);
335 pixel = byte & 0xF;
339 *address = (alphaBit-1)&(colors[pixel]);
347 int pixel = readByte(buf, xorOffset + pixelNo); local
349 *address = (alphaBit-1)&(colors[pixel]);
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p1.cpp 103 constexpr struct pixel { // expected-error {{struct cannot be marked constexpr}} struct
106 constexpr pixel(int);
109 constexpr pixel::pixel(int a) function in class:pixel
113 constexpr pixel small(2); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'pixel(2)'}}
119 constexpr pixel large(4);
  /external/mesa3d/src/mesa/main/
readpix.c 65 if (ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0)
284 GLuint pixel = map4[i]; local
285 dst4[i] = (pixel & 0xff00ff00)
286 | ((pixel & 0x00ff0000) >> 16)
287 | ((pixel & 0x000000ff) << 16);
604 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0;
605 const GLboolean stencilTransfer = ctx->Pixel.IndexShift
606 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_stencil.c 43 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/opencv/cvaux/src/
cvbgfg_gaussmix.cpp 52 //int depth; /* pixel depth in bits: IPL_DEPTH_8U ...*/
76 Test whether pixel can be explained by background model;
291 double pixel[4]; local
295 pixel[k] = (uchar)curr_frame->imageData[p+k];
297 no_match = icvMatchTest( pixel, nChannels, match, g_point, &bg_model_params );
300 icvUpdateFullWindow( pixel, nChannels, match, g_point, &bg_model->params );
306 icvUpdatePartialWindow( pixel, nChannels, match, g_point, &bg_model_params );
308 icvUpdatePartialNoMatch( pixel, nChannels, match, g_point, &bg_model_params );
525 icvUpdatePartialNoMatch(double *pixel,
544 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = pixel[m]
    [all...]
  /external/pixman/pixman/
pixman-utils.c 143 * required to extract them from the source pixel.
170 const uint32_t pixel = src[i]; local
172 dst[i].a = a_mask? ((pixel >> a_shift) & a_mask) * a_mul : 1.0f;
173 dst[i].r = ((pixel >> r_shift) & r_mask) * r_mul;
174 dst[i].g = ((pixel >> g_shift) & g_mask) * g_mul;
175 dst[i].b = ((pixel >> b_shift) & b_mask) * b_mul;
  /external/pixman/test/
composite.c 341 uint32_t pixel; local
366 pixel = get_value (dst->image);
370 pixel_checker_split_pixel (&checker, pixel, &a, &r, &g, &b);
372 printf ("Got: %5d %5d %5d %5d [pixel: 0x%08x]\n", r, g, b, a, pixel);

Completed in 496 milliseconds

12 3 4 5 6