HomeSort by relevance Sort by last modified time
    Searched refs:pixels (Results 276 - 300 of 993) sorted by null

<<11121314151617181920>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureStrokeRecognitionPoints.java 240 final int pixels = getDistance(lastX, lastY, x, y); local
241 final int pixelsPerSec = pixels * MSEC_PER_SEC;
246 // Equivalent to (pixels / msecs < mStartSpeedThreshold / MSEC_PER_SEC)
297 final int pixels = getDistance(mLastMajorEventX, mLastMajorEventY, x, y); local
298 final int pixelsPerSec = pixels * MSEC_PER_SEC;
299 // Equivalent to (pixels / msecs < mGestureRecognitionThreshold / MSEC_PER_SEC)
  /external/ImageMagick/www/api/
cache.php 9 <title>ImageMagick: MagickCore, C API for ImageMagick: Get or Set Image Pixels</title>
15 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, or, set, image, pixels, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
81 <p>GetAuthenticMetacontent() returns the authentic metacontent corresponding with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the associated pixels are not available.</p>
103 <p>GetAuthenticPixelQueue() returns the authentic pixels associated corresponding with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p>
127 <p>The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.</p>
129 <p>Pixels accessed via the returned pointer represent a simple array of type Quantum. If the image has corresponding metacontent,call GetAuthenticMetacontent() after invoking GetAuthenticPixels() to obtain the meta-content corresponding to the region. Once the Quantum array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p>
151 <dd> These values define the perimeter of a region of pixels. </dd>
293 <p>GetVirtualPixelQueue() returns the virtual pixels associated corresponding with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p
    [all...]
  /bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
Main.java 72 * pixels in the header rows; don't convert them to jpeg or anything.
248 int[] pixels = new int[maxHeight * width];
256 bm.getPixels(pixels, 0, w, 0, 0, w, h);
259 // nonblack pixels; we'll copy just that region to the
266 if (pixels[j*w+right-1] != 0xff000000) {
282 if (pixels[j*w+left] != 0xff000000) {
319 out.setPixels(pixels, left, w, 0, p, tw, h);
  /external/deqp/external/openglcts/modules/gles31/
es31cTextureGatherTests.cpp 380 std::vector<Vec3> pixels(size * size, Vec3(1.0));
381 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]);
418 std::vector<Vec2> pixels(size * size, Vec2(1.0));
419 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]);
455 std::vector<GLfloat> pixels(size * size, 1.0);
456 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]);
492 std::vector<IVec4> pixels(csize * csize, IVec4(999));
493 glTexSubImage2D(target, 0, 0, 0, csize, csize, GL_RGBA_INTEGER, tex_type, &pixels[0]);
523 std::vector<IVec4> pixels(csize * csize, IVec4(999));
526 glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, i, csize, csize, 1, GL_RGBA_INTEGER, tex_type, &pixels[0])
    [all...]
  /external/libvpx/libvpx/vpx_dsp/
psnrhvs.c 132 int pixels; local
136 ret = pixels = 0;
239 pixels++;
244 if (pixels <= 0) return 0;
245 ret /= pixels;
  /external/skia/samplecode/
SampleBigGradient.cpp 126 // let CG allocate the pixels
131 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); };
200 void* pixels; local
201 HBITMAP hbitmap = CreateDIBSection(nullptr, (const BITMAPINFO*)&hdr, 0, &pixels, 0, 0);
207 sk_bzero(pixels, row_bytes * height);
219 rec->fPixels = pixels;
  /external/skia/tests/
SurfaceTest.cpp 39 static void release_direct_surface_storage(void* pixels, void* context) {
40 SkASSERT(pixels == context);
41 sk_free(pixels);
707 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]);
708 sk_memset32(pixels.get(), color, kWidth * kHeight);
711 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo);
734 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]);
735 sk_memset32(pixels.get(), color, kWidth * kHeight);
738 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo);
    [all...]
  /external/skqp/samplecode/
SampleBigGradient.cpp 126 // let CG allocate the pixels
131 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); };
200 void* pixels; local
201 HBITMAP hbitmap = CreateDIBSection(nullptr, (const BITMAPINFO*)&hdr, 0, &pixels, 0, 0);
207 sk_bzero(pixels, row_bytes * height);
219 rec->fPixels = pixels;
  /external/skqp/tests/
SurfaceTest.cpp 33 static void release_direct_surface_storage(void* pixels, void* context) {
34 SkASSERT(pixels == context);
35 sk_free(pixels);
590 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]);
591 sk_memset32(pixels.get(), color, kWidth * kHeight);
594 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo);
617 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]);
618 sk_memset32(pixels.get(), color, kWidth * kHeight);
621 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo);
647 std::unique_ptr<uint32_t[]> pixels(new uint32_t[w * h])
    [all...]
  /frameworks/base/tests/touchlag/
touchlag.cpp 46 uint32_t* pixels; member in union:Buffer::__anon45936
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;
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
DragPreviewProvider.java 198 byte[] pixels = new byte[preview.getWidth() * preview.getHeight()];
199 ByteBuffer buffer = ByteBuffer.wrap(pixels);
203 for (int i = 0; i < pixels.length; i++) {
204 if ((pixels[i] & 0xFF) < 188) {
205 pixels[i] = 0;
  /prebuilts/misc/windows/sdl2/test/
controllermap.c 65 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels);
70 (*(Uint16 *) temp->pixels) & 0x00007FFF);
73 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels);
77 (*(Uint32 *) temp->pixels) & 0x00FFFFFF);
80 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels);
testrendertarget.c 56 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels);
61 (*(Uint16 *) temp->pixels) & 0x00007FFF);
64 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels);
68 (*(Uint32 *) temp->pixels) & 0x00FFFFFF);
71 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels);
  /external/ImageMagick/coders/
sun.c 124 % DecodeImage unpacks the packed image pixels into runlength-encoded pixel
130 % const size_t length,unsigned char *pixels)
140 % o pixels: The address of a byte (8 bits) array of pixel data created by
143 % of the source pixels.
147 const size_t length,unsigned char *pixels,size_t extent)
163 assert(pixels != (unsigned char *) NULL);
165 q=pixels;
167 ((size_t) (q-pixels) < extent))
186 while ((count >= 0) && ((size_t) (q-pixels) < extent))
193 return(((size_t) (q-pixels) == extent) ? MagickTrue : MagickFalse)
876 *pixels; local
    [all...]
rle.c 193 *pixels;
311 Allocate RLE pixels.
322 MagickMax(number_planes_filled,4)*sizeof(*pixels));
327 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
336 p=pixels;
403 p=pixels+offset;
435 p=pixels+offset;
460 p=pixels;
494 p=pixels;
555 p=pixels;
190 *pixels; local
    [all...]
  /prebuilts/go/darwin-x86/src/image/
image.go 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
64 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
116 // through r. The returned value shares pixels with the original image.
160 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel at
163 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
228 // through r. The returned value shares pixels with the original image.
272 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
275 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
327 // through r. The returned value shares pixels with the original image.
371 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel a
    [all...]
  /prebuilts/go/linux-x86/src/image/
image.go 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
64 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
116 // through r. The returned value shares pixels with the original image.
160 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel at
163 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
228 // through r. The returned value shares pixels with the original image.
272 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
275 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
327 // through r. The returned value shares pixels with the original image.
371 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel a
    [all...]
  /cts/tests/tests/nativehardware/jni/
AHardwareBufferGLTest.cpp 154 std::unique_ptr<uint8_t[]> pixels(new uint8_t[size]);
156 pixels[i] = use_srgb ? 188 : 255;
157 pixels[i + 1] = 0;
158 pixels[i + 2] = 0;
160 UploadData(desc, GL_RGB, GL_UNSIGNED_BYTE, pixels.get());
167 std::unique_ptr<uint8_t[]> pixels(new uint8_t[size]);
169 pixels[i] = use_srgb ? 188 : 255;
170 pixels[i + 1] = 0;
171 pixels[i + 2] = 0;
172 pixels[i + 3] = use_srgb ? 128 : 255
    [all...]
  /external/opencv/
cvjni.cpp 170 int *pixels = env->GetIntArrayElements(array_data, 0); local
171 if (pixels == 0) {
172 LOGE("Error getting int array of pixels.");
176 IplImage *image = loadPixels(pixels, width, height);
177 env->ReleaseIntArrayElements(array_data, pixels, 0);
677 int* pixels;
706 pixels = env->GetIntArrayElements(photo_data1, 0);
707 frameImage = loadPixels(pixels, width, height);
717 pixels = env->GetIntArrayElements(photo_data2, 0);
718 frameImage = loadPixels(pixels, width, height);
    [all...]
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AppCompatSpinner.java 323 public void setDropDownVerticalOffset(int pixels) {
325 mPopup.setVerticalOffset(pixels);
327 super.setDropDownVerticalOffset(pixels);
342 public void setDropDownHorizontalOffset(int pixels) {
344 mPopup.setHorizontalOffset(pixels);
346 super.setDropDownHorizontalOffset(pixels);
351 * Get the configured horizontal offset in pixels for the spinner's popup window of choices.
354 * @return Horizontal offset in pixels
367 public void setDropDownWidth(int pixels) {
369 mDropDownWidth = pixels;
    [all...]
  /external/skia/src/opts/
SkSwizzler_opts.h 204 // Load 8 pixels.
217 // Store 8 premultiplied pixels.
233 // Call portable code to finish up the tail of [0,8) pixels.
249 // Load 16 pixels.
255 // Store 16 pixels.
263 // Load 8 pixels.
269 // Store 8 pixels.
283 // Load 16 pixels.
298 // Store 16 pixels.
306 // Load 8 pixels
451 uint8x8x4_t pixels = vld4_u8((const uint8_t*) src); local
    [all...]
  /external/skqp/src/opts/
SkSwizzler_opts.h 204 // Load 8 pixels.
217 // Store 8 premultiplied pixels.
233 // Call portable code to finish up the tail of [0,8) pixels.
249 // Load 16 pixels.
255 // Store 16 pixels.
263 // Load 8 pixels.
269 // Store 8 pixels.
283 // Load 16 pixels.
298 // Store 16 pixels.
306 // Load 8 pixels
451 uint8x8x4_t pixels = vld4_u8((const uint8_t*) src); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
NinePatchedImage.java 220 private boolean ensurePixel(int x, int y, int[] pixels, int index) {
224 if (index == 0 || index == pixels.length - 1) {
228 pixels[index] = pixel;
238 private boolean ensureHorizontalPixel(int x, int y, int[] pixels) {
239 return ensurePixel(x, y, pixels, x);
242 private boolean ensureVerticalPixel(int x, int y, int[] pixels) {
243 return ensurePixel(x, y, pixels, y);
369 * Find patches from pixels array.
370 * @param pixels Target of seeking ticks.
374 private static boolean findPatches(int[] pixels, List<Tick> out)
    [all...]
  /external/pdfium/core/fpdfapi/page/
cpdf_colorspace.cpp 86 int pixels,
110 int pixels,
140 int pixels,
163 int pixels,
519 int pixels,
529 for (int i = 0; i < pixels; i++) {
589 int pixels,
593 for (int i = 0; i < pixels; i++) {
667 int pixels,
676 for (int i = 0; i < pixels; i++)
    [all...]
  /external/libcups/filter/
raster.c 43 unsigned char *pixels, /* Pixels for current row */ member in struct:_cups_raster_s
69 const unsigned char *pixels);
90 if (r->pixels)
91 free(r->pixels);
580 * 'cupsRasterReadPixels()' - Read raster pixels.
663 ptr = r->pixels;
678 ptr = r->pixels;
722 * Copy N literal pixels...
789 r->pcurrent = r->pixels;
    [all...]

Completed in 1085 milliseconds

<<11121314151617181920>>