The recently introduced rgb_diff_stat value dumping feature logs the "position" where the value or error was measured. The reference value was used as the position, but the problem with the reference value is that it is an output value and not an input value. Therefore mapping that back to which input values promoted the error is not easy. Fix that problem by passing the position explicitly into rgb_diff_stat_update(), just like it is already passed in to scalar_stat_update(). Currently the only user simply passes the reference value as position, because there the input value is also the reference value. This is not true for future uses of rgb_diff_stat. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
parent
912ea2cb20
commit
3f60542405
Loading…
Reference in new issue