/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_surface.h | 64 * \brief A collection of pixels used in software blitting. 66 * \note This structure should be treated as read-only, except for \c pixels, 75 void *pixels; /**< Read-write */ member in struct:SDL_Surface 110 * \param width The width in pixels of the surface to create. 111 * \param height The height in pixels of the surface to create. 121 extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels, 143 * \brief Sets up a surface for directly accessing the pixels. 146 * to and read from \c surface->pixels, using the pixel format stored in 208 * but the surface must be locked before directly accessing the pixels. 365 * \brief Copy a block of pixels of one format to another forma [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 115 int[] pixels = new int[4]; local 116 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); 118 pixels); 137 int[] pixels = new int[4]; local 138 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); 140 pixels); 159 int[] pixels = new int[4]; local 160 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); 162 pixels);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 51 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; local 52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2,
|
/external/ImageMagick/MagickCore/ |
image-view.c | 264 *magick_restrict pixels; 271 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 273 if (pixels == (const Quantum *) NULL) 360 % GetImageViewAuthenticPixels() returns the image view authentic pixels. 512 % the pixels in your callback are ignored. 578 *pixels; 582 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 584 if (pixels == (const Quantum *) NULL) 653 % GetImageViewVirtualPixels() returns the image view virtual pixels. 259 *magick_restrict pixels; local 567 *pixels; local 918 *magick_restrict pixels; local 1046 *magick_restrict pixels; local 1174 *magick_restrict pixels; local [all...] |
/external/ImageMagick/MagickWand/ |
pixel-iterator.c | 410 % pixels. 503 *pixels; 514 pixels=GetCacheViewVirtualPixels(iterator->view,iterator->region.x, 517 if (pixels == (const Quantum *) NULL) 521 PixelSetQuantumPixel(GetCacheViewImage(iterator->view),pixels, 523 pixels+=GetPixelChannels(GetCacheViewImage(iterator->view)); 686 *pixels; 700 pixels=GetCacheViewVirtualPixels(iterator->view,iterator->region.x, 703 if (pixels == (const Quantum *) NULL) 707 PixelSetQuantumPixel(GetCacheViewImage(iterator->view),pixels, 492 *pixels; local 671 *pixels; local 730 *pixels; local 925 *_magickcore_restrict pixels; local 943 iterator->pixel_wands[x],pixels); local [all...] |
/external/ImageMagick/coders/ |
hdr.c | 177 *pixels; 404 Read RGBE (red+green+blue+exponent) pixels. 406 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* 407 sizeof(*pixels)); 408 if (pixels == (unsigned char *) NULL) 414 count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); 415 if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) 425 (void) memcpy(pixels,pixel,4*sizeof(*pixel)); 426 count=ReadBlob(image,4*(image->columns-1)*sizeof(*pixels),pixels+4) 173 *pixels; local 686 *pixels; local [all...] |
ipl.c | 185 unsigned char magick[12], *pixels; local 333 pixels=(unsigned char *) GetQuantumPixels(quantum_info); 347 (void) ReadBlob(image, length*image->depth/8, pixels); 352 GrayQuantum,pixels,exception); 359 (void) ReadBlob(image, length*image->depth/8, pixels); 364 RedQuantum,pixels,exception); 369 (void) ReadBlob(image, length*image->depth/8, pixels); 374 GreenQuantum,pixels,exception); 379 (void) ReadBlob(image, length*image->depth/8, pixels); 384 BlueQuantum,pixels,exception) 524 *pixels; local [all...] |
jbig.c | 404 static void JBIGEncode(unsigned char *pixels,size_t length,void *data) 410 (void) WriteBlob(image,length,pixels); 449 *pixels; 474 pixel_info=AcquireVirtualMemory(number_packets,image->rows*sizeof(*pixels)); 477 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 479 Convert pixels to a bitmap. 482 q=pixels; 518 image->rows,1,&pixels,(void (*)(unsigned char *,size_t,void *)) 443 *pixels; local
|
pango.c | 171 *pixels; 388 pixel_info=AcquireVirtualMemory(image->rows,stride*sizeof(*pixels)); 395 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 396 surface=cairo_image_surface_create_for_data(pixels,CAIRO_FORMAT_ARGB32, 415 p=pixels; 169 *pixels; local
|
xwd.c | 702 *pixels; 827 Allocate memory for pixels. 832 pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels)); 833 if (pixels == (unsigned char *) NULL) 835 (void) ResetMagickMemory(pixels,0,length); 837 Convert MIFF to XWD raster pixels. 845 q=pixels; 864 (void) WriteBlob(image,(size_t) (q-pixels),pixels); 695 *pixels; local [all...] |
/external/ImageMagick/tests/ |
wandtest.c | 5190 **pixels; local 5325 pixels[27], local [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_s3tc.c | 125 const GLubyte *pixels; local 151 pixels = tempImage; 155 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 162 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, 182 const GLubyte *pixels; local 209 pixels = tempImage; 213 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 220 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, 240 const GLubyte *pixels; local 267 pixels = tempImage 297 const GLubyte *pixels; local [all...] |
/external/skia/gm/ |
yuvtorgbeffect.cpp | 54 unsigned char* pixels[3]; variable 56 pixels[i] = (unsigned char*)fBmp[i].getPixels(); 65 pixels[i][j] = (unsigned char)color[i]; 179 unsigned char* pixels = (unsigned char*)fBmp[0].getPixels(); variable 182 pixels[j] = (unsigned char)color[0]; 189 uint32_t* pixels = fBmp[1].getAddr32(0, y); variable 191 pixels[j] = SkColorSetARGB(0, color[1], color[2], 0);
|
/external/skia/samplecode/ |
SampleVertices.cpp | 33 uint32_t* pixels = (uint32_t*) bm.getPixels(); local 34 pixels[0] = pixels[2] = color0; 35 pixels[1] = pixels[3] = color1;
|
/external/skia/src/core/ |
SkPixmap.cpp | 66 const void* pixels = nullptr; local 69 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; 71 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes);
|
/external/skia/src/ports/ |
SkImageEncoder_WIC.cpp | 79 // WIC expects unpremultiplied pixels. Unpremultiply if necessary. 81 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap.getPixels()); local 84 uint8_t* bytes = pixels + y * bitmap.rowBytes() + x * bitmap.bytesPerPixel(); 93 void* pixels = bitmap.getPixels(); local 112 pixels = pixelStorage.get(); 197 //Write the pixels into the frame. 202 reinterpret_cast<BYTE*>(pixels));
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
PlanarYUVLuminanceSource.java | 26 * superfluous pixels around the perimeter and speed up decoding. 112 int[] pixels = new int[width * height]; local 120 pixels[outputOffset + x] = 0xFF000000 | (grey * 0x00010101); 126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_frame.cpp | 193 // Read the frame pixels 194 uint8_t* pixels = new uint8_t[frame->Size()]; local 195 frame->CopyDataTo(pixels, frame->Size()); 198 ConvertRGBAToFloats(pixels, frame->Size(), float_array); 201 delete[] pixels; 214 uint8_t* pixels; local 215 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); 217 const bool success = frame->WriteData(pixels, size); 230 uint8_t* pixels; local 231 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); [all...] |
/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...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilterTest.java | 79 int[] pixels = new int[bitmap.getByteCount()]; local 80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), 116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) + 118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) + 120 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) + 126 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) + 128 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) + 130 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) + 138 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) + 140 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) [all...] |
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 117 const unsigned int pixels[] = local 131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
PictureSizeCalculator.java | 116 long pixels = candidate.area(); local 119 pixels < bestArea) { 121 bestArea = pixels;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 91 unsigned long *pixels; member in struct:__anon54123 108 unsigned long *pixels; member in struct:__anon54124
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 91 unsigned long *pixels; member in struct:__anon55984 108 unsigned long *pixels; member in struct:__anon55985
|
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 181 * @param pixels a {@link android.graphics.Bitmap} of pixel data. 187 public DngCreator setThumbnail(@NonNull Bitmap pixels) { 188 if (pixels == null) { 192 int width = pixels.getWidth(); 193 int height = pixels.getHeight(); 201 ByteBuffer rgbBuffer = convertToRGB(pixels); 216 * @param pixels an {@link android.media.Image} object with the format 223 public DngCreator setThumbnail(@NonNull Image pixels) { 224 if (pixels == null) { 228 int format = pixels.getFormat() [all...] |