This allows changing the default amount and max amount of memory allocated per stream, basically use modinfo ivtv to find out the new options, but have this syntax... mpg_buffers=4 (4 megs default) max_mpg_buffers=16 (16 megs max memory allocated). So with that the driver would allocated 4 megs immediately (upon stream start, or module load if ivtv_dynbuf=0), and allocated up to 16 megs if needed. Also right now the allocated buffers are 32k by default (using dynamic buffers) or if using newer firmware, else if static buffers and older more stable firmware, then they are 128k (this is the most stable size). Also we now steal buffers for encoding when memory isn't able to be allocated for more buffers, so as not to cause encoding problems past the point of buffers being short in supply, otherwise the encoder can get odd results if we don't empty it out.

So now you can tune the buffers alot easier, and maybe better settings can be derived, or those with custom needs can do that, like if needing alot more default encoder memory allocated since a machine may be heavily used and need more buffers reserved.

#0.3.6r: http://www.ivtv.tv/releases/ivtv-0.3/

Thanks,
Chris

--
===
Chris Kennedy
[EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to