summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/dsp/lossless_enc.c
diff options
context:
space:
mode:
authorDaniel Ting <danielzting@gmail.com>2020-07-15 15:56:00 -0500
committerDaniel Ting <danielzting@gmail.com>2020-07-16 12:24:57 -0500
commit04ea6ec88dac45679458f8752ddc4c2ae285e103 (patch)
tree1b99e9e59210c44a2398b14fc8bab7bf4fb8197e /thirdparty/libwebp/src/dsp/lossless_enc.c
parent9e34ba48556b71f1f672b5be47d12b0e3f679b86 (diff)
Evenly distribute stretched Nodes in BoxContainer
Add any leftover fractional pixels to an error accumulator. When the accumulator is greater or equal to one, add one pixel to the current Node's size and subtract one from the accumulator. Closes #36522
Diffstat (limited to 'thirdparty/libwebp/src/dsp/lossless_enc.c')
0 files changed, 0 insertions, 0 deletions