]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitd67be61ebe5efaf9c4c11bf168781d678854c966
tree42da70f931f36b01e3cc8e516eb260212b8a650e
parentba2cf98249795f03792d1409a3b6aaa589ea0745
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