annotate input/lirc.h @ 26006:ac00f0e343df

vf_sab mirrors coefficients past the edge of the picture instead of cropping: if (iy<0) iy= -iy; if(iy>=h) iy= h-iy-1; This produces -1,-2,-3... as it goes further past the end of an image, which crashes. Change this to h-1,h-2,h-3.. to avoid the crash. patch by Alexander Strange, astrange ithinksw com
author diego
date Wed, 20 Feb 2008 08:24:26 +0000
parents e9762f29d465
children 4129c8cfa742
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 7883
diff changeset
1 #ifndef LIRC_H
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 7883
diff changeset
2 #define LIRC_H
4432
5105f5da01d6 Added lirc support in input
albeu
parents:
diff changeset
3
5105f5da01d6 Added lirc support in input
albeu
parents:
diff changeset
4 int
5105f5da01d6 Added lirc support in input
albeu
parents:
diff changeset
5 mp_input_lirc_init(void);
5105f5da01d6 Added lirc support in input
albeu
parents:
diff changeset
6
7883
d375383e1a48 rewrote the lirc code to remove the fork
arpi
parents: 4432
diff changeset
7 int
d375383e1a48 rewrote the lirc code to remove the fork
arpi
parents: 4432
diff changeset
8 mp_input_lirc_read(int fd,char* dest, int s);
d375383e1a48 rewrote the lirc code to remove the fork
arpi
parents: 4432
diff changeset
9
4432
5105f5da01d6 Added lirc support in input
albeu
parents:
diff changeset
10 void
7883
d375383e1a48 rewrote the lirc code to remove the fork
arpi
parents: 4432
diff changeset
11 mp_input_lirc_close(int fd);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 7883
diff changeset
12
25554
e9762f29d465 10l: Replace #define with #endif where I really meant to write #endif.
diego
parents: 25553
diff changeset
13 #endif /* LIRC_H */