[x265] [PATCH] change data type in satd_4x4 for psyCost_ss

Divya Manivannan divya at multicorewareinc.com
Fri Jan 9 08:39:55 CET 2015


# HG changeset patch
# User Divya Manivannan <divya at multicorewareinc.com>
# Date 1420789179 -19800
#      Fri Jan 09 13:09:39 2015 +0530
# Node ID c99e1a309bd1690be9a0a407050d97d95ccab05a
# Parent  1924c460d1304d9ce775f35864712dd98f758f9f
change data type in satd_4x4 for psyCost_ss

diff -r 1924c460d130 -r c99e1a309bd1 source/common/pixel.cpp
--- a/source/common/pixel.cpp	Fri Jan 09 11:35:26 2015 +0530
+++ b/source/common/pixel.cpp	Fri Jan 09 13:09:39 2015 +0530
@@ -243,9 +243,9 @@
 
 static int satd_4x4(const int16_t* pix1, intptr_t stride_pix1)
 {
-    int64_t tmp[4][4];
-    int64_t s01, s23, d01, d23;
-    int64_t satd = 0;
+    int32_t tmp[4][4];
+    int32_t s01, s23, d01, d23;
+    int32_t satd = 0;
     int d;
 
     for (d = 0; d < 4; d++, pix1 += stride_pix1)


More information about the x265-devel mailing list