Home
last modified time | relevance | path

Searched refs:Uint8 (Results 1 – 25 of 199) sorted by relevance

12345678

/external/qemu/distrib/sdl-1.2.15/include/
DSDL_events.h120 Uint8 type; /**< SDL_ACTIVEEVENT */
121 Uint8 gain; /**< Whether given states were gained or lost (1/0) */
122 Uint8 state; /**< A mask of the focus states */
127 Uint8 type; /**< SDL_KEYDOWN or SDL_KEYUP */
128 Uint8 which; /**< The keyboard device index */
129 Uint8 state; /**< SDL_PRESSED or SDL_RELEASED */
135 Uint8 type; /**< SDL_MOUSEMOTION */
136 Uint8 which; /**< The mouse device index */
137 Uint8 state; /**< The current button state */
145 Uint8 type; /**< SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP */
[all …]
DSDL_video.h56 Uint8 r;
57 Uint8 g;
58 Uint8 b;
59 Uint8 unused;
72 Uint8 BitsPerPixel;
73 Uint8 BytesPerPixel;
74 Uint8 Rloss;
75 Uint8 Gloss;
76 Uint8 Bloss;
77 Uint8 Aloss;
[all …]
DSDL_audio.h77 Uint8 channels; /**< Number of channels: 1 mono, 2 stereo */
78 Uint8 silence; /**< Audio buffer silence value (calculated) */
91 void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len);
131 Uint8 *buf; /**< Buffer to hold entire audio data */
215 … SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint3…
224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
235 Uint16 src_format, Uint8 src_channels, int src_rate,
236 Uint16 dst_format, Uint8 dst_channels, int dst_rate);
258 extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 *dst, const Uint8 *src, Uint32 len, int volume);
DSDL_mouse.h44 Uint8 *data; /**< B/W cursor data */
45 Uint8 *mask; /**< B/W cursor mask */
46 Uint8 *save[2]; /**< Place to save cursor area */
57 extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int *x, int *y);
65 extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState(int *x, int *y);
86 (Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y);
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_iconv.c234 Uint8 *p = (Uint8 *)src; in SDL_iconv()
256 Uint8 *p = (Uint8 *)src; in SDL_iconv()
308 Uint8 *p = (Uint8 *)src; in SDL_iconv()
316 Uint8 *p = (Uint8 *)src; in SDL_iconv()
324 Uint8 *p = (Uint8 *)src; in SDL_iconv()
439 Uint8 *p = (Uint8 *)src; in SDL_iconv()
462 p = (Uint8 *)src; in SDL_iconv()
480 Uint8 *p = (Uint8 *)src; in SDL_iconv()
503 p = (Uint8 *)src; in SDL_iconv()
521 Uint8 *p = (Uint8 *)src; in SDL_iconv()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit_0.c33 Uint8 *src, *map, *dst; in BlitBto1()
48 Uint8 byte = 0, bit; in BlitBto1()
65 Uint8 byte = 0, bit; in BlitBto1()
86 Uint8 *src; in BlitBto2()
101 Uint8 byte = 0, bit; in BlitBto2()
121 Uint8 *src, *map, *dst; in BlitBto3()
135 Uint8 byte = 0, bit; in BlitBto3()
157 Uint8 *src; in BlitBto4()
173 Uint8 byte = 0, bit; in BlitBto4()
194 Uint8 *src = info->s_pixels; in BlitBto1Key()
[all …]
DSDL_RLEaccel.c454 Uint8 *src = from; \
455 Uint8 *dst = to; \
490 dst[0] = (Uint8)(d >> 16); \
491 dst[1] = (Uint8)(d >> 8); \
492 dst[2] = (Uint8)(d); \
494 dst[0] = (Uint8)d; \
495 dst[1] = (Uint8)(d >> 8); \
496 dst[2] = (Uint8)(d >> 16); \
627 case 1: blitter(1, Uint8, OPAQUE_BLIT); break; \
628 case 2: blitter(2, Uint8, OPAQUE_BLIT); break; \
[all …]
DSDL_pixels.c313 Uint8 SDL_FindColor(SDL_Palette *pal, Uint8 r, Uint8 g, Uint8 b) in SDL_FindColor()
320 Uint8 pixel=0; in SDL_FindColor()
342 const Uint8 r, const Uint8 g, const Uint8 b) in SDL_MapRGB()
357 const Uint8 r, const Uint8 g, const Uint8 b, const Uint8 a) in SDL_MapRGBA()
370 Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) in SDL_GetRGBA()
404 Uint8 *r,Uint8 *g,Uint8 *b) in SDL_GetRGB()
436 static Uint8 *Map1to1(SDL_Palette *src, SDL_Palette *dst, int *identical) in Map1to1()
438 Uint8 *map; in Map1to1()
452 map = (Uint8 *)SDL_malloc(src->ncolors); in Map1to1()
464 static Uint8 *Map1toN(SDL_PixelFormat *src, SDL_PixelFormat *dst) in Map1toN()
[all …]
DSDL_cursor.c108 SDL_Cursor * SDL_CreateCursor (Uint8 *data, Uint8 *mask, in SDL_CreateCursor()
138 cursor->data = (Uint8 *)SDL_malloc((w/8)*h*2); in SDL_CreateCursor()
140 cursor->save[0] = (Uint8 *)SDL_malloc(savelen*2); in SDL_CreateCursor()
341 static Uint8 pixels8[2];
375 Uint8 *data, datab; in SDL_DrawCursorFast()
376 Uint8 *mask, maskb; in SDL_DrawCursorFast()
383 Uint8 *dst; in SDL_DrawCursorFast()
387 pixels8[0] = (Uint8)SDL_MapRGB(screen->format, 255, 255, 255); in SDL_DrawCursorFast()
388 pixels8[1] = (Uint8)SDL_MapRGB(screen->format, 0, 0, 0); in SDL_DrawCursorFast()
391 dst = (Uint8 *)screen->pixels + in SDL_DrawCursorFast()
[all …]
DSDL_blit_1.c37 Uint8 *src, *map, *dst; in Blit1to1()
83 Uint8 *src, *dst; in Blit1to2()
193 Uint8 *src, *map, *dst; in Blit1to3()
237 Uint8 *src; in Blit1to4()
280 Uint8 *src = info->s_pixels; in Blit1to1Key()
282 Uint8 *dst = info->d_pixels; in Blit1to1Key()
284 Uint8 *palmap = info->table; in Blit1to1Key()
322 Uint8 *src = info->s_pixels; in Blit1to2Key()
351 Uint8 *src = info->s_pixels; in Blit1to3Key()
353 Uint8 *dst = info->d_pixels; in Blit1to3Key()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/joystick/
DSDL_joystick_c.h28 extern Uint8 SDL_numjoysticks;
32 Uint8 axis, Sint16 value);
34 Uint8 ball, Sint16 xrel, Sint16 yrel);
36 Uint8 hat, Uint8 value);
38 Uint8 button, Uint8 state);
DSDL_joystick.c39 Uint8 SDL_numjoysticks = 0;
133 joystick->hats = (Uint8 *)SDL_malloc in SDL_JoystickOpen()
134 (joystick->nhats*sizeof(Uint8)); in SDL_JoystickOpen()
141 joystick->buttons = (Uint8 *)SDL_malloc in SDL_JoystickOpen()
142 (joystick->nbuttons*sizeof(Uint8)); in SDL_JoystickOpen()
159 joystick->nhats*sizeof(Uint8)); in SDL_JoystickOpen()
167 joystick->nbuttons*sizeof(Uint8)); in SDL_JoystickOpen()
190 if ( SDL_joysticks[i]->index == (Uint8)device_index ) { in SDL_JoystickOpened()
288 Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat) in SDL_JoystickGetHat()
290 Uint8 state; in SDL_JoystickGetHat()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_events_c.h52 extern Uint8 SDL_ProcessEvents[SDL_NUMEVENTS];
57 extern int SDL_PrivateAppActive(Uint8 gain, Uint8 state);
58 extern int SDL_PrivateMouseMotion(Uint8 buttonstate, int relative,
60 extern int SDL_PrivateMouseButton(Uint8 state, Uint8 button,Sint16 x,Sint16 y);
61 extern int SDL_PrivateKeyboard(Uint8 state, SDL_keysym *key);
DSDL_active.c31 static Uint8 SDL_appstate = 0;
46 Uint8 SDL_GetAppState(void) in SDL_GetAppState()
52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state) in SDL_PrivateAppActive()
55 Uint8 new_state; in SDL_PrivateAppActive()
DSDL_mouse.c39 static Uint8 SDL_ButtonState = 0;
64 Uint8 i; in SDL_ResetMouse()
72 Uint8 SDL_GetMouseState (int *x, int *y) in SDL_GetMouseState()
83 Uint8 SDL_GetRelativeMouseState (int *x, int *y) in SDL_GetRelativeMouseState()
113 int SDL_PrivateMouseMotion(Uint8 buttonstate, int relative, Sint16 x, Sint16 y) in SDL_PrivateMouseMotion()
197 int SDL_PrivateMouseButton(Uint8 state, Uint8 button, Sint16 x, Sint16 y) in SDL_PrivateMouseButton()
202 Uint8 buttonstate; in SDL_PrivateMouseButton()
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
DSDL_sysmouse.c47 Uint8 *ands;
48 Uint8 *xors;
78 static void memnot(Uint8 *dst, Uint8 *src, int len) in memnot()
83 static void memxor(Uint8 *dst, Uint8 *src1, Uint8 *src2, int len) in memxor()
106 Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y) in WIN_CreateWMCursor()
122 Uint8 *aptr, *xptr; in WIN_CreateWMCursor()
146 aptr = cursor->ands = (Uint8 *)SDL_malloc((run+pad)*allowed_y); in WIN_CreateWMCursor()
147 xptr = cursor->xors = (Uint8 *)SDL_malloc((run+pad)*allowed_y); in WIN_CreateWMCursor()
DSDL_syswm.c50 void WIN_SetWMIcon(_THIS, SDL_Surface *icon, Uint8 *mask) in WIN_SetWMIcon()
57 Uint8 *pdata, *pwin32; in WIN_SetWMIcon()
58 Uint8 *mdata, *mwin32, m = 0; in WIN_SetWMIcon()
80 Uint8 rgbBlue; in WIN_SetWMIcon()
81 Uint8 rgbGreen; in WIN_SetWMIcon()
82 Uint8 rgbRed; in WIN_SetWMIcon()
83 Uint8 rgbReserved; in WIN_SetWMIcon()
99 icon_win32 = (struct Win32Icon *)SDL_stack_alloc(Uint8, icon_len); in WIN_SetWMIcon()
123 Uint8 black; in WIN_SetWMIcon()
165 pdata = (Uint8 *)icon_256->pixels; in WIN_SetWMIcon()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ataric2p_s.h34 Uint8 *src, /* Source screen (one byte=one pixel) */
35 Uint8 *dest, /* Destination (4/8 bits planes) */
48 Uint8 *src, /* Source screen (one byte=one pixel) */
49 Uint8 *dest, /* Destination (8 bits planes) */
62 Uint8 *src, /* Source screen (one byte=one pixel) */
63 Uint8 *dest, /* Destination (4 bits planes) */
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
DSDL_ps3yuv.c65 Uint8 * planes[3];
70 Uint8 * scaler_out __attribute__((aligned(128)));
78 Uint8 locked;
165 hwdata->pixels = (Uint8 *) memalign(16, width * height + ((width * height) >> 1)); in PS3_CreateYUVOverlay()
181 overlay->pixels[0] = (Uint8 *)hwdata->pixels; in PS3_CreateYUVOverlay()
223 Uint8 *lum, *Cr, *Cb; in PS3_DisplayYUVOverlay()
242 lum = (Uint8 *)overlay->pixels[0]; in PS3_DisplayYUVOverlay()
243 Cr = (Uint8 *)overlay->pixels[1]; in PS3_DisplayYUVOverlay()
244 Cb = (Uint8 *)overlay->pixels[2]; in PS3_DisplayYUVOverlay()
247 lum = (Uint8 *)overlay->pixels[0]; in PS3_DisplayYUVOverlay()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
DSDL_wsconsvideo.h43 typedef void WSCONS_bitBlit(Uint8 *src_pos,
46 Uint8 *dst_pos,
57 Uint8 *fbstart; /* These refer to the surface used, */
61 Uint8 *physmem;
62 Uint8 *shadowmem;
/external/chromium/net/http/
Dmd4.cc53 typedef uint8 Uint8; typedef
77 static void w2b(Uint8 *out, const Uint32 *in, Uint32 len) in w2b()
79 Uint8 *bp; const Uint32 *wp, *wpend; in w2b()
87 bp[0] = (Uint8) ((*wp ) & 0xFF); in w2b()
88 bp[1] = (Uint8) ((*wp >> 8) & 0xFF); in w2b()
89 bp[2] = (Uint8) ((*wp >> 16) & 0xFF); in w2b()
90 bp[3] = (Uint8) ((*wp >> 24) & 0xFF); in w2b()
95 static void b2w(Uint32 *out, const Uint8 *in, Uint32 len) in b2w()
97 Uint32 *wp; const Uint8 *bp, *bpend; in b2w()
113 static void md4step(Uint32 state[4], const Uint8 *data) in md4step()
[all …]
/external/qemu/distrib/sdl-1.2.15/test/
Dtestbitmap.c18 SDL_Surface *LoadXBM(SDL_Surface *screen, int w, int h, Uint8 *bits) in LoadXBM()
21 Uint8 *line; in LoadXBM()
32 line = (Uint8 *)bitmap->pixels; in LoadXBM()
37 { int i, j; Uint8 *buf, byte; in LoadXBM()
57 Uint8 video_bpp; in main()
59 Uint8 *buffer; in main()
64 Uint8 gradient; in main()
121 buffer=(Uint8 *)screen->pixels; in main()
146 (Uint8 *)picture_bits); in main()
Dtestcursor.c60 Uint8 small_cursor_data[11] = { 0x00, 0x18, 0x08, 0x38, 0x44, 0x54, 0x44, 0x38, 0x20, 0x20, 0x00 };
61 Uint8 small_cursor_mask[11] = { 0x3C, 0x3C, 0x3C, 0x7C, 0xC6, 0xC6, 0xC6, 0x7C, 0x78, 0x70, 0x70 };
110 Uint8 data[4*32]; in create_arrow_cursor()
111 Uint8 mask[4*32]; in create_arrow_cursor()
163 cursor[0] = SDL_CreateCursor((Uint8 *)cursor_data, (Uint8 *)cursor_mask, in main()
Dthreadwin.c24 SDL_Surface *LoadIconSurface(char *file, Uint8 **maskp) in LoadIconSurface()
27 Uint8 *pixels; in LoadIconSurface()
28 Uint8 *mask; in LoadIconSurface()
53 SDL_SetColorKey(icon, SDL_SRCCOLORKEY, *((Uint8 *)icon->pixels)); in LoadIconSurface()
56 pixels = (Uint8 *)icon->pixels; in LoadIconSurface()
62 mask = (Uint8 *)malloc(mlen/8); in LoadIconSurface()
227 Uint8 *icon_mask; in main()
229 Uint8 *buffer; in main()
232 Uint8 video_bpp; in main()
314 buffer = (Uint8 *)screen->pixels; in main()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_wave.c33 Uint8 hPredictor;
49 Uint8 *rogue_feel; in InitMS_ADPCM()
60 rogue_feel = (Uint8 *)format+sizeof(*format); in InitMS_ADPCM()
82 Uint8 nybble, Sint16 *coeff) in MS_ADPCM_nibble()
115 static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in MS_ADPCM_decode()
118 Uint8 *freeable, *encoded, *decoded; in MS_ADPCM_decode()
131 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in MS_ADPCM_decode()
227 Uint8 *rogue_feel; in InitIMA_ADPCM()
237 rogue_feel = (Uint8 *)format+sizeof(*format); in InitIMA_ADPCM()
245 static Sint32 IMA_ADPCM_nibble(struct IMA_ADPCM_decodestate *state,Uint8 nybble) in IMA_ADPCM_nibble()
[all …]

12345678