linux/drivers/media/video/saa7134
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
..
Kconfig
Makefile
saa6752hs.c
saa7134-alsa.c V4L/DVB: drivers/media/video: move dereference after NULL test 2010-05-18 00:47:16 -03:00
saa7134-cards.c V4L/DVB: saa7134: fix GPIO HW-404M7 2010-05-19 12:56:43 -03:00
saa7134-core.c V4L/DVB: saa7134: Add support for both positive and negative edge IRQ 2010-05-19 12:56:52 -03:00
saa7134-dvb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-empress.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-i2c.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-input.c V4L/DVB: ir-nec-decoder: Reimplement the entire decoder 2010-05-19 12:56:55 -03:00
saa7134-reg.h V4L/DVB: saa7134: Fix IRQ2 bit names for the register map 2010-05-19 12:56:52 -03:00
saa7134-ts.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-tvaudio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-video.c V4L/DVB: saa7134 can capture 720x480 when capturing NTSC 2010-02-26 15:10:57 -03:00
saa7134.h V4L/DVB: ir-core: Add callbacks for input/evdev open/close on IR core 2010-05-18 00:53:03 -03:00