aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-11-27 20:40:22 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:42:19 -0500
commit8573b74af25c279de3e309beddcba984bee9ec15 (patch)
tree62635afe2df0727b5eed544f43d9e6b5c2aabdcb /include/media
parentef53a1159dfcdc1fecf5adb5b8d26803f194c09b (diff)
V4L/DVB (13533): ir: use dynamic tables, instead of static ones
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ir-common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h
index 805f1e09770f..262347b61506 100644
--- a/include/media/ir-common.h
+++ b/include/media/ir-common.h
@@ -62,8 +62,7 @@ struct ir_input_state {
62 IR_KEYTAB_TYPE ir_codes[IR_KEYTAB_SIZE]; 62 IR_KEYTAB_TYPE ir_codes[IR_KEYTAB_SIZE];
63 63
64 /* key info */ 64 /* key info */
65 u32 ir_raw; /* raw data */ 65 u32 ir_key; /* ir scancode */
66 u32 ir_key; /* ir key code */
67 u32 keycode; /* linux key code */ 66 u32 keycode; /* linux key code */
68 int keypressed; /* current state */ 67 int keypressed; /* current state */
69}; 68};
@@ -112,7 +111,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir,
112 int ir_type, struct ir_scancode_table *ir_codes); 111 int ir_type, struct ir_scancode_table *ir_codes);
113void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir); 112void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir);
114void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, 113void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
115 u32 ir_key, u32 ir_raw); 114 u32 ir_key);
116u32 ir_extract_bits(u32 data, u32 mask); 115u32 ir_extract_bits(u32 data, u32 mask);
117int ir_dump_samples(u32 *samples, int count); 116int ir_dump_samples(u32 *samples, int count);
118int ir_decode_biphase(u32 *samples, int count, int low, int high); 117int ir_decode_biphase(u32 *samples, int count, int low, int high);