annotate osdep/getch2.h @ 11118:344052fdfc4a
Fix colorkey for xvidix, tested on Riva128 4MB X@15/16/24bpp (aka 15/15/32 in nvidia_vid)
This is very cool, using mplayer -vo xvidix -ao oss -framedrop -dr movie.avi I can play
640x272 DivX 1MBps on PII 233, 64MB, i440LX, Riva128 4MB AGP, FreeBSD 5.0, XFree 4.2.0,
with little framedrop,
author |
atmos4 |
date |
Tue, 14 Oct 2003 21:29:25 +0000 |
parents |
edfe34c5405d |
children |
11459d1ff17c |
rev |
line source |
1
|
1 /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */
|
|
2 /* a very small replacement of ncurses library */
|
|
3
|
|
4 /* Screen size. Initialized by load_termcap() and get_screen_size() */
|
|
5 extern int screen_width;
|
|
6 extern int screen_height;
|
|
7
|
|
8 /* Get screen-size using IOCTL call. */
|
|
9 extern void get_screen_size();
|
|
10
|
|
11 /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */
|
|
12 extern int load_termcap(char *termtype);
|
|
13
|
|
14 /* Enable and disable STDIN line-buffering */
|
|
15 extern void getch2_enable();
|
|
16 extern void getch2_disable();
|
|
17
|
|
18 /* Read a character or a special key code (see keycodes.h) */
|
|
19 extern int getch2(int halfdelay_time);
|
|
20
|