1. 25 4月, 2008 2 次提交
    • A
      V4L/DVB (7541): em28xx: Some fixes to videobuf · d7aa8020
      Aidan Thornton 提交于
      It fixes a couple of minor bugs, comments out a bogus BUG_ON, sets fh->type
      correctly, uses dev->width and dev->height for now, and adds a missing spinlock
      init (nasty - caused a system lockup). It also adds some debug code which
      probably isn't all that useful. I haven't tested this version of the patch yet,
      though, so I'm not sure what you can expect if you try it.
      Signed-off-by: NAidan Thornton <makosoft@googlemail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      d7aa8020
    • M
      V4L/DVB (7540): em28xx: convert to use videobuf-vmalloc · ad0ebb96
      Mauro Carvalho Chehab 提交于
      The usage of videobuf-vmalloc allows to cleanup em28xx logic.
      
      Also, it reduced its size by about 5.42% on i386 arch (and about 7.5% on x86_64):
      
        39113    4876      40   44029    abfd old/em28xx.ko
        36731    4868      40   41639    a2a7 /home/v4l/master/v4l/em28xx.ko
      
      Also, the preliminary tests, made on a single core 1.5 MHz Centrino showed
      that CPU usage reduced from 42%-75% to 28%-33% (reports from "top") command.
      
      A test with time command presented an even better result:
      
      This is the performance tests I did, running code_example to get 1,000 frames
      @29.995 Hz (about 35 seconds of stream), tested on a i386 machine, running at
      1,5GHz:
      
      	The old driver:
      
      $ time -f "%E: %Us User time, %Ss Kernel time, %P CPU used" ./capture_example
      0:34.21: 8.22s User time, 25.16s Kernel time, 97% CPU used
      
      	The videobuf-based driver:
      
      $ time -f "%E: %Us User time, %Ss Kernel time, %P CPU used" ./capture_example
      0:35.36: 0.01s User time, 0.05s Kernel time, 0% CPU used
      
      	Conclusion:
      
      The time consumption to receive the stream where reduced from about 33.38
      seconds to 0.05 seconds.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      ad0ebb96
  2. 18 2月, 2008 3 次提交
  3. 26 1月, 2008 20 次提交
  4. 25 6月, 2006 2 次提交
  5. 07 2月, 2006 3 次提交
  6. 24 1月, 2006 2 次提交
  7. 10 1月, 2006 3 次提交
  8. 19 12月, 2005 1 次提交
  9. 13 12月, 2005 1 次提交
  10. 09 11月, 2005 3 次提交