Re: [Ekiga-list] ekiga 3 with h.264



It seems that in ptlib, file src/ptlib/common/jidctflt.cxx, line 112 gives this error. But this line should not be compiled on lpia...

Yannick, could you apply the following patch and see if it compiles on lpia? If yes, I will look more for a general ("good") patch later.

Eugen

yannick wrote:
Le lundi 28 juillet 2008 à 19:04 +0530, vinay simha a écrit :
1)is there ekiga 3 for ubuntu gutsy lpia with h.264 binary edition or
sources,
2) IF ekiga 3 is not available for ubuntu gutsy then is there any
option to add codec of h.264 to ekiga 2.0.11,and please specify the
steps to add codec of h.264 to gutsy lpia


Hi,

I build binaries for Gutsy of Ekiga 3 with H.264. But I never succeed to
build for lpia...

Take a look here:
https://launchpad.net/~sevmek/+archive

Best regards,
Yannick

--
Regards,

Vinay Simha.B.N.



_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list
--- softs/ekiga/ptlib-svn/src/ptlib/common/jidctflt.cxx.orig	2008-07-28 17:36:29.000000000 +0200
+++ softs/ekiga/ptlib-svn/src/ptlib/common/jidctflt.cxx	2008-07-28 17:36:45.000000000 +0200
@@ -103,24 +103,6 @@
 #define DEQUANTIZE(coef,quantval)  (((FAST_FLOAT) (coef)) * (quantval))
 
 
-#if defined(__GNUC__) && (__GNUC__ >= 3) && (defined(__i686__) || defined(__x86_64__)) && (!defined(P_64BIT)) && (!defined(__MACOSX__)) && (!defined(P_LPIA))
-
-static inline unsigned char descale_and_clamp(int x, int shift)
-{
-  __asm__ (
-      "add %3,%1\n"
-      "\tsar %2,%1\n"
-      "\tsub $-128,%1\n"
-      "\tcmovl %5,%1\n"	/* Use the sub to compare to 0 */
-      "\tcmpl %4,%1\n" 
-      "\tcmovg %4,%1\n"
-      : "=r"(x) 
-      : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
-      );
-  return x;
-}
-
-#else
 static inline unsigned char descale_and_clamp(int x, int shift)
 {
   x += (1UL<<(shift-1));
@@ -136,7 +118,6 @@
   else 
     return x;
 }
-#endif
 
 /*
  * Perform dequantization and inverse DCT on one block of coefficients.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]