aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-04 09:27:20 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:56:56 -0400
commitdb1423a6c79f66db2b1846614c13bde9c2db7ad2 (patch)
treee5d785694f2ee18deabb59267b19e160b0a96b50 /include/media
parent67780d6a2347d03b640f22295f8df7f00fbc829f (diff)
V4L-DVB: ir-rc5-decoder: Add a decoder for RC-5 IR protocol
This decoder is also based on a state machine, just like the NEC protocol decoder. It is pedantic in the sense that accepts only 14 bits. As there are some variants that outputs less bits, it needs to be improved to also handle those. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ir-core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index b452a478c12c..40900739cb84 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -178,4 +178,11 @@ void ir_raw_init(void);
178#define load_nec_decode() 0 178#define load_nec_decode() 0
179#endif 179#endif
180 180
181/* from ir-rc5-decoder.c */
182#ifdef CONFIG_IR_RC5_DECODER_MODULE
183#define load_rc5_decode() request_module("ir-rc5-decoder")
184#else
185#define load_rc5_decode() 0
186#endif
187
181#endif /* _IR_CORE */ 188#endif /* _IR_CORE */