This looks OK for HEAD and 150Cay.
--greg.



Alberto Meza wrote:
Modified by:[EMAIL PROTECTED]
Reviewed by:
Date:05/02/2005
Project:Helix Symbian Player

Synopsis:
Change SymInt64 to INT64 for all symbian versions

Overview:
Since, it's not needed to use SymInt64 directly for Symbian version < 8.
It's possible change SymInt64 to INT64 to standardize for all symbian
versions.


Modified Files: fixptutil/pub/math64.h

Image Size and Heap Use impact: None
Platforms and Profiles Affected: symbian-80-thumb, symbian-81-thumb,
helix-client-s60-advanced
Platforms and Profiles Build Verified: symbian-80-thumb, symbian-81-thumb,
helix-client-s60-advanced
Branches: HEad and 150Cay



Index: fixptutil/pub/math64.h
===================================================================
RCS file: /cvsroot/audio/fixptutil/pub/math64.h,v
retrieving revision 1.26
diff -u -w -r1.26 math64.h
--- fixptutil/pub/math64.h      21 Jan 2005 16:12:52 -0000      1.26
+++ fixptutil/pub/math64.h      29 Apr 2005 23:46:38 -0000
@@ -568,41 +568,41 @@
 /* Compute (a * b) >> 32, using 64-bit intermediate result */
 static __inline__ int MulShift32(int x, int y)
 {
-    SymInt64 a = x;
-    SymInt64 b = y;
+    INT64 a = x;
+    INT64 b = y;
     a *= b;
     a >>= 32;
-    return a.Low();
+    return INT64_TO_INT32(a);
 }

 /* Compute (a * b) >> 31, using 64-bit intermediate result */
 static __inline__ int MulShift31(int x, int y)
 {
-    SymInt64 a = x;
-    SymInt64 b = y;
+    INT64 a = x;
+    INT64 b = y;
     a *= b;
     a >>= 31;
-    return a.Low();
+    return INT64_TO_INT32(a);
 }

 /* Compute (a * b) >> 30, using 64-bit intermediate result */
 static __inline__ int MulShift30(int x, int y)
 {
-    SymInt64 a = x;
-    SymInt64 b = y;
+    INT64 a = x;
+    INT64 b = y;
     a *= b;
     a >>= 30;
-    return a.Low();
+    return INT64_TO_INT32(a);
 }

 /* Compute (a * b) >> n, using 64-bit intermediate result */
 static __inline__ int MulShiftN(int x, int y, int n)
 {
-    SymInt64 a = x;
-    SymInt64 b = y;
+    INT64 a = x;
+    INT64 b = y;
     a *= b;
     a >>= n;
-    return a.Low();
+    return INT64_TO_INT32(a);
 }

 #define HAVE_FASTABS


_______________________________________________ Audio-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/audio-dev


_______________________________________________ Audio-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to