Ari Koivula
|
69d1f6d1e2
|
Clean up the code.
- Rename get_block_sad to calc_sad and handle special cases in general_sad.
- Remove old search functions because I don't want to update or test them.
|
2013-10-11 15:19:21 +03:00 |
|
Ari Koivula
|
b155d825be
|
Add tests for movement vectors that are completely out of frame.
|
2013-10-11 14:11:49 +03:00 |
|
Ari Koivula
|
22262dbc98
|
Fix a bug in a test.
|
2013-10-11 12:38:14 +03:00 |
|
Ari Koivula
|
d3561146d8
|
Change sad-tests to use chars instead of numbers to help with debugging.
1 + 48 is ascii '1' and so on.
|
2013-10-10 21:50:41 +03:00 |
|
Ari Koivula
|
356a0e8a14
|
Change SAD-test offset.
Using 3 instead of 4 avoids having symmetric negation of the offset, like
-4 and +4. It also makes the expected result easier to calculate by hand.
|
2013-10-10 15:16:14 +03:00 |
|
Ari Koivula
|
24d9fd7c05
|
Fix wrong index in sad tests.
|
2013-10-10 14:04:19 +03:00 |
|
Ari Koivula
|
68aa70a49a
|
Add tests for calculating sad outside frame.
|
2013-10-09 15:31:27 +03:00 |
|