HomeSort by relevance Sort by last modified time
    Searched refs:pixels (Results 51 - 75 of 217) sorted by null

1 23 4 5 6 7 8 9

  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 188 static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t )
201 uint16_t* line = (uint16_t*)pixels;
214 * for every pair of pixels.
265 pixels = (char*)pixels + info->stride;
367 void* pixels; local
388 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) {
395 fill_plasma(&info, pixels, time_ms );
  /external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
SDL_atarigl.c 339 if (!(this->gl_data->OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w, surface->h))) {
689 dstline = surface->pixels;
712 dstline = surface->pixels;
744 dstline = surface->pixels;
777 dstline = surface->pixels;
808 dstline = surface->pixels;
842 dstline = surface->pixels;
876 dstline = surface->pixels;
910 dstline = surface->pixels;
944 dstline = surface->pixels;
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/epoc/
SDL_epocvideo.cpp 356 if (current && current->pixels) {
357 SDL_free(current->pixels);
358 current->pixels = NULL;
373 current->pixels = SDL_malloc(width * height * numBytesPerPixel);
374 SDL_memset(current->pixels, 0, width * height * numBytesPerPixel);
527 /* All variables are measured in pixels */
544 TUint16* bitmapLine = (TUint16*)_this->screen->pixels + sourceStartOffset;
552 __ASSERT_DEBUG(bitmapLine < ((TUint16*)_this->screen->pixels +
555 __ASSERT_DEBUG(bitmapLine >= (TUint16*)_this->screen->pixels,
564 TUint8* bitmapLine = (TUint8*)_this->screen->pixels + sourceStartOffset
    [all...]
  /external/qemu/android/skin/
trackball.c 162 unsigned* pixels; member in struct:SkinTrackBall
228 ball->pixels = (unsigned*)calloc( diameter2*diameter2, sizeof(unsigned) );
229 ball->surface = sdl_surface_from_argb32( ball->pixels, diameter2, diameter2 );
390 if (ball->pixels) {
391 free( ball->pixels );
392 ball->pixels = NULL;
396 /*** TRACKBALL SPHERE PIXELS
475 unsigned* pixels = ball->pixels; local
543 pixels[coord->x + diameter*coord->y] = color
    [all...]
window.c 89 void* data; /* framebuffer pixels */
141 disp->data = sdisp->qfbuff->pixels;
202 dotmatrix_dither_argb32( unsigned char* pixels, int x, int y, int w, int h, int pitch )
213 pixels += 4*x + y*pitch;
216 unsigned* line = (unsigned*) pixels;
229 pixels += pitch;
281 lcd_brightness_argb32( unsigned char* pixels, SkinRect* r, int pitch, int brightness )
297 pixels += 4*r->pos.x + r->pos.y*pitch;
307 unsigned* line = (unsigned*) pixels;
320 pixels += pitch
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 148 * Free up the memory associated with this bitmap's pixels, and mark the
166 * to try to access its pixels, and the bitmap will not draw.
236 * Copy the bitmap's pixels into the specified buffer (allocated by the
238 * hold all of the pixels (taking into account the number of bytes per
259 throw new RuntimeException("Buffer not large enough for pixels");
271 * Copy the pixels from the buffer, beginning at the current position,
272 * overwriting the bitmap's pixels. The data in the buffer is not changed
295 throw new RuntimeException("Buffer not large enough for pixels");
304 * this bitmap's pixels into the new bitmap. If the conversion is not
310 * its pixels can be modified
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_image.c 103 screen->pixels = SDL_Image->image;
176 screen->pixels = OCImage.CurrentFrameData;
245 screen->pixels = OCImage.FrameData0;
254 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch);
258 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch);
260 screen->pixels+=screen->pitch*40;
269 screen->pixels = OCImage.FrameData0;
278 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch);
282 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch);
284 screen->pixels+=screen->pitch*40
    [all...]
SDL_phyuv.c 248 overlay->pixels = SDL_calloc(overlay->planes, sizeof(Uint8*));
249 if (!overlay->pitches || !overlay->pixels)
259 overlay->pixels[0] = overlay->hwdata->CurrentFrameData->Y;
264 overlay->pixels[1] = overlay->hwdata->CurrentFrameData->U;
269 overlay->pixels[2] = overlay->hwdata->CurrentFrameData->V;
310 overlay->pixels[0] = overlay->hwdata->CurrentFrameData->Y;
315 overlay->pixels[1] = overlay->hwdata->CurrentFrameData->U;
320 overlay->pixels[2] = overlay->hwdata->CurrentFrameData->V;
441 overlay->pixels[0] = overlay->hwdata->CurrentFrameData->Y;
446 overlay->pixels[1] = overlay->hwdata->CurrentFrameData->U
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
SDL_gsvideo.c 560 current->pixels = NULL;
591 /* Since mouse motion affects 'pixels', lock it */
602 surface->pixels = mapped_mem + surface->offset;
607 /* Set the surface pixels to the base of the DMA area */
608 surface->pixels = mapped_mem;
618 /* Since mouse motion affects 'pixels', lock it */
620 surface->pixels = NULL;
638 this->screen->pixels = mapped_mem + this->screen->offset;
640 this->screen->pixels = NULL;
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11yuv.c 323 overlay->pixels = (Uint8 **)SDL_malloc(overlay->planes * sizeof(Uint8 *));
324 if ( !overlay->pitches || !overlay->pixels ) {
331 overlay->pixels[i] = (Uint8 *)hwdata->image->data +
404 if ( overlay->pixels ) {
405 SDL_free(overlay->pixels);
406 overlay->pixels = NULL;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 55 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; local
56 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2,
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbvideo.h 174 *x = (long)((char *)dst->pixels - mapped_mem)%this->screen->pitch;
175 *y = (long)((char *)dst->pixels - mapped_mem)/this->screen->pitch;
  /external/webkit/WebCore/platform/graphics/win/
GraphicsContextWin.cpp 113 void* pixels = 0; local
114 HBITMAP bitmap = ::CreateDIBSection(NULL, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0);
  /external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
SDL_cgxaccel.c 66 if(lock=LockBitMapTags(surface->hwdata->bmap,LBMI_BASEADDRESS,(ULONG)&surface->pixels,
75 register unsigned char *dest=surface->hwdata->mask,*map=surface->pixels;
103 register unsigned char *dest=surface->hwdata->mask,*map=surface->pixels;
131 register unsigned char *dest=surface->hwdata->mask,*map=surface->pixels;
  /external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
SDL_sysyuv.cc 215 overlay->pixels = (Uint8**)SDL_calloc(overlay->planes, sizeof(Uint8*));
216 if (!overlay->pitches || !overlay->pixels)
224 overlay->pixels[0] = (Uint8 *)bbitmap->Bits();
  /external/libvpx/vpx_scale/arm/armv4/
gen_scalers_armv4.asm 44 ; * FUNCTION : Copies horizontal line of pixels from source to
147 ; * FUNCTION : Scales vertical band of pixels by scale 4 to 5. The
148 ; * height of the band scaled is 4-pixels.
220 ; * FUNCTION : Copies horizontal line of pixels from source to
287 ; * FUNCTION : Scales vertical band of pixels by scale 2 to 3. The
288 ; * height of the band scaled is 2-pixels.
344 ; * FUNCTION : Copies horizontal line of pixels from source to
441 ; * FUNCTION : Scales vertical band of pixels by scale 3 to 5. The
442 ; * height of the band scaled is 3-pixels.
514 ; * FUNCTION : Copies horizontal line of pixels from source t
    [all...]
  /external/libvpx/vpx_scale/symbian/
gen_scalers_armv4.asm 44 ; * FUNCTION : Copies horizontal line of pixels from source to
147 ; * FUNCTION : Scales vertical band of pixels by scale 4 to 5. The
148 ; * height of the band scaled is 4-pixels.
220 ; * FUNCTION : Copies horizontal line of pixels from source to
287 ; * FUNCTION : Scales vertical band of pixels by scale 2 to 3. The
288 ; * height of the band scaled is 2-pixels.
344 ; * FUNCTION : Copies horizontal line of pixels from source to
441 ; * FUNCTION : Scales vertical band of pixels by scale 3 to 5. The
442 ; * height of the band scaled is 3-pixels.
514 ; * FUNCTION : Copies horizontal line of pixels from source t
    [all...]
  /external/libvpx/vpx_scale/wce/
gen_scalers_armv4.asm 44 ; * FUNCTION : Copies horizontal line of pixels from source to
147 ; * FUNCTION : Scales vertical band of pixels by scale 4 to 5. The
148 ; * height of the band scaled is 4-pixels.
220 ; * FUNCTION : Copies horizontal line of pixels from source to
287 ; * FUNCTION : Scales vertical band of pixels by scale 2 to 3. The
288 ; * height of the band scaled is 2-pixels.
344 ; * FUNCTION : Copies horizontal line of pixels from source to
441 ; * FUNCTION : Scales vertical band of pixels by scale 3 to 5. The
442 ; * height of the band scaled is 3-pixels.
514 ; * FUNCTION : Copies horizontal line of pixels from source t
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/xbios/
SDL_xbios.c 621 current->pixels = XBIOS_shadowscreen;
623 current->pixels = XBIOS_screens[0];
743 source = surface->pixels;
772 surface->pixels=XBIOS_screens[XBIOS_fbnum];
792 surface->pixels,
810 surface->pixels=XBIOS_screens[XBIOS_fbnum];
936 this->screen->pixels = NULL;
  /sdk/ninepatch/src/com/android/ninepatch/
NinePatch.java 425 private Pair<List<Pair<Integer>>> getPatches(int[] pixels, boolean[] startWithPatch) {
427 int lastPixel = pixels[1];
433 for (int i = 1; i < pixels.length - 1; i++) {
434 int pixel = pixels[i];
450 patches.add(new Pair<Integer>(lastIndex, pixels.length - 1));
452 fixed.add(new Pair<Integer>(lastIndex, pixels.length - 1));
456 patches.add(new Pair<Integer>(1, pixels.length - 1));
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_video.c 475 /* Now choose the mode that has less pixels */
793 /* If the implementation either supports the packed pixels
844 SDL_memset( SDL_VideoSurface->pixels, 255, SDL_VideoSurface->h * SDL_VideoSurface->pitch );
1721 case 1: { Uint8 *pixels; local
1733 case 2: { Uint16 *pixels; local
1749 case 4: { Uint32 *pixels; local
    [all...]
  /external/webkit/WebKit/chromium/src/
GraphicsContext3D.cpp 765 unsigned char* pixels = 0; local
805 pixels = static_cast<unsigned char*>(readbackBitmap->getPixels());
806 glReadPixels(0, 0, m_cachedWidth, m_cachedHeight, GL_BGRA, GL_UNSIGNED_BYTE, pixels);
809 pixels = m_renderOutput;
810 glReadPixels(0, 0, m_cachedWidth, m_cachedHeight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pixels);
820 if (pixels)
821 flipVertically(pixels, m_cachedWidth, m_cachedHeight);
2012 unsigned char* pixels = local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzVideo.m 468 current->pixels = (Uint32*) CGDisplayBaseAddress (display_id);
503 current->pixels = SDL_malloc (current->pitch * current->h * 2);
504 if (current->pixels == NULL) {
509 sw_buffers[0] = current->pixels;
510 sw_buffers[1] = (Uint8*)current->pixels + current->pitch * current->h;
811 current->pixels = GetPixBaseAddr ( GetPortPixMap ( qdport ) );
824 current->pixels now points to the window's pixels
825 We want it to point to the *view's* pixels
834 current->pixels = (Uint8 *)current->pixels + (vOffset * current->pitch) + hOffset * (qdbpp/8)
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccUtils.java 356 int[] pixels = new int[numOfPixels]; local
367 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01);
373 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 204 void* pixels = buffer->bits; local
210 uint16_t* line = (uint16_t*)pixels;
223 * for every pair of pixels.
274 pixels = (uint16_t*)pixels + buffer->stride;

Completed in 1034 milliseconds

1 23 4 5 6 7 8 9