| /external/mesa3d/src/mesa/drivers/dri/intel/ |
| intel_pixel_read.c | 74 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) 124 dst_offset = (GLintptr)pixels; 172 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) 182 (ctx, x, y, width, height, format, type, pack, pixels)) 201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
|
| /external/skia/gm/ |
| bigmatrix.cpp | 48 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 49 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); 50 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); 51 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00); 52 pixels[3] = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF);
|
| clippedbitmapshaders.cpp | 31 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); local 32 pixels[0] = SkPreMultiplyColor(SK_ColorRED); 33 pixels[1] = SkPreMultiplyColor(SK_ColorGREEN); 34 pixels[2] = SkPreMultiplyColor(SK_ColorBLACK); 35 pixels[3] = SkPreMultiplyColor(SK_ColorBLUE);
|
| /external/skia/tests/ |
| ImageTest.cpp | 101 static void Release(const void* pixels, void* context) { 254 SkPMColor pixels[4]; local 255 memset(pixels, 0xFF, sizeof(pixels)); // init with values we don't expect 256 image->readPixels(dstInfo, pixels, dstRowBytes, 0, 0); 257 REPORTER_ASSERT(reporter, red == pixels[0]); 258 REPORTER_ASSERT(reporter, green == pixels[1]); 259 REPORTER_ASSERT(reporter, blue == pixels[2]); 260 REPORTER_ASSERT(reporter, 0 == pixels[3]); 273 SkPMColor pixels[4] local 501 SkPMColor pixels[w*h]; local [all...] |
| MallocPixelRefTest.cpp | 57 REPORTER_ASSERT(reporter, memory.get() == pr->pixels()); 63 REPORTER_ASSERT(reporter, pr->pixels()); 71 REPORTER_ASSERT(reporter, addr == pr->pixels()); 81 REPORTER_ASSERT(reporter, memory.get() == pr->pixels()); 93 REPORTER_ASSERT(reporter, addr == pr->pixels()); 104 REPORTER_ASSERT(reporter, dataPtr->data() == pr->pixels());
|
| /external/ImageMagick/coders/ |
| cmyk.c | 106 *pixels; 176 pixels=(const unsigned char *) NULL; 187 pixels=(const unsigned char *) ReadBlobStream(image,length, 199 Read pixels to virtual canvas image then push to image. 219 pixels=(const unsigned char *) ReadBlobStream(image,length, 244 quantum_info,quantum_type,pixels,exception); 279 pixels=(const unsigned char *) ReadBlobStream(image,length, 302 pixels=(const unsigned char *) ReadBlobStream(image,length, 330 quantum_info,quantum_type,pixels,exception); 381 pixels=(const unsigned char *) ReadBlobStream(image,length 103 *pixels; local 1236 *pixels; local [all...] |
| ps.c | 1534 pixels[2048]; local [all...] |
| psd.c | 278 For some reason Photoshop seems to blend semi-transparent pixels with white. 412 const size_t number_pixels,unsigned char *pixels) 456 *pixels++=(pixel >> 7) & 0x01 ? 0U : 255U; 457 *pixels++=(pixel >> 6) & 0x01 ? 0U : 255U; 458 *pixels++=(pixel >> 5) & 0x01 ? 0U : 255U; 459 *pixels++=(pixel >> 4) & 0x01 ? 0U : 255U; 460 *pixels++=(pixel >> 3) & 0x01 ? 0U : 255U; 461 *pixels++=(pixel >> 2) & 0x01 ? 0U : 255U; 462 *pixels++=(pixel >> 1) & 0x01 ? 0U : 255U; 463 *pixels++=(pixel >> 0) & 0x01 ? 0U : 255U 912 *pixels; local 981 *pixels; local 1062 *pixels; local 2272 *pixels; local 2319 *pixels; local [all...] |
| dib.c | 131 % DecodeImage unpacks the packed image pixels into runlength-encoded 137 % const MagickBooleanType compression,unsigned char *pixels) 143 % o compression: A value of 1 means the compressed pixels are runlength 146 % o pixels: The address of a byte (8 bits) array of pixel data created by 151 const MagickBooleanType compression,unsigned char *pixels) 185 assert(pixels != (unsigned char *) NULL); 186 (void) ResetMagickMemory(pixels,0,(size_t) image->columns*image->rows* 187 sizeof(*pixels)); 190 p=pixels; 191 q=pixels+(size_t) image->columns*image->rows 476 *pixels; local 1024 *pixels; local [all...] |
| rgb.c | 106 *pixels; 182 pixels=(const unsigned char *) NULL; 193 pixels=(const unsigned char *) ReadBlobStream(image,length, 205 Read pixels to virtual canvas image then push to image. 224 pixels=(const unsigned char *) ReadBlobStream(image,length, 249 quantum_info,quantum_type,pixels,exception); 282 pixels=(const unsigned char *) ReadBlobStream(image,length, 306 pixels=(const unsigned char *) ReadBlobStream(image,length, 334 quantum_info,quantum_type,pixels,exception); 384 pixels=(const unsigned char *) ReadBlobStream(image,length 103 *pixels; local 1116 *pixels; local [all...] |
| /external/opencv3/modules/java/generator/src/cpp/ |
| utils.cpp | 26 void* pixels = 0; local 34 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); 35 CV_Assert( pixels ); 40 Mat tmp(info.height, info.width, CV_8UC4, pixels); 46 Mat tmp(info.height, info.width, CV_8UC2, pixels); 89 void* pixels = 0; local 99 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); 100 CV_Assert( pixels ); 103 Mat tmp(info.height, info.width, CV_8UC4, pixels); 118 Mat tmp(info.height, info.width, CV_8UC2, pixels); [all...] |
| /external/skia/src/image/ |
| SkSurface_Raster.cpp | 21 void (*releaseProc)(void* pixels, void* context), void* context, 89 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb, 90 void (*releaseProc)(void* pixels, void* context), void* context, 94 fBitmap.installPixels(info, pixels, rb, nullptr, releaseProc, context); 123 // SkImage_raster requires these pixels are immutable for its full lifetime. 132 // Our pixels are in memory, so read access on the snapshot SkImage could be cheap. 164 // this as its backend, so we can't modify the image's pixels anymore. 172 SkSurface* SkSurface::NewRasterDirectReleaseProc(const SkImageInfo& info, void* pixels, size_t rb, 173 void (*releaseProc)(void* pixels, void* context), 181 if (nullptr == pixels) { [all...] |
| /external/libgdx/gdx/jni/gdx2d/ |
| gdx2d.c | 226 const unsigned char* pixels = stbi_load_from_memory(buffer, len, &width, &height, &format, 0);
local 227 if (pixels == NULL) {
228 pixels = jpgd_decompress_jpeg_image_from_memory(buffer, len, &width, &height, &format, 3);
230 if (pixels == NULL)
238 pixmap->pixels = pixels;
265 pixmap->pixels = (unsigned char*)malloc(width * height * gdx2d_bytes_per_pixel(format));
266 if (!pixmap->pixels) {
273 free((void*)pixmap->pixels);
292 int pixels = pixmap->width * pixmap->height; local 297 int pixels = pixmap->width * pixmap->height; local 308 int pixels = pixmap->width * pixmap->height; local 325 int pixels = pixmap->width * pixmap->height; local 340 int pixels = pixmap->width * pixmap->height; local 351 int pixels = pixmap->width * pixmap->height; local 589 unsigned char* pixels = (unsigned char*)pixmap->pixels; local [all...] |
| /external/icu/icu4c/source/layout/ |
| LEFontInstance.cpp | 131 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const 133 units.fX = xPixelsToUnits(pixels.fX); 134 units.fY = yPixelsToUnits(pixels.fY); 137 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const 139 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX(); 140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
|
| /external/mesa3d/src/mesa/drivers/dri/radeon/ |
| radeon_pixel_read.c | 93 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) 103 /* It's not worth if number of pixels to copy is really small */ 148 dst_offset = (intptr_t)pixels; 182 copy_rows(pixels, dst_rowstride, dst_buffer->ptr, 201 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) 206 if (do_blit_readpixels(ctx, x, y, width, height, format, type, pack, pixels)) 220 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
|
| /frameworks/base/packages/PrintSpooler/jni/ |
| com_android_printspooler_util_BitmapSerializeUtils.cpp | 114 // Lock the pixels. 115 void* pixels; local 116 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels); 118 throwIllegalStateException(env, (char*) "Cannot lock bitmap pixels"); 122 // Read the pixels. 124 read = readAllBytes(fd, (void*) pixels, byteCount); 126 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels"); 130 // Unlock the pixels. 133 throwIllegalStateException(env, (char*) "Cannot unlock bitmap pixels"); 153 // Lock the pixels 154 void* pixels; local [all...] |
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
| vp8_variance8x8_armv6.asm | 35 ; 1st 4 pixels 36 ldr r6, [r0, #0x0] ; load 4 src pixels 37 ldr r7, [r2, #0x0] ; load 4 ref pixels 51 orr r8, r8, r10 ; differences of all 4 pixels 57 uxtb16 r7, r8 ; byte (two pixels) to halfwords 58 uxtb16 r10, r8, ror #8 ; another two pixels to halfwords 61 ; 2nd 4 pixels 62 ldr r6, [r0, #0x4] ; load 4 src pixels 63 ldr r7, [r2, #0x4] ; load 4 ref pixels 76 orr r8, r8, r10 ; differences of all 4 pixels [all...] |
| /external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
| AnimatedGifEncoder.java | 41 // The minimum % of an images pixels that must be transparent for us to set a transparent index automatically. 62 private byte[] pixels; // BGR byte array from frame field in class:AnimatedGifEncoder 162 analyzePixels(); // build color table & map pixels 208 pixels = null; 311 int len = pixels.length; 314 NeuQuant nq = new NeuQuant(pixels, len, sample); 324 // map image pixels to new palette 327 int index = nq.map(pixels[k++] & 0xff, pixels[k++] & 0xff, pixels[k++] & 0xff) [all...] |
| /external/ImageMagick/www/source/ |
| contrast.c | 41 **pixels; local 76 pixels=PixelGetNextIteratorRow(iterator,&width); 78 if ((pixels == (PixelWand **) NULL) || 83 PixelGetMagickColor(pixels[x],&pixel);
|
| /external/ImageMagick/www/source/wand/ |
| sigmoidal-contrast.c | 20 **pixels; local 26 pixels=GetWandViewPixels(contrast_view); 29 PixelGetMagickColor(pixels[x],&pixel); 34 PixelSetMagickColor(pixels[x],&pixel);
|
| /external/mesa3d/src/mesa/main/ |
| texcompress_s3tc.c | 166 const GLubyte *pixels; local 187 pixels = tempImage; 191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, 219 const GLubyte *pixels; local 240 pixels = tempImage; 244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, 272 const GLubyte *pixels; local 293 pixels = tempImage 324 const GLubyte *pixels; local [all...] |
| /external/skia/src/codec/ |
| SkCodecImageGenerator.h | 26 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[],
|
| /external/skia/src/utils/ |
| SkImageGeneratorUtils.cpp | 31 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 33 return fBM.readPixels(info, pixels, rowBytes, 0, 0); 110 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 112 return fImage->readPixels(info, pixels, rowBytes, 0, 0);
|
| /frameworks/webview/chromium/plat_support/ |
| draw_sw.h | 45 typedef void (AwReleasePixelsFunction)(AwPixelInfo* pixels);
|
| /external/ImageMagick/MagickCore/ |
| compress.c | 481 Uncompress 1D Huffman to runlength encoded pixels. 608 Transfer scanline to image pixels. 780 Compress to 1D Huffman pixels. 900 % unsigned char *magick_restrict pixels,ExceptionInfo *exception) 906 % o length: A value that specifies the number of pixels to compress. 908 % o pixels: the address of an unsigned array of characters containing the 909 % pixels to compress. 915 unsigned char *magick_restrict pixels,ExceptionInfo *exception) 962 assert(pixels != (unsigned char *) NULL); 984 last_code=(size_t) pixels[0] [all...] |