HomeSort by relevance Sort by last modified time
    Searched defs:pixels (Results 126 - 150 of 252) sorted by null

1 2 3 4 56 7 8 91011

  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 150 * width - width of the pixelBuffer in pixels.
151 * height - height of the pixelBuffer in pixels.
536 jbyte* pixels = env->GetByteArrayElements(pixelBuffer, /*is_copy*/NULL); local
538 if (pixels == NULL) {
539 jniThrowNullPointerException(env, "pixels");
543 status_t err = produceFrame(anw, reinterpret_cast<uint8_t*>(pixels), width, height,
545 env->ReleaseByteArrayElements(pixelBuffer, pixels, JNI_ABORT);
android_view_SurfaceControl.cpp 178 SkMallocPixelRef* pixels = SkMallocPixelRef::NewWithProc(screenshotInfo, local
182 pixels->setImmutable();
183 bitmap->setPixelRef(pixels)->unref();
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
IconLoader.java 241 int[] pixels = new int[numOfPixels]; local
252 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01);
258 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
298 int[] pixels = new int[numOfPixels]; local
315 pixels[pixelIndex++] = Color.rgb(clut[clutIndex],
320 return Bitmap.createBitmap(pixels, width, height,
  /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)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/
QuickDraw_Graphics_Suite.py 186 pixels = pixel variable
  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 188 static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t )
200 uint16_t* line = (uint16_t*)pixels;
213 * for every pair of pixels.
264 pixels = (char*)pixels + info->stride;
366 void* pixels; local
387 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) {
394 fill_plasma(&info, pixels, time_ms );
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 203 void* pixels = buffer->bits; local
209 uint16_t* line = (uint16_t*)pixels;
222 * for every pair of pixels.
273 pixels = (uint16_t*)pixels + buffer->stride;
  /external/chromium_org/cc/layers/
heads_up_display_layer_impl.cc 175 const void* pixels = hud_canvas_->peekPixels(&info, &row_bytes); local
176 DCHECK(pixels);
180 static_cast<const uint8_t*>(pixels),
scrollbar_layer_unittest.cc 854 const SkColor* pixels = local
    [all...]
  /external/chromium_org/content/common/gpu/client/
gl_helper.cc 160 // Note that dst_size is specified in bytes, not pixels.
201 // thread, by resetting the texture and pixels fields. Alternatively, the
202 // thread marks that it handles the request by resetting the pixels field
216 pixels(pixels_),
225 unsigned char* pixels; member in struct:content::GLHelper::CopyTextureToImpl::Request
310 // Copies the block of pixels specified with |src_subrect| from |src_texture|,
630 memcpy(request->pixels, data,
633 unsigned char* out = request->pixels;
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/life_simd/
life.c 252 uint8_t* pixels = g_pImageData->Map(image); local
278 uint32_t *pixel_line = (uint32_t*) (pixels + y * desc.stride);
334 * Use __builtin_shufflevector(..) to construct output pixels from
352 /* Write 16 pixels to output pixel buffer. */
  /external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
voronoi.cc 113 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width);
245 // Quickly fill a span of pixels with a solid color. Assumes
248 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) {
254 *pixels++ = color;
255 *pixels++ = color;
256 *pixels++ = color;
257 *pixels++ = color;
266 uint32_t* pixels = wGetAddr(x, y); local
268 wFillSpan(pixels, color, w);
269 pixels += stride_in_pixels
282 uint32_t* pixels = wGetAddr(x, y); local
    [all...]
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
voronoi.cc 107 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width);
211 // could round up to the nearest 16 pixels, but it runs much faster when
240 // Quickly fill a span of pixels with a solid color.
242 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) {
249 *pixels++ = color;
256 uint32_t* pixels = wGetAddr(x, y); local
258 wFillSpan(pixels, color, w);
259 pixels += stride_in_pixels;
272 uint32_t* pixels = wGetAddr(x, y); local
279 wFillSpan(pixels, colors_[ms], w)
    [all...]
  /external/chromium_org/skia/ext/
vector_platform_device_emf_win.cc 908 const uint32_t* pixels = static_cast<const uint32_t*>(bitmap.getPixels()); local
909 if (pixels == NULL) {
919 if (SkColorGetA(pixels[(y2 * row_length) + x2]) != 255) {
950 memcpy(dest_buffer + dest_offset, pixels + src_offset, dest_row_size);
986 pixels,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DrawingBuffer.cpp 55 // Global resource ceiling (expressed in terms of pixels) for DrawingBuffer creation and resize.
216 unsigned char* pixels = bitmap->pixels(); local
219 if (pixels)
220 readBackFramebuffer(pixels, size().width(), size().height(), ReadbackSkia, op);
957 unsigned char* pixels = 0; local
    [all...]
  /external/chromium_org/third_party/skia/tests/
BlurTest.cpp 255 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); local
258 result[i] = SkColorGetR(pixels[i]);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
Utils.java 183 int[] pixels = new int[width]; local
186 data.getPixels(0, y, width, pixels, 0);
188 RGB rgb = data.palette.getRGB(pixels[x]);
225 data.getPixels(0, y, width, pixels, 0);
230 pixels[x] = rgbs.length - 1;
232 RGB rgb = data.palette.getRGB(pixels[x]);
233 pixels[x] = closest(rgbs, n, rgb);
236 newData.setPixels(0, y, width, pixels, 0);
  /external/qemu/android/
main.c 973 int64_t pixels = hw->hw_lcd_width * hw->hw_lcd_height; local
984 if (pixels <= 250000)
986 else if (pixels <= 500000)
    [all...]
  /external/qemu/android/skin/
image.c 219 void* pixels; /* 32-bit ARGB */ member in struct:SkinImage
242 if (image->pixels) {
243 free( image->pixels );
244 image->pixels = NULL;
309 * the values as 32-bit ARGB pixels, so swap the bytes accordingly depending
329 image->pixels = data;
333 image->surface = sdl_surface_from_argb32( image->pixels, w, h );
389 D( "skin_image_cache: remove '%s' (rot=%d), %d pixels\n",
507 node->pixels = rotate_image( parent->pixels, parent->w, parent->h
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_video.c 481 /* Now choose the mode that has less pixels */
810 /* If the implementation either supports the packed pixels
861 SDL_memset( SDL_VideoSurface->pixels, 255, SDL_VideoSurface->h * SDL_VideoSurface->pitch );
1753 case 1: { Uint8 *pixels; local
1765 case 2: { Uint16 *pixels; local
1781 case 4: { Uint32 *pixels; local
    [all...]
  /external/skia/tests/
BlurTest.cpp 255 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); local
258 result[i] = SkColorGetR(pixels[i]);
  /frameworks/native/opengl/libagl/
texture.cpp 486 uint8_t const* pixels = (uint8_t *)data + paletteSize; local
490 pixels += h * ((w * indexBits) / 8);
501 int index = 2 * (*pixels++);
507 int v = *pixels++;
525 int index = 3 * (*pixels++);
532 int v = *pixels++;
552 int index = 4 * (*pixels++);
560 int v = *pixels++;
    [all...]
  /frameworks/support/v7/palette/src/android/support/v7/graphics/
ColorCutQuantizer.java 72 final int[] pixels = new int[width * height]; local
73 bitmap.getPixels(pixels, 0, width, 0, 0, width, height);
75 return new ColorCutQuantizer(new ColorHistogram(pixels), maxColors);
  /packages/apps/Camera/jni/
feature_mos_jni.cpp 426 jbyte *pixels = env->GetByteArrayElements(photo_data, 0); local
428 YUV420toYVU24_NEW(tImage[HR][frame_number_HR], (ImageType)pixels,
431 env->ReleaseByteArrayElements(photo_data, pixels, 0);
  /packages/apps/LegacyCamera/jni/
feature_mos_jni.cpp 426 jbyte *pixels = env->GetByteArrayElements(photo_data, 0); local
428 YUV420toYVU24_NEW(tImage[HR][frame_number_HR], (ImageType)pixels,
431 env->ReleaseByteArrayElements(photo_data, pixels, 0);

Completed in 808 milliseconds

1 2 3 4 56 7 8 91011