diff options
author | Dr.Smile <vabnick@gmail.com> | 2018-12-02 23:26:08 +0300 |
---|---|---|
committer | Dr.Smile <vabnick@gmail.com> | 2019-05-20 01:09:11 +0300 |
commit | 4c45b6f79fcdd82b30ecc55df6572776a051d363 (patch) | |
tree | 280b64289a6c8fd8b6e79976318de6d3dd7b97b3 /libass/ass.c | |
parent | 891ada89c9cb91c468ea6e829ed9760d11cabf85 (diff) | |
download | libass-4c45b6f79fcdd82b30ecc55df6572776a051d363.tar.bz2 libass-4c45b6f79fcdd82b30ecc55df6572776a051d363.tar.xz |
renderer: synchronize glyph motion to help composite cache
Slow movement of one glyph looks like periodic jumps by quantization step.
In case of multiple glyphs at different subpixel shifts
jumps of individual glyphs occur at different frames.
That leads to performance penalty due to composite image
regeneration at every such jump.
This commit aligns glyphs in such a way that all jumps coincide
at the same frames, greatly improving performance of \move commands.
That optimization also helps in case of fast motion.
Diffstat (limited to 'libass/ass.c')
0 files changed, 0 insertions, 0 deletions