Re: [Libva] [PATCH v2] test: use valarray for raw image comparison

2016-10-19 Thread Xiang, Haihao
[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 calculate the diff. > >On

Re: [Libva] [PATCH v2] test: use valarray for raw image comparison

2016-10-18 Thread Eoff, Ullysses A
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 calculate the diff. On my system /dev/urandom seems to work (i.e. not all zeros). But I agree, let's drop it since it does