/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_fillrect.c | 71 p = pixels; \ 122 pixels += pitch; in SDL_FillRect1SSE() 142 p = pixels; in SDL_FillRect1() 169 pixels += pitch; in SDL_FillRect1() 193 pixels += pitch; in SDL_FillRect2() 214 p = pixels; in SDL_FillRect3() 221 pixels += pitch; in SDL_FillRect3() 230 pixels += pitch; in SDL_FillRect4() 303 Uint8 *pixels; in SDL_FillRects() local 318 if (!dst->pixels) { in SDL_FillRects() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/ |
A D | SDL_yuv_sw.c | 89 if (!swdata->pixels) { in SDL_SW_CreateYUVTexture() 135 *pixels = swdata->planes[0]; in SDL_SW_QueryYUVTexturePixels() 149 SDL_memcpy(swdata->pixels, pixels, in SDL_SW_UpdateYUVTexture() 157 src = (Uint8 *) pixels; in SDL_SW_UpdateYUVTexture() 198 src = (Uint8 *) pixels; in SDL_SW_UpdateYUVTexture() 214 SDL_memcpy(swdata->pixels, pixels, in SDL_SW_UpdateYUVTexture() 223 src = (Uint8 *) pixels; in SDL_SW_UpdateYUVTexture() 324 *pixels = swdata->planes[0]; in SDL_SW_LockYUVTexture() 366 swdata->display->pixels = pixels; in SDL_SW_CopyYUVToRGB() 390 pixels = swdata->stretch->pixels; in SDL_SW_CopyYUVToRGB() [all …]
|
A D | SDL_yuv_sw_c.h | 36 Uint8 *pixels; member 50 int SDL_SW_QueryYUVTexturePixels(SDL_SW_YUVTexture * swdata, void **pixels, 53 const void *pixels, int pitch); 59 void **pixels, int *pitch); 62 Uint32 target_format, int w, int h, void *pixels,
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxBlitFunc.c | 532 Uint8 *pixels; in SDL_gfxSetAlpha() local 552 pixels = (Uint8 *)src->pixels; in SDL_gfxSetAlpha() 554 pixels += alpha_offset; in SDL_gfxSetAlpha() 557 *pixels = a; in SDL_gfxSetAlpha() 558 pixels += 4; in SDL_gfxSetAlpha() 560 pixels += row_skip; in SDL_gfxSetAlpha() 595 Uint8 *pixels; in SDL_gfxMultiplyAlpha() local 620 pixels = (Uint8 *)src->pixels; in SDL_gfxMultiplyAlpha() 625 *pixels = (Uint8)(((int)(*pixels)*a)>>8); in SDL_gfxMultiplyAlpha() 626 pixels += 4; in SDL_gfxMultiplyAlpha() [all …]
|
A D | SDL_rotozoom.c | 130 sp = (tColorRGBA *) src->pixels; in _shrinkSurfaceRGBA() 133 dp = (tColorRGBA *) dst->pixels; in _shrinkSurfaceRGBA() 219 sp = (Uint8 *) src->pixels; in _shrinkSurfaceY() 222 dp = (Uint8 *) dst->pixels; in _shrinkSurfaceY() 349 sp = (tColorRGBA *) src->pixels; in _zoomSurfaceRGBA() 350 dp = (tColorRGBA *) dst->pixels; in _zoomSurfaceRGBA() 541 sp = csp = (Uint8 *) src->pixels; in _zoomSurfaceY() 542 dp = (Uint8 *) dst->pixels; in _zoomSurfaceY() 654 pc = (tColorRGBA*) dst->pixels; in _transformSurfaceRGBA() 770 pc = (tColorY*) dst->pixels; in transformSurfaceY() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_framebuffer.c | 35 int SDL_AliOS_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, … in SDL_AliOS_CreateWindowFramebuffer() argument 58 *pixels = surface->pixels; in SDL_AliOS_CreateWindowFramebuffer() 74 hal_lcd->lcd_frame_draw(surface->pixels); in SDL_AliOS_UpdateWindowFramebuffer() 77 udisplay_show_rect(surface->pixels, 0, 0, surface->w, surface->h, false); in SDL_AliOS_UpdateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_xv.c | 106 Uint8 *pixels; in IMG_LoadXV_RW() local 128 for ( pixels = (Uint8 *)surface->pixels; h > 0; --h ) { in IMG_LoadXV_RW() 129 if ( SDL_RWread(src, pixels, w, 1) <= 0 ) { in IMG_LoadXV_RW() 133 pixels += surface->pitch; in IMG_LoadXV_RW()
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoavideo.m | 213 Uint8 *pixels; 237 /* Copy the pixels */ 238 pixels = [imgrep bitmapData]; 239 SDL_memcpy(pixels, converted->pixels, converted->h * converted->pitch); 244 Uint8 alpha = pixels[3]; 245 pixels[0] = (Uint8)(((Uint16)pixels[0] * alpha) / 255); 246 pixels[1] = (Uint8)(((Uint16)pixels[1] * alpha) / 255); 247 pixels[2] = (Uint8)(((Uint16)pixels[2] * alpha) / 255); 248 pixels += 4;
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenframebuffer.c | 30 int Emscripten_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels,… in Emscripten_CreateWindowFramebuffer() argument 55 *pixels = surface->pixels; in Emscripten_CreateWindowFramebuffer() 75 var pixels = $2; in Emscripten_UpdateWindowFramebuffer() 90 var src = pixels >> 2; in Emscripten_UpdateWindowFramebuffer() 157 }, surface->w, surface->h, surface->pixels); in Emscripten_UpdateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_shape.c | 81 Uint32 *pixels; in DirectFB_SetWindowShape() local 105 …SDL_DFB_CHECK(data->surface->Lock(data->surface, DSLF_WRITE | DSLF_READ, (void **) &pixels, &pitch… in DirectFB_SetWindowShape() 111 pixels[w] = 0xFFFFFFFF; in DirectFB_SetWindowShape() 113 pixels[w] = 0; in DirectFB_SetWindowShape() 117 pixels += (pitch >> 2); in DirectFB_SetWindowShape()
|
A D | SDL_DirectFB_render.c | 70 void *pixels; member 378 data->pixels = NULL; in DirectFB_CreateTexture() 475 src = (Uint8 *) pixels; in DirectFB_UpdateTexture() 486 src = (Uint8 *) pixels + texture->h * pitch; in DirectFB_UpdateTexture() 532 *pixels = fdata; in DirectFB_LockTexture() 534 *pixels = in DirectFB_LockTexture() 535 (void *) ((Uint8 *) texturedata->pixels + in DirectFB_LockTexture() 557 texturedata->pixels = NULL; in DirectFB_UnlockTexture() 885 SDL_DFB_FREE(data->pixels); in DirectFB_DestroyTexture() 925 format, pixels, pitch); in DirectFB_RenderReadPixels() [all …]
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestFramerate.c | 50 Uint8 *pixels; in ClearScreen() local 52 pixels = (Uint8 *)screen->pixels; in ClearScreen() 54 memset(pixels, black, in ClearScreen() 56 pixels += screen->pitch; in ClearScreen()
|
A D | TestGfxBlit.c | 53 Uint8 *pixels; in ClearScreen() local 56 pixels = (Uint8 *)screen->pixels; in ClearScreen() 59 memset(pixels, gray1, screen->w*screen->format->BytesPerPixel); in ClearScreen() 61 memset(pixels, gray2, screen->w*screen->format->BytesPerPixel); in ClearScreen() 63 pixels += screen->pitch; in ClearScreen()
|
A D | TestGfxTexture.c | 47 Uint8 *pixels; in ClearScreen() local 49 pixels = (Uint8 *)screen->pixels; in ClearScreen() 51 memset(pixels, black, in ClearScreen() 53 pixels += screen->pitch; in ClearScreen()
|
A D | LaplaceRelaxation.c | 62 Uint8 *pixels; in ClearScreen() local 63 pixels = (Uint8 *)screen->pixels; in ClearScreen() 65 memset(pixels, 0, in ClearScreen() 67 pixels += screen->pitch; in ClearScreen() 104 Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp; in getPixel() 191 pixel = picture->pixels; in Draw()
|
A D | TestFonts.c | 52 Uint8 *pixels; in ClearScreen() local 54 pixels = (Uint8 *)screen->pixels; in ClearScreen() 56 memset(pixels, black, in ClearScreen() 58 pixels += screen->pitch; in ClearScreen()
|
A D | TestShrink.c | 42 Uint8 *pixels; in ClearScreen() local 43 pixels = (Uint8 *)screen->pixels; in ClearScreen() 45 memset(pixels, 0, in ClearScreen() 47 pixels += screen->pitch; in ClearScreen()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testcustomcursor.c | 77 SDL_SetColorKey(surface, 1, *(Uint8 *) surface->pixels); in init_color_cursor() 81 SDL_SetColorKey(surface, 1, (*(Uint16 *)surface->pixels) & 0x00007FFF); in init_color_cursor() 84 SDL_SetColorKey(surface, 1, *(Uint16 *)surface->pixels); in init_color_cursor() 87 SDL_SetColorKey(surface, 1, (*(Uint32 *)surface->pixels) & 0x00FFFFFF); in init_color_cursor() 90 SDL_SetColorKey(surface, 1, *(Uint32 *)surface->pixels); in init_color_cursor()
|
A D | testspriteminimal.c | 61 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadSprite() 66 (*(Uint16 *) temp->pixels) & 0x00007FFF); in LoadSprite() 69 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadSprite() 73 (*(Uint32 *) temp->pixels) & 0x00FFFFFF); in LoadSprite() 76 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadSprite()
|
A D | testscale.c | 65 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture() 70 (*(Uint16 *) temp->pixels) & 0x00007FFF); in LoadTexture() 73 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture() 77 (*(Uint32 *) temp->pixels) & 0x00FFFFFF); in LoadTexture() 80 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
|
A D | testrendercopyex.c | 63 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture() 68 (*(Uint16 *) temp->pixels) & 0x00007FFF); in LoadTexture() 71 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture() 75 (*(Uint32 *) temp->pixels) & 0x00FFFFFF); in LoadTexture() 78 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
|
A D | teststreaming.c | 76 void *pixels; in UpdateTexture() local 79 if (SDL_LockTexture(texture, NULL, &pixels, &pitch) < 0) { in UpdateTexture() 85 dst = (Uint32*)((Uint8*)pixels + row * pitch); in UpdateTexture()
|
/AliOS-Things-master/components/SDL2/src/video/dummy/ |
A D | SDL_nullframebuffer.c | 31 int SDL_DUMMY_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, … in SDL_DUMMY_CreateWindowFramebuffer() argument 54 *pixels = surface->pixels; in SDL_DUMMY_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/offscreen/ |
A D | SDL_offscreenframebuffer.c | 32 …EN_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch) in SDL_OFFSCREEN_CreateWindowFramebuffer() argument 55 *pixels = surface->pixels; in SDL_OFFSCREEN_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11framebuffer.c | 53 void ** pixels, int *pitch) in X11_CreateWindowFramebuffer() argument 119 *pixels = shminfo->shmaddr; in X11_CreateWindowFramebuffer() 126 *pixels = SDL_malloc(window->h*(*pitch)); in X11_CreateWindowFramebuffer() 127 if (*pixels == NULL) { in X11_CreateWindowFramebuffer() 132 vinfo.depth, ZPixmap, 0, (char *)(*pixels), in X11_CreateWindowFramebuffer() 135 SDL_free(*pixels); in X11_CreateWindowFramebuffer()
|