[vlc-devel] [PATCH] specify initial MJPEG frame size estimate on the command line
drrobison at openroadsconsulting.com
Tue Jul 30 17:17:23 CEST 2013
An HTML attachment was scrubbed...
-------------- next part --------------
Can these be selected and configured from the command line?
Sent from my Verizon Wireless 4G LTE DROID
Rémi Denis-Courmont <remi at remlab.net> wrote:
Le mardi 30 juillet 2013 07:26:31 David R Robison a écrit :
> I have attached a proposed patch that allows the initial MJPEG frame
> size estimate to be set on the command line. We have some MJPEG cameras
> that send images that are around 140K. By setting the initial size on
> the command line we can reduce the amount of memory reallocation.
> Thanks, David
If the concern is excessive memory copying, use a more aggressive resize
algorithm. Or use a vectorized buffer.
I really don't think this should be exposed as an option.
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.
If you are not the intended recipient, please delete this email immediately.
More information about the vlc-devel