repo.or.cz
/
fbff.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fbff: exit only if there's no more video frames
[fbff.git]
/
draw.h
blob
dc978a9d54d55ff77da7a1477127333a4a59e07b
1
#define MIN(a, b) ((a) < (b) ? (a) : (b))
2
#define MAX(a, b) ((a) > (b) ? (a) : (b))
3
4
void
fb_init
(
void
);
5
void
fb_free
(
void
);
6
fbval_t
fb_color
(
unsigned char
r
,
unsigned char
g
,
unsigned char
b
);
7
void
fb_set
(
int
r
,
int
c
,
fbval_t
*
mem
,
int
len
);
8
int
fb_rows
(
void
);
9
int
fb_cols
(
void
);
10
void
fb_cmap
(
void
);