[FFmpeg-devel] [PATCH 2/3] avcodec/xbmenc: xbm Lower memory use

Jose Da Silva digital at joescat.com
Tue Jan 19 07:43:05 EET 2021


Two minor memory improvements.

First bug reduces memory needed to about 6/7 the needed amount, which 
allows you to host almost 7 pictures in the same memory needed for 6
Second is a recalculation of the total additional memory for headers etc.

size = avctx->height x (linesize * 6 + 1) + (31+32+38+4+1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-xbmenc-xbm-Lower-memory-use.patch
Type: text/x-patch
Size: 1496 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210118/991cc6f0/attachment.bin>


More information about the ffmpeg-devel mailing list