On Saturday 31 January 2009 13:19:39 Ni-62 metal wrote: > Hello > > Please try out the attached patch on top of current master head > (commit a5937769d5cd9dd9f1f46e645f52c373d69bf4f9) > > I tested this on x86_64 seems to help a bit with cpu usage > > making the jpeg header static causes > > CPU-0 CPU-1 LoadAvg-1 min LoadAvg-5 min LoadAvg-15 min > 2.0 3.9-5.8 0.04 0.06 0.06 > > Use of static + likely/unlikely macros causes > > CPU-0 CPU-1 LoadAvg-1 min LoadAvg-5 min LoadAvg-15 min > 2.0 2.8-3.8 0.03 0.03 0.05 > > webcam was pointed at an unchanging scene, the above is the average reading > the 2.0 % usage is from htop process, the other readings were ~0.0% if > webcam was not being used. > > # insmod sn9c20x.ko jpeg=1 > $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv > driver=v4l2:width=640:height=480:fps=30:device=/dev/video0 -vo x11 > Mplayer was the same "old" version MPlayer 1.0rc2-4.3.2 > libv4l-0 was v0.5.8-1~intrepidppa1 > > feedback is MANDATORY ^_^ > > Neekhil > > PS: Can we standardize on a single method of measuring webcam FPS > during capture ?
Nope, no go, I'm using bulk transfer, and this patch will result in performance regression for bulk transfers --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
