V4L/DVB: ir-core: Add logic to decode IR protocols at the IR core
Adds a method to pass IR raw pulse/code events into ir-core. This is
needed in order to support LIRC. It also helps to move common code
from the drivers into the core.
In order to allow testing, it implements a simple NEC protocol decoder
at ir-nec-decoder.c file. The logic is about the same used at saa7134
driver that handles Avermedia M135A and Encore FM53 boards.
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
drivers/media/IR/ir-nec-decoder.c
0 → 100644
drivers/media/IR/ir-raw-event.c
0 → 100644
想要评论请 注册 或 登录