Home
last modified time | relevance | path

Searched refs:rmask (Results 1 – 9 of 9) sorted by relevance

/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestGfxBlit.c78 Uint32 rmask, gmask, bmask, amask; in Draw() local
85 rmask = 0xff000000; in Draw()
90 rmask = 0x000000ff; in Draw()
98 …texture_image = SDL_DisplayFormatAlpha(SDL_CreateRGBSurface(SDL_SWSURFACE, s, s, 32, rmask, gmask,… in Draw()
110 …texture_target1 = SDL_DisplayFormatAlpha(SDL_CreateRGBSurface(SDL_SWSURFACE, 256, 256, 32, rmask, … in Draw()
117 …texture_target2 = SDL_DisplayFormatAlpha(SDL_CreateRGBSurface(SDL_SWSURFACE, 256, 256, 32, rmask, … in Draw()
A DLaplaceRelaxation.c130 Uint32 rmask, gmask, bmask, amask; in Draw() local
153 rmask = 0xff000000; in Draw()
158 rmask = 0x000000ff; in Draw()
236 rmask, gmask, bmask, amask); in Draw()
A DTestRotozoom.c526 Uint32 rmask = 0xff000000; in Draw() local
534 Uint32 rmask = 0x000000ff; in Draw() local
703 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
726 …gain = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, amask, bmask, gmask, rmask); in Draw()
774 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
842 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
893 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_tga.c96 Uint32 rmask, gmask, bmask, amask; in IMG_LoadTGA_RW() local
147 rmask = gmask = bmask = amask = 0; in IMG_LoadTGA_RW()
159 rmask = 0x7c00; in IMG_LoadTGA_RW()
172 rmask = 0x0000ff00 >> s; in IMG_LoadTGA_RW()
178 rmask = 0x00ff0000; in IMG_LoadTGA_RW()
199 rmask, gmask, bmask, amask); in IMG_LoadTGA_RW()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_surface.c44 Uint32 rmask, gmask, bmask, amask; in _surfaceSetUp() local
46 rmask = 0xff000000; in _surfaceSetUp()
51 rmask = 0x000000ff; in _surfaceSetUp()
58 …teRGBSurface(SDL_SWSURFACE, referenceSurface->w, referenceSurface->h, 32, rmask, gmask, bmask, ama… in _surfaceSetUp()
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshrec.c336 FT_Int rmask = 0x80 >> ( bit_pos & 7 ); in ps_mask_table_set_bits() local
346 if ( read[0] & rmask ) in ps_mask_table_set_bits()
351 rmask >>= 1; in ps_mask_table_set_bits()
352 if ( rmask == 0 ) in ps_mask_table_set_bits()
355 rmask = 0x80; in ps_mask_table_set_bits()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11window.c457 int rmask, gmask, bmask; in X11_CreateWindow() local
480 rmask = visual->red_mask; in X11_CreateWindow()
481 while (0 == (rmask & 1)) { in X11_CreateWindow()
483 rmask >>= 1; in X11_CreateWindow()
506 Uint32 rbits = (rmask * i) / (ncolors - 1); in X11_CreateWindow()
1506 int rmask, gmask, bmask; in X11_SetWindowGammaRamp() local
1521 rmask = visual->red_mask; in X11_SetWindowGammaRamp()
1522 while (0 == (rmask & 1)) { in X11_SetWindowGammaRamp()
1524 rmask >>= 1; in X11_SetWindowGammaRamp()
1543 Uint32 rbits = (rmask * i) / (ncolors - 1); in X11_SetWindowGammaRamp()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit_A.c916 __m64 src1, dst1, src2, dst2, rmask, gmask, bmask, mm_res, mm_alpha; in Blit555to555SurfaceAlphaMMX() local
929 rmask = _mm_set_pi32(0x7C007C00, 0x7C007C00); /* MASKRED -> rmask */ in Blit555to555SurfaceAlphaMMX()
980 src2 = _mm_and_si64(src2, rmask); /* src & MASKRED -> src2 */ in Blit555to555SurfaceAlphaMMX()
983 dst2 = _mm_and_si64(dst2, rmask); /* dst & MASKRED -> dst2 */ in Blit555to555SurfaceAlphaMMX()
990 dst2 = _mm_and_si64(dst2, rmask); /* dst2 & MASKRED -> dst2 */ in Blit555to555SurfaceAlphaMMX()
A DSDL_blit_N.c147 Uint32 rmask, gmask, bmask, amask; in calc_swizzle32() local
157 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32()
173 ((unsigned int *) (char *) &srcvec)[0] = (rmask | gmask | bmask | amask); in calc_swizzle32()

Completed in 24 milliseconds