/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_resource.c | 39 /* A tile is 4x4 pixels, having 'screen->specs.bits_per_tile' of tile status. 40 * So, in a buffer of N pixels, there are N / (4 * 4) tiles. 49 size_t rt_ts_size, ts_layer_stride, pixels; local 54 pixels = rsc->levels[0].layer_stride / util_format_get_blocksize(rsc->base.format); 55 ts_layer_stride = align(pixels * screen->specs.bits_per_tile / 0x80, 0x100);
|
/external/skia/samplecode/ |
SampleBigGradient.cpp | 126 // let CG allocate the pixels 131 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; 198 void* pixels; local 199 HBITMAP hbitmap = CreateDIBSection(nullptr, (const BITMAPINFO*)&hdr, 0, &pixels, 0, 0); 205 sk_bzero(pixels, row_bytes * height); 217 rec->fPixels = pixels;
|
/external/skia/src/jumper/ |
SkJumper.h | 61 void* pixels; member in struct:SkJumper_MemoryCtx 83 // When called, fn() will have our active pixels available in rgba. 84 // When fn() returns, the pipeline will read back those active pixels from read_from.
|
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 70 void* pixels; // The pixels, all (height * rowBytes) of them. member in struct:SkCanvasLayerState::__anon31131::__anon31132 223 layerState->raster.pixels = pmap.writable_addr(); 279 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
CameraConfigurationManager.java | 140 int pixels = supportedPreviewSize.height * supportedPreviewSize.width; local 141 if (pixels < MIN_PREVIEW_PIXELS || pixels > MAX_PREVIEW_PIXELS) {
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
BitmapTest.java | 90 int[] pixels = new int[100]; local 91 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 94 assertEquals("getPixels", p, pixels[i]); 115 int[] pixels = new int[100]; local 116 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 119 assertEquals("getPixels", p, pixels[i]);
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 221 uint8_t pixels[rowBytes * height]; local 242 uint8_t* dst = pixels; 259 memcpy(pixels + rowBytes, pixels, rowBytes); 262 texture->upload(GL_RGBA16F, width, height, GL_RGBA, GL_FLOAT, pixels); 265 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
AutoFixFilter.java | 276 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness); local 293 long temp = (256 * 256 - 1l) * histArray[i] / pixels;
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
IccUtils.java | 437 int[] pixels = new int[numOfPixels]; local 448 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); 454 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
|
/frameworks/base/tests/touchlag/ |
touchlag.cpp | 46 uint32_t* pixels; member in union:Buffer::__anon40902 51 android_memset32(buf->pixels, pixel, buf->s * buf->h * 4); 56 uint32_t* bits = buf->pixels + y * buf->s; 78 uint32_t* bits = buf->pixels + y * buf->s + x; 97 uint32_t* bits = buf->pixels + y * buf->s + x;
|
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 125 double pixels = (gWidth * gHeight) * count; local 126 double mpps = pixels / delta / 1000000;
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 210 const unsigned int pixels[] = local 223 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsCamera.cpp | 479 uint32_t *pixels = nullptr; local 484 (void **) &pixels); 487 if (!pixels) { 491 // Fill in the test pixels 508 pixels[col] = expectedPixel; 511 // NOTE: stride retrieved from gralloc is in units of pixels 512 pixels = pixels + buff.stride;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
HistogramView.java | 47 int[] pixels = new int[w * h]; local 48 bitmap.getPixels(pixels, 0, w, 0, 0, w, h); 52 int r = Color.red(pixels[index]); 53 int g = Color.green(pixels[index]); 54 int b = Color.blue(pixels[index]);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
BackingStore.java | 605 ByteBuffer pixels = (ByteBuffer) backing.lock(ACCESS_BYTES); local 606 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); 627 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); local 628 allocation.copyTo(pixels.array()); 629 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); 846 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); local 847 GLToolbox.readTarget(target, pixels, mDimensions[0], mDimensions[1]); 848 mAllocation.copyFrom(pixels.array());
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
LightBarTests.java | 167 assertMoreThan("Not enough background pixels", 0.3f, 171 assertMoreThan("Not enough pixels colored as in the spec", 0.1f, 176 assertLessThan("Too many lighter pixels lighter than the background", 0.05f, 180 assertLessThan("Too many pixels with a changed hue", 0.05f, 248 int[] pixels = new int[bitmap.getHeight() * bitmap.getWidth()]; local 249 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); 254 for (int c : pixels) {
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
ImagePixelization.java | 150 * pixels within some region are averaged, and that average pixel value is then 151 * applied to all the pixels within that region. A higher pixelization factor 174 int[] pixels = new int[yPixels * xPixels]; local 198 Arrays.fill(pixels, pixel); 203 mPixelatedBitmap.setPixels(pixels, 0 , w, x , y, w, h); 276 * pixels manually or the one that uses built-in bitmap operations.
|
/external/ImageMagick/MagickCore/ |
cache-private.h | 117 *pixels; member in struct:_NexusInfo 183 *pixels; member in struct:_CacheInfo
|
composite.c | 330 *pixels; 354 If pixels is NULL, y is outside overlay region. 356 pixels=(Quantum *) NULL; 367 pixels=p; 401 if ((pixels == (Quantum *) NULL) || (x < x_offset) || 442 if (p >= (pixels+channels*source_image->columns)) 443 p=pixels; 492 if (p >= (pixels+channels*source_image->columns)) 493 p=pixels; 328 *pixels; local 1217 *pixels; local 2449 *pixels; local [all...] |
opencl-private.h | 53 *pixels; member in struct:_MagickCLCacheInfo
|
quantum-private.h | 70 **pixels; member in struct:_QuantumInfo 176 unsigned char *pixels) 178 *pixels++=pixel; 179 return(pixels); 183 const unsigned int pixel,unsigned char *pixels) 191 *pixels++=(unsigned char) (quantum); 192 *pixels++=(unsigned char) (quantum >> 8); 193 *pixels++=(unsigned char) (quantum >> 16); 194 *pixels++=(unsigned char) (quantum >> 24); 195 return(pixels); [all...] |
threshold.c | 246 *magick_restrict pixels; 288 pixels=p; 296 channel_bias[channel]+=pixels[i]; 297 channel_sum[channel]+=pixels[i]; 298 pixels+=GetPixelChannels(image); 300 pixels+=GetPixelChannels(image)*image->columns; 325 pixels=p; 328 channel_bias[channel]+=pixels[i]; 329 pixels+=(width-1)*GetPixelChannels(image); 330 channel_sum[channel]+=pixels[i] 240 *magick_restrict pixels; local [all...] |
/external/ImageMagick/coders/ |
fpx.c | 173 *pixels; 367 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,(tile_height+ 368 1UL)*colorspace.numberOfComponents*sizeof(*pixels)); 369 if (pixels == (unsigned char *) NULL) 387 fpx_info.components[i].theData=pixels+i; 401 Initialize image pixels. 423 pixels=(unsigned char *) RelinquishMagickMemory(pixels); 430 Transfer a FPX pixels. 468 pixels=(unsigned char *) RelinquishMagickMemory(pixels) 170 *pixels; local 808 *pixels; local [all...] |
icon.c | 901 *pixels; 893 *pixels; local 1310 (void) WriteBlob(image,(size_t) icon_info.image_size,pixels); local [all...] |
miff.c | 193 static void PushRunlengthPacket(Image *image,const unsigned char *pixels, 199 p=pixels; 469 *pixels; 464 *pixels; local 1968 *pixels, local [all...] |