patches/opencv-05-static.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2630 76008ae2dbc0
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2630
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
--- OpenCV-2.1.0.orig/src/cxcore/cxdxt.cpp	2010-04-05 21:24:44.000000000 -0400
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
+++ OpenCV-2.1.0/src/cxcore/cxdxt.cpp	2010-05-13 01:25:31.114860092 -0400
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
@@ -455,53 +455,53 @@
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
 #endif
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
 #ifdef HAVE_IPP
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
-static void ippsDFTFwd_CToC( const Complex<float>* src, Complex<float>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
+static inline void ippsDFTFwd_CToC( const Complex<float>* src, Complex<float>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
                              const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
     ippsDFTFwd_CToC_32fc( (const Ipp32fc*)src, (Ipp32fc*)dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
                           (const IppsDFTSpec_C_32fc*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15
-static void ippsDFTFwd_CToC( const Complex<double>* src, Complex<double>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    16
+static inline void ippsDFTFwd_CToC( const Complex<double>* src, Complex<double>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    17
                              const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    18
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    19
     ippsDFTFwd_CToC_64fc( (const Ipp64fc*)src, (Ipp64fc*)dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    20
                           (const IppsDFTSpec_C_64fc*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    21
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    22
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    23
-static void ippsDFTInv_CToC( const Complex<float>* src, Complex<float>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    24
+static inline void ippsDFTInv_CToC( const Complex<float>* src, Complex<float>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    25
                              const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    26
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    27
     ippsDFTInv_CToC_32fc( (const Ipp32fc*)src, (Ipp32fc*)dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    28
                           (const IppsDFTSpec_C_32fc*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    29
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    30
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    31
-static void ippsDFTInv_CToC( const Complex<double>* src, Complex<double>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    32
+static inline void ippsDFTInv_CToC( const Complex<double>* src, Complex<double>* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    33
                              const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    34
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    35
     ippsDFTInv_CToC_64fc( (const Ipp64fc*)src, (Ipp64fc*)dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    36
                           (const IppsDFTSpec_C_64fc*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    37
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    38
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    39
-static void ippsDFTFwd_RToPack( const float* src, float* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    40
+static inline void ippsDFTFwd_RToPack( const float* src, float* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    41
                                 const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    42
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    43
     ippsDFTFwd_RToPack_32f( src, dst, (const IppsDFTSpec_R_32f*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    44
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    45
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    46
-static void ippsDFTFwd_RToPack( const double* src, double* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    47
+static inline void ippsDFTFwd_RToPack( const double* src, double* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    48
                                 const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    49
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    50
     ippsDFTFwd_RToPack_64f( src, dst, (const IppsDFTSpec_R_64f*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    51
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    52
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    53
-static void ippsDFTInv_PackToR( const float* src, float* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    54
+static inline void ippsDFTInv_PackToR( const float* src, float* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    55
                                 const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    56
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    57
     ippsDFTInv_PackToR_32f( src, dst, (const IppsDFTSpec_R_32f*)spec, buf); 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    58
 }
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    59
 
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    60
-static void ippsDFTInv_PackToR( const double* src, double* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    61
+static inline void ippsDFTInv_PackToR( const double* src, double* dst,
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    62
                                 const void* spec, uchar* buf)
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    63
 {
76008ae2dbc0 2010-05-13 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    64
     ippsDFTInv_PackToR_64f( src, dst, (const IppsDFTSpec_R_64f*)spec, buf);