<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div><div>Can these be selected and configured from the command line?</div><div><br/></div><div><font style="color:#333333"><i>Sent from my Verizon Wireless 4G LTE DROID</i></font></div></div><br><br>Rémi Denis-Courmont <remi@remlab.net> wrote:<br><br>Le mardi 30 juillet 2013 07:26:31 David R Robison a écrit :
<br>> I have attached a proposed patch that allows the initial MJPEG frame
<br>> size estimate to be set on the command line. We have some MJPEG cameras
<br>> that send images that are around 140K. By setting the initial size on
<br>> the command line we can reduce the amount of memory reallocation.
<br>> Thanks, David
<br>
<br>If the concern is excessive memory copying, use a more aggressive resize 
<br>algorithm. Or use a vectorized buffer.
<br>
<br>I really don't think this should be exposed as an option.
<br>
<br>-- 
<br>Rémi Denis-Courmont
<br>http://www.remlab.net/
<br>
<br><BR />
<BR />
<HR />
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.<BR />
If you are not the intended recipient, please delete this email immediately.<BR />
</body>
</html>