/external/webp/src/enc/ |
H A D | backward_references.c | 384 // Alternative#2: Insert the pixel at 'i' as literal, and code the 396 const uint32_t pixel = argb[i]; local 397 // Alternative#2 is a better match. So push pixel at 'i' as literal. 399 if (use_color_cache && VP8LColorCacheContains(&hashers, pixel)) { 400 const int ix = VP8LColorCacheGetIndex(&hashers, pixel); 403 if (use_color_cache) VP8LColorCacheInsert(&hashers, pixel); 404 v = PixOrCopyCreateLiteral(pixel); 407 i++; // Backward reference to be done for next pixel. 421 // Add to the hash_chain (but cannot add the last pixel). 430 const uint32_t pixel local [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
H A D | voronoi.cc | 79 // BGRA helper function, for constructing a pixel for a BGRA buffer. 278 // voronoi membership per pixel. 291 // else compute each pixel in the span... this is the slow part! 390 uint32_t* pixel = wGetAddr(ix, iy); 392 *pixel = color1; 393 *(pixel - 1) = color2; 394 *(pixel + 1) = color2; 395 *(pixel - stride_in_pixels) = color2; 396 *(pixel + stride_in_pixels) = color2;
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
H A D | voronoi.cc | 73 // BGRA helper function, for constructing a pixel for a BGRA buffer. 268 // voronoi membership per pixel. 281 // else compute each pixel in the span... this is the slow part! 387 uint32_t* pixel = wGetAddr(ix, iy); 389 *pixel = color1; 390 *(pixel - 1) = color2; 391 *(pixel + 1) = color2; 392 *(pixel - stride_in_pixels) = color2; 393 *(pixel + stride_in_pixels) = color2;
|
/external/chromium_org/ui/gfx/ |
H A D | color_analysis.cc | 32 // Support class to hold information about each cluster of pixel data in 133 // Un-premultiplies each pixel in |bitmap| into an output |buffer|. 290 // Loop through each pixel so we can place it in the appropriate cluster. 291 uint8_t* pixel = decoded_data; local 293 while (pixel < decoded_data_end) { 294 uint8_t b = *(pixel++); 295 uint8_t g = *(pixel++); 296 uint8_t r = *(pixel++); 297 uint8_t a = *(pixel++); 400 // analyze it because the function reads each pixel multipl [all...] |
/external/chromium_org/third_party/freetype/src/smooth/ |
H A D | 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/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 211 static float compareToNeighbor (const FuzzyCompareParams& params, de::Random& rnd, deUint32 pixel, const ConstPixelBufferAccess& surface, int x, int y) argument 216 minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, x, y), params.minErrThreshold)); 241 minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, dx, dy), params.minErrThreshold)); 254 minErr = deFloatMin(minErr, compareColors(pixel, sample, params.minErrThreshold));
|
/external/freetype/src/smooth/ |
H A D | 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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/ |
H A D | 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/test/ |
H A D | 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);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | 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 */
|
H A D | SDL_blit_1.c | 121 /* Copy in 4 pixel chunks */ 153 /* Copy in 4 pixel chunks */ 427 Uint32 pixel; 432 pixel, dR, dG, dB); 468 Uint32 pixel; 473 pixel, dR, dG, dB);
|
H A D | 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/chromium_org/ppapi/tests/ |
H A D | test_graphics_2d.cc | 113 for (int pixel = 0; pixel < rect.width(); pixel++) 114 row[pixel] = color; 124 uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); local 125 *pixel = (blue << 24) | (green << 16) | (red << 8); 160 uint32_t pixel = *image_data.GetAddr32(pp::Point(x, y)); local 166 if (pixel != desired_color) 425 // Now repaint that top left pixel by doing a subset of the source image.
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | screencastView.css | 122 @media (-webkit-min-device-pixel-ratio: 1.5) {
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
H A D | GIFImageReader.h | 228 void setTransparentPixel(size_t pixel) { m_transparentPixel = pixel; } argument 259 size_t m_transparentPixel; // Index of transparent pixel. Value is kNotFound if there is no transparent pixel.
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/ |
H A D | JPEGImageDecoder.cpp | 793 template <J_COLOR_SPACE colorSpace> void setPixel(ImageFrame& buffer, ImageFrame::PixelData* pixel, JSAMPARRAY samples, int column) argument 798 template <> void setPixel<JCS_RGB>(ImageFrame& buffer, ImageFrame::PixelData* pixel, JSAMPARRAY samples, int column) argument 801 buffer.setRGBARaw(pixel, jsample[0], jsample[1], jsample[2], 255); 804 template <> void setPixel<JCS_CMYK>(ImageFrame& buffer, ImageFrame::PixelData* pixel, JSAMPARRAY samples, int column) argument 818 buffer.setRGBARaw(pixel, jsample[0] * k / 255, jsample[1] * k / 255, jsample[2] * k / 255, 255); 838 ImageFrame::PixelData* pixel = buffer.getAddr(0, y); local 839 for (int x = 0; x < width; ++pixel, ++x) 840 setPixel<colorSpace>(buffer, pixel, samples, x);
|
/external/chromium_org/third_party/mesa/src/docs/ |
H A D | MESA_copy_sub_buffer.spec | 70 corresponds to the lower-left pixel of the window, like glReadPixels.
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | texcompress_cpal.c | 71 GLuint index, GLubyte *pixel) 73 memcpy(pixel, palette + info->size * index, info->size); 70 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, GLuint index, GLubyte *pixel) argument
|
/external/mesa3d/docs/ |
H A D | MESA_copy_sub_buffer.spec | 70 corresponds to the lower-left pixel of the window, like glReadPixels.
|
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_cpal.c | 71 GLuint index, GLubyte *pixel) 73 memcpy(pixel, palette + info->size * index, info->size); 70 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, GLuint index, GLubyte *pixel) argument
|
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_flate.cpp | 503 FX_WORD pixel = (dest_buf[i] << 8) | dest_buf[i + 1];
local 504 pixel -= (dest_buf[i - BytesPerPixel] << 8) | dest_buf[i - BytesPerPixel + 1];
505 dest_buf[i] = pixel >> 8;
506 dest_buf[i + 1] = (FX_BYTE)pixel;
544 FX_WORD pixel = (dest_buf[i - BytesPerPixel] << 8) | dest_buf[i - BytesPerPixel + 1];
local 545 pixel += (dest_buf[i] << 8) | dest_buf[i + 1];
546 dest_buf[i] = pixel >> 8;
547 dest_buf[i + 1] = (FX_BYTE)pixel;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMapView.java | 130 private int scalePixel(int pixel, int minPixel, int maxPixel, int centerDegree, int spanDegrees) { argument 131 int offsetPixels = pixel - minPixel;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 56 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/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | 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/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 56 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;
|