Pierre Ossman
3a1c46ff75
Explicitly mark unused parameters
This allows us to separate accidentally unused, from explicitly unused
parameters, which allows us to turn on such checks in the compiler.
1 year ago
Pierre Ossman
b6d6db9b7c
Be consistent in including config.h
The generally recommended way is to include it from source files, not
headers. We had a mix of both. Let's try to be consistent and follow the
recommended way.
2 years ago
Pierre Ossman
94de4dd0c4
Split test programs to benchmarking and unit tests
They have very different purpose, so make things easier to work
with by having multiple directories.
4 years ago
Pierre Ossman
e6810fa3e5
Fix calculation of conversion test target values
Bit shifting gives an approximate, but not properly accurate value
when upconverting. Do a proper calculation.
6 years ago
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
9 years ago
Pierre Ossman
86a01b0052
Make sure stride handling is also tested
9 years ago
Pierre Ossman
387bf9b386
Use constants for the test buffer dimensions
9 years ago
Pierre Ossman
41deb88359
Add pixel conversion correctness test
9 years ago