2323namespace avsut ::test {
2424
2525using TextOverlayCompareFunction = void (*)(std::uint32_t , int , const BYTE *, int , const BYTE *, int ,
26- int , int , int &, int &, int &, int &, double &);
26+ int , int , std:: int64_t &, std:: int64_t &, int &, int &, double &);
2727
2828struct TextOverlayCompareCase {
2929 std::string format;
@@ -36,8 +36,8 @@ struct TextOverlayCompareCase {
3636 std::size_t other_pitch{};
3737 std::size_t source_alignment_offset{};
3838 std::size_t other_alignment_offset{};
39- int initial_sad{};
40- int initial_sd{};
39+ std:: int64_t initial_sad{};
40+ std:: int64_t initial_sd{};
4141 int initial_pos{};
4242 int initial_neg{};
4343 double initial_ssd{};
@@ -156,8 +156,8 @@ inline void fill_text_overlay_compare_inputs(const TextOverlayCompareCase& test_
156156}
157157
158158struct TextOverlayCompareMetrics {
159- int sad{};
160- int sd{};
159+ std:: int64_t sad{};
160+ std:: int64_t sd{};
161161 int pos{};
162162 int neg{};
163163 double ssd{};
@@ -199,8 +199,8 @@ inline void run_text_overlay_compare_case(const TextOverlayCompareCase& test_cas
199199 const auto expected =
200200 text_overlay_compare_reference (test_case, source.view ().as_const (), other.view ().as_const ());
201201
202- int actual_sad = test_case.initial_sad ;
203- int actual_sd = test_case.initial_sd ;
202+ std:: int64_t actual_sad = test_case.initial_sad ;
203+ std:: int64_t actual_sd = test_case.initial_sd ;
204204 int actual_pos = test_case.initial_pos ;
205205 int actual_neg = test_case.initial_neg ;
206206 double actual_ssd = test_case.initial_ssd ;
0 commit comments