]> granicus.if.org Git - libass/commit
Improve rotation cache accuracy
authorGrigori Goronzy <greg@blackbox>
Wed, 6 Jan 2010 22:51:01 +0000 (23:51 +0100)
committerGrigori Goronzy <greg@blackbox>
Thu, 7 Jan 2010 08:05:15 +0000 (09:05 +0100)
commit7df7db97fdda2ea6f8617882cd5202575f44bfc5
tree3323a1dd5e68c0be86bfdfb00d79ba4f6c8173b6
parent29fd817f4678ea7f674c7252ec84e87f4302c06a
Improve rotation cache accuracy

In some cases 16.16 precision is not good enough. Instead use 10.22 and
use modulo 360.0 on the angles to make overflows impossible and improve
cache hit ratio sometimes.
libass/ass_render.c
libass/ass_utils.h