aom/aom_scale
Urvang Joshi b42827f650 Rewrite some loops to avoid -Wunsafe-loop-optimizations warnings.
For example, loops of the form:
"for (i = 0; i < 1 + max_value; ++i) ..." or
"for (i = 0; i <= max_value; ++i) ..." are possibly infinite loops,
theoretically speaking (even if practically, they aren't).
So, compiler cannot optimize those loops.

When possible, I rewrote such loops to be finite even theoretically.

Cherry-picked from aomedia/master: 4e69284

Change-Id: Ied47a24833b689c0ec011f8645cf1c01856f7c59
2016-10-20 15:53:11 -07:00
..
generic Rewrite some loops to avoid -Wunsafe-loop-optimizations warnings. 2016-10-20 15:53:11 -07:00
mips/dspr2 Change to use aom copyright notice 2016-09-02 08:22:07 -07:00
aom_scale.h Change to use aom copyright notice 2016-09-02 08:22:07 -07:00
aom_scale.mk Port renaming changes from AOMedia 2016-08-31 18:19:03 -07:00
aom_scale_rtcd.c Change to use aom copyright notice 2016-09-02 08:22:07 -07:00
aom_scale_rtcd.pl Port renaming changes from AOMedia 2016-08-31 18:19:03 -07:00
yv12config.h Rename AOM_ENC/DEC_BORDER_IN_PIXELS 2016-09-30 15:17:16 -07:00