Simplication of the Rotate Feature
Description of Patch
As of Motion 3.2.4 snap1, there is a check that the input image dimensions (both width and height) are evenly divisible with 16 (see
NetcamModulo16Patch). Previously, the rotate feature checked whether this was the case, and if so used an optimised quad-by-quad routine for 180 degrees rotation. Otherwise, it used a char-by-char rotation routine. Since the image dimensions now are guaranteed to be favourable for the optimised routine, there's no reason to keep the other one.
This patch simplifies the rotate feature to always use the optimised quad-by-quad rotation routine.
Installation of Patch
Download the patch file and copy it to the motion source directory. Issue the command:
zcat motion-3.2.4_s1-rotsimp_v1.patch.gz | patch -p1
Then re-build Motion and test the patch.
Change History of Patch
Implemented.
--
KennethLavrsen - 29 Aug 2005