]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5832): ir-common: optimize bit extract function
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 11 Jul 2007 23:28:44 +0000 (20:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:24:42 +0000 (14:24 -0300)
commit3948878dd1577a50c791de1a476848fe4e489ab9
tree42da70f931f36b01e3cc8e516eb260212b8a650e
parent0e77263e47c11ba12317d1101fdc1945a87cf875
V4L/DVB (5832): ir-common: optimize bit extract function

New code is simpler, shorter, compiles to about half the size, and is 2
to 4 times faster depending on how many bits in the mask are set.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/ir-functions.c