[vlc-devel] [PATCH] specify initial MJPEG frame size estimate on the command line
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 30 17:14:42 CEST 2013
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.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list