linux/drivers/media/IR
Mauro Carvalho Chehab 2f16f6315f V4L/DVB: ir-nec-decoder: Reimplement the entire decoder
Thanks to Andy Walls <awalls@md.metrocast.net> for pointing me his
code, that gave me some ideas to better implement it.

After some work with saa7134 bits, I found a way to catch both IRQ
edge pulses. By enabling it, the NEC decoder can now take both
pulse and spaces into account, making it more precise.

Instead of the old strategy of handling the events all at once,
this code implements a state machine. Due to that, it handles
individual pulse or space events, validating them against the
protocol, producing a much more reliable decoding.

With the new implementation, the protocol trailer bits are properly
handled, making possible for the repeat key to work.

Also, the code is now capable of handling both NEC and NEC extended
IR devices. With NEC, it produces a 16 bits code, while with NEC
extended, a 24 bits code is returned.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:56:55 -03:00
..
keymaps V4L/DVB: Break Remote Controller keymaps into modules 2010-05-19 12:56:49 -03:00
ir-functions.c V4L/DVB (13680): ir: use unsigned long instead of enum 2010-02-26 15:10:24 -03:00
ir-keytable.c V4L/DVB: ir-core: improve keyup/keydown logic 2010-05-19 12:56:54 -03:00
ir-nec-decoder.c V4L/DVB: ir-nec-decoder: Reimplement the entire decoder 2010-05-19 12:56:55 -03:00
ir-raw-event.c V4L/DVB: ir-core: improve keyup/keydown logic 2010-05-19 12:56:54 -03:00
ir-sysfs.c V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00
Kconfig V4L/DVB: Break Remote Controller keymaps into modules 2010-05-19 12:56:49 -03:00
Makefile V4L/DVB: ir-common: remove keymap tables from the module 2010-05-19 12:56:51 -03:00
rc-map.c V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00