edesktop.org
>Subject: Re: [Libva] [PATCH v2] test: use valarray for raw image comparison
>
>Ah, I overlooked the data types on my first review. Indeed it's important to
>take it into account when diff'ing. This is why they were being cast to "int"
>previously to calculat
freedesktop.org
> Subject: [Libva] [PATCH v2] test: use valarray for raw image comparison
>
> std::valarray can fuse elementwise operations across arrays for
> more efficient comparison.
>
> Signed-off-by: Scott D Phillips <scott.d.phill...@intel.com>
> ---
> Changes since
std::valarray can fuse elementwise operations across arrays for
more efficient comparison.
Signed-off-by: Scott D Phillips
---
Changes since v1:
- s/width * height/sizes/
- Added another array 'signs' which ensures that 0 and 255 never
compare as separated by one.