]> git.neil.brown.name Git - history.git/commit
[PATCH] [patch] speed/clean up vicam_decode_color
authorJohn Tyner <jtyner@cs.ucr.edu>
Wed, 27 Nov 2002 01:54:32 +0000 (17:54 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 27 Nov 2002 01:54:32 +0000 (17:54 -0800)
commite107779bbe874f24f311deef59daa6fa933b668d
treebb5bc3e00b56e0a1914a15c1b7ecd51e3d8a8e49
parent51c57aab3c91a78aba165c03b80c8dd52e389d28
[PATCH] [patch] speed/clean up vicam_decode_color

This patch cleans up the vicam_decode_color function by removing
unused/useless variables and combining the two "x" loops inside the
y loop into one. It also reduces the number of times that the "x"
loop occurs from 512 to 320 which should provide a decent speed
increase. It also fixes a bug in the y loop that wrote beyond its bound.
drivers/usb/media/vicam.c