Motion - Rotate Simplification Patch

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

  • 1.0 Initial revision

Discussion and Comments


Implemented.

-- KennethLavrsen - 29 Aug 2005
Topic revision: r4 - 20 Dec 2005, KennethLavrsen
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.