diff options
author | Jose Da Silva <digital@joescat.com> | 2021-01-18 21:43:05 -0800 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-28 15:50:25 +0100 |
commit | cb70e1921aeda4df11ad77ee550e7bdcdca2b834 (patch) | |
tree | 7efd919311210a7ed7a29e9d49b2c994a635f1fa /libswscale/tests/colorspace.c | |
parent | 41b8fd3a16a0c8f2de71a5338fb4f086bd857124 (diff) | |
download | ffmpeg-cb70e1921aeda4df11ad77ee550e7bdcdca2b834.tar.gz |
avcodec/xbmenc: xbm Lower memory use
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)
Subject: [PATCH 2/3] avcodec/xbmenc: xbm Lower memory use
Small 6/7th size memory reduction.
size = avctx->height x (linesize * 6 + 1) + (31+32+38+4+1)
Signed-off-by: Joe Da Silva <digital@joescat.com>
Diffstat (limited to 'libswscale/tests/colorspace.c')
0 files changed, 0 insertions, 0 deletions