You are not logged in.

#1 2004-12-10 09:08:06

Evangel
Member
From: Germany - Hechingen/Balingen
Registered: 2004-02-22
Posts: 36

cinelerra 1.2.1 progress

Hello all,

im able now to compile cinelerra without any errors but some warnings still remain. But befor you are looking foreward to using cinelerra 1.2.1 on archlinux, you should recognice, that there seems to be problems with glibc-NPTL or something else (I think it is a NPTL thing). See there also:

http://bugs.cinelerra.org/show_bug.cgi?id=112

This is exactly the same i get, when starting cinelerra and trying to do something. But nevertheless, here is my PKGBUILD:

#Contributor: Rene Thümmler <Rene.Thuemmler@gmx.net>
pkgname=cinelerra
pkgver=1.2.1
pkgrel=1
pkgdesc="50000 watt flamethrower a.k.a. advanced video editing suite"
url="http://heroinewarrior.com/cinelerra.php3"
depends=('xorg' 'libpng' 'gcc')
makedepends=('nasm' 'texinfo')
source=(http://belnet.dl.sourceforge.net/sourceforge/heroines/$pkgname-$pkgver-src.tar.bz2
        $pkgname-$pkgver.patch)
md5sums=()

# cinelerra-1.1.9: when building use -n with makepkg cause stripping of libaries
# cinelerra-1.1.9: will cause cinelerra to crash at startup
# cinelerra-1.2.1: doing makepkg without -n has no effect any more

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  cd quicktime/ffmpeg-0.4.8/
  ./configure --prefix=/usr
  cd ../..
  # patching source
  patch -p1 -i ../$pkgname-$pkgver.patch  
  make || return 1
  # create dirs...
  mkdir -p $startdir/pkg/usr/lib/cinelerra
  mkdir -p $startdir/pkg/usr/bin
  # changing Makefiles (taken from <damir@archlinux.org>) cause
  # it seems to me the nicer way of installing files
  sed -i 's|/usr/|../../pkg/usr/|g' build/Makefile.cinelerra
  ZU_ERSETZEN=('cinelerra' 'plugins' 'libmpeg3' 'mplexhi' 'mplexlo' 'po')
  for aktuell in "${ZU_ERSETZEN[@]}" ; do
    sed -i 's|/usr/|../../../pkg/usr/|g' $aktuell/Makefile
  done
  # do the install
  cd $startdir/src/$pkgname-$pkgver
  make -f build/Makefile.cinelerra install || return 1
  # copy fonts (is it really needed?)
  cp -R plugins/titler/fonts $startdir/pkg/usr/lib/cinelerra
}

and here is the patch.  Save it as cinelerra-1.2.1.patch. It has a few lines, but i dont have any webspace ATM, so ill post it:

diff -aur cinelerra-1.2.1/cinelerra/autos.C cinelerra-1.2.1.new/cinelerra/autos.C
--- cinelerra-1.2.1/cinelerra/autos.C    2004-07-31 20:26:22.000000000 +0200
+++ cinelerra-1.2.1.new/cinelerra/autos.C    2004-12-09 23:22:53.000000000 +0100
@@ -161,7 +161,7 @@
 
 Auto* Autos::get_prev_auto(int64_t position, 
     int direction, 
-    Auto* &current, 
+    Auto* current, 
     int use_default)
 {
 // Get on or before position
@@ -205,7 +205,7 @@
     return current;
 }
 
-Auto* Autos::get_prev_auto(int direction, Auto* &current)
+Auto* Autos::get_prev_auto(int direction, Auto* current)
 {
     double position_double = edl->local_session->selectionstart;
     position_double = edl->align_to_frame(position_double, 0);
@@ -281,7 +281,7 @@
 }
 
 
-Auto* Autos::get_next_auto(int64_t position, int direction, Auto* &current, int use_default)
+Auto* Autos::get_next_auto(int64_t position, int direction, Auto* current, int use_default)
 {
     if(direction == PLAY_FORWARD)
     {
diff -aur cinelerra-1.2.1/cinelerra/autos.h cinelerra-1.2.1.new/cinelerra/autos.h
--- cinelerra-1.2.1/cinelerra/autos.h    2004-07-31 20:26:22.000000000 +0200
+++ cinelerra-1.2.1.new/cinelerra/autos.h    2004-12-09 22:44:54.000000000 +0100
@@ -32,9 +32,9 @@
 // on or before position.
 // Return 0 if none exists and use_default is false.
 // If &current is nonzero it is used as a starting point for searching.
-    Auto* get_prev_auto(int64_t position, int direction, Auto* &current, int use_default = 1);
-    Auto* get_prev_auto(int direction, Auto* &current);
-    Auto* get_next_auto(int64_t position, int direction, Auto* &current, int use_default = 1);
+    Auto* get_prev_auto(int64_t position, int direction, Auto* current, int use_default = 1);
+    Auto* get_prev_auto(int direction, Auto* current);
+    Auto* get_next_auto(int64_t position, int direction, Auto* current, int use_default = 1);
 // Determine if a keyframe exists before creating it.
     int auto_exists_for_editing(double position);
 // Returns auto at exact position, null if non-existent. ignores autokeyframming and align on frames
diff -aur cinelerra-1.2.1/cinelerra/main.C cinelerra-1.2.1.new/cinelerra/main.C
--- cinelerra-1.2.1/cinelerra/main.C    2004-07-16 01:07:33.000000000 +0200
+++ cinelerra-1.2.1.new/cinelerra/main.C    2004-12-09 22:50:48.000000000 +0100
@@ -15,6 +15,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "locale.h"
+
 #define PACKAGE "cinelerra"
 #define LOCALEDIR "/usr/share/locale"
 
diff -aur cinelerra-1.2.1/cinelerra/recordmonitor.C cinelerra-1.2.1.new/cinelerra/recordmonitor.C
--- cinelerra-1.2.1/cinelerra/recordmonitor.C    2004-07-31 20:26:22.000000000 +0200
+++ cinelerra-1.2.1.new/cinelerra/recordmonitor.C    2004-12-09 22:53:39.000000000 +0100
@@ -1005,7 +1005,7 @@
 
 int RecVideoDVThread::start_rendering()
 {
-    ((dv_t*)dv) = dv_new();
+    dv = (void*)dv_new();
     return 0;
 }
 
diff -aur cinelerra-1.2.1/guicast/arraylist.h cinelerra-1.2.1.new/guicast/arraylist.h
--- cinelerra-1.2.1/guicast/arraylist.h    2004-01-28 02:52:22.000000000 +0100
+++ cinelerra-1.2.1.new/guicast/arraylist.h    2004-12-09 21:54:51.000000000 +0100
@@ -1,6 +1,8 @@
 #ifndef ARRAYLIST_H
 #define ARRAYLIST_H
 
+#include <stdio.h>
+
 // designed for lists of track numbers
 
 template<class TYPE>
diff -aur cinelerra-1.2.1/libmpeg3/video/output.c cinelerra-1.2.1.new/libmpeg3/video/output.c
--- cinelerra-1.2.1/libmpeg3/video/output.c    2003-11-09 04:14:54.000000000 +0100
+++ cinelerra-1.2.1.new/libmpeg3/video/output.c    2004-12-09 21:46:41.000000000 +0100
@@ -4,25 +4,25 @@
 
 #define CLIP(x)  ((x) >= 0 ? ((x) < 255 ? (x) : 255) : 0)
 
-static long long mpeg3_MMX_0 = 0L;
-static unsigned long  mpeg3_MMX_10w[]         = {0x00100010, 0x00100010};                     /*dd    00010 0010h, 000100010h */
-static unsigned long  mpeg3_MMX_80w[]         = {0x00800080, 0x00800080};                     /*dd    00080 0080h, 000800080h */
+long long mpeg3_MMX_0 = 0L;
+unsigned long  mpeg3_MMX_10w[]         = {0x00100010, 0x00100010};                     /*dd    00010 0010h, 000100010h */
+unsigned long  mpeg3_MMX_80w[]         = {0x00800080, 0x00800080};                     /*dd    00080 0080h, 000800080h */
 
-static unsigned long  mpeg3_MMX_00FFw[]       = {0x00ff00ff, 0x00ff00ff};                     /*dd    000FF 00FFh, 000FF00FFh */
+unsigned long  mpeg3_MMX_00FFw[]       = {0x00ff00ff, 0x00ff00ff};                     /*dd    000FF 00FFh, 000FF00FFh */
 
-static unsigned short mpeg3_MMX_Ublucoeff[]   = {0x81, 0x81, 0x81, 0x81};                     /*dd    00081 0081h, 000810081h */
-static unsigned short mpeg3_MMX_Vredcoeff[]   = {0x66, 0x66, 0x66, 0x66};                     /*dd    00066 0066h, 000660066h */
+unsigned short mpeg3_MMX_Ublucoeff[]   = {0x81, 0x81, 0x81, 0x81};                     /*dd    00081 0081h, 000810081h */
+unsigned short mpeg3_MMX_Vredcoeff[]   = {0x66, 0x66, 0x66, 0x66};                     /*dd    00066 0066h, 000660066h */
 
-static unsigned short mpeg3_MMX_Ugrncoeff[]   = {0xffe8, 0xffe8, 0xffe8, 0xffe8};             /*dd    0FFE7 FFE7h, 0FFE7FFE7h */
-static unsigned short mpeg3_MMX_Vgrncoeff[]   = {0xffcd, 0xffcd, 0xffcd, 0xffcd};             /*dd    0FFCC FFCCh, 0FFCCFFCCh */
+unsigned short mpeg3_MMX_Ugrncoeff[]   = {0xffe8, 0xffe8, 0xffe8, 0xffe8};             /*dd    0FFE7 FFE7h, 0FFE7FFE7h */
+unsigned short mpeg3_MMX_Vgrncoeff[]   = {0xffcd, 0xffcd, 0xffcd, 0xffcd};             /*dd    0FFCC FFCCh, 0FFCCFFCCh */
 
-static unsigned short mpeg3_MMX_Ycoeff[]      = {0x4a, 0x4a, 0x4a, 0x4a};                     /*dd    0004A 004Ah, 0004A004Ah */
+unsigned short mpeg3_MMX_Ycoeff[]      = {0x4a, 0x4a, 0x4a, 0x4a};                     /*dd    0004A 004Ah, 0004A004Ah */
 
-static unsigned short mpeg3_MMX_redmask[]     = {0xf800, 0xf800, 0xf800, 0xf800};             /*dd    07c00 7c00h, 07c007c00h */
+unsigned short mpeg3_MMX_redmask[]     = {0xf800, 0xf800, 0xf800, 0xf800};             /*dd    07c00 7c00h, 07c007c00h */
 
-static unsigned short mpeg3_MMX_grnmask[]     = {0x7e0, 0x7e0, 0x7e0, 0x7e0};                 /*dd    003e0 03e0h, 003e003e0h */
+unsigned short mpeg3_MMX_grnmask[]     = {0x7e0, 0x7e0, 0x7e0, 0x7e0};                 /*dd    003e0 03e0h, 003e003e0h */
 
-static unsigned char mpeg3_601_to_rgb[256];
+unsigned char mpeg3_601_to_rgb[256];
 
 /* Algorithm */
 /*             r = (int)(*y + 1.371 * (*cr - 128)); */
@@ -207,12 +207,12 @@
         );
 }
 
-static unsigned long long  mpeg3_MMX_U_80 = 0x0000008000800000LL;
-static unsigned long long  mpeg3_MMX_V_80 = 0x0000000000800080LL;
-static long long  mpeg3_MMX_U_COEF        = 0x00000058ffd30000LL;
-static long long  mpeg3_MMX_V_COEF        = 0x00000000ffea006fLL;
-static long long  mpeg3_MMX_601_Y_COEF    = 0x0000004800480048LL;
-static long long  mpeg3_MMX_601_Y_DIFF    = 0x0000000000000010LL;
+unsigned long long  mpeg3_MMX_U_80 = 0x0000008000800000LL;
+unsigned long long  mpeg3_MMX_V_80 = 0x0000000000800080LL;
+long long  mpeg3_MMX_U_COEF        = 0x00000058ffd30000LL;
+long long  mpeg3_MMX_V_COEF        = 0x00000000ffea006fLL;
+long long  mpeg3_MMX_601_Y_COEF    = 0x0000004800480048LL;
+long long  mpeg3_MMX_601_Y_DIFF    = 0x0000000000000010LL;
 
 inline void mpeg3_bgra32_mmx(unsigned long y, 
         unsigned long u, 
@@ -297,10 +297,10 @@
 : "r" (&y), "r" (&u), "r" (&v), "r" (output));
 }
 
-static unsigned long long  mpeg3_MMX_U_80_RGB    = 0x0000000000800080LL;
-static unsigned long long  mpeg3_MMX_V_80_RGB    = 0x0000008000800000LL;
-static long long  mpeg3_MMX_U_COEF_RGB    = 0x00000000ffd30058LL;
-static long long  mpeg3_MMX_V_COEF_RGB    = 0x0000006fffea0000LL;
+unsigned long long  mpeg3_MMX_U_80_RGB    = 0x0000000000800080LL;
+unsigned long long  mpeg3_MMX_V_80_RGB    = 0x0000008000800000LL;
+long long  mpeg3_MMX_U_COEF_RGB    = 0x00000000ffd30058LL;
+long long  mpeg3_MMX_V_COEF_RGB    = 0x0000006fffea0000LL;
 
 inline void mpeg3_rgba32_mmx(unsigned long y, 
         unsigned long u, 
diff -aur cinelerra-1.2.1/libmpeg3/video/reconstruct.c cinelerra-1.2.1.new/libmpeg3/video/reconstruct.c
--- cinelerra-1.2.1/libmpeg3/video/reconstruct.c    2003-10-14 09:54:14.000000000 +0200
+++ cinelerra-1.2.1.new/libmpeg3/video/reconstruct.c    2004-12-09 21:50:10.000000000 +0100
@@ -271,8 +271,8 @@
 }
 
 #else  // HAVE_3DNOW
-    static long long ADD_1    =    0x0101010101010101LL;
-    static long long MASK_AND = 0x7f7f7f7f7f7f7f7fLL;
+    long long ADD_1    =    0x0101010101010101LL;
+    long long MASK_AND = 0x7f7f7f7f7f7f7f7fLL;
 #endif
 
 static inline void rec_mmx(unsigned char *s, unsigned char *d, int lx2, int h)
diff -aur cinelerra-1.2.1/libmpeg3/video/slice.c cinelerra-1.2.1.new/libmpeg3/video/slice.c
--- cinelerra-1.2.1/libmpeg3/video/slice.c    2003-10-14 09:54:14.000000000 +0200
+++ cinelerra-1.2.1.new/libmpeg3/video/slice.c    2004-12-09 21:48:24.000000000 +0100
@@ -6,7 +6,7 @@
 
 #define CLIP(x)  ((x) >= 0 ? ((x) < 255 ? (x) : 255) : 0)
 
-static unsigned long long MMX_128 = 0x80008000800080LL;
+unsigned long long MMX_128 = 0x80008000800080LL;
 
 int mpeg3_new_slice_buffer(mpeg3_slice_buffer_t *slice_buffer)
 {
diff -aur cinelerra-1.2.1/mplexhi/multplex.c cinelerra-1.2.1.new/mplexhi/multplex.c
--- cinelerra-1.2.1/mplexhi/multplex.c    2003-10-14 09:54:14.000000000 +0200
+++ cinelerra-1.2.1.new/mplexhi/multplex.c    2004-12-09 21:52:48.000000000 +0100
@@ -341,6 +341,7 @@
         break;
 
         default:
+        ;
     }
 
 }
diff -aur cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/dsputil_mmx.c cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/dsputil_mmx.c
--- cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/dsputil_mmx.c    2003-10-17 07:58:13.000000000 +0200
+++ cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/dsputil_mmx.c    2004-12-09 23:44:03.000000000 +0100
@@ -25,14 +25,14 @@
 int mm_flags; /* multimedia extension flags */
 
 /* pixel operations */
-static const uint64_t mm_bone __attribute__ ((aligned(8))) = 0x0101010101010101ULL;
-static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
-static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
-
-static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL;
-static const uint64_t ff_pw_3  __attribute__ ((aligned(8))) = 0x0003000300030003ULL;
-static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
-static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
+const uint64_t mm_bone __attribute__ ((aligned(8))) = 0x0101010101010101ULL;
+const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
+const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
+
+const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL;
+const uint64_t ff_pw_3  __attribute__ ((aligned(8))) = 0x0003000300030003ULL;
+const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
+const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
 
 #define JUMPALIGN() __asm __volatile (".balign 8"::)
 #define MOVQ_ZERO(regd)  __asm __volatile ("pxor %%" #regd ", %%" #regd ::)
diff -aur cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/motion_est_mmx.c cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/motion_est_mmx.c
--- cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/motion_est_mmx.c    2003-10-17 07:58:13.000000000 +0200
+++ cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/motion_est_mmx.c    2004-12-10 00:09:13.000000000 +0100
@@ -20,13 +20,13 @@
  */
 #include "../dsputil.h"
 
-static const __attribute__ ((aligned(8))) uint64_t round_tab[3]={
+const __attribute__ ((aligned(8))) uint64_t round_tab[3]={
 0x0000000000000000,
 0x0001000100010001,
 0x0002000200020002,
 };
 
-static __attribute__ ((aligned(8), unused)) uint64_t bone= 0x0101010101010101LL;
+__attribute__ ((aligned(8), unused)) uint64_t bone= 0x0101010101010101LL;
 
 static inline void sad8_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
 {
diff -aur cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/simple_idct_mmx.c cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/simple_idct_mmx.c
--- cinelerra-1.2.1/quicktime/ffmpeg-0.4.8/libavcodec/i386/simple_idct_mmx.c    2003-10-17 07:58:13.000000000 +0200
+++ cinelerra-1.2.1.new/quicktime/ffmpeg-0.4.8/libavcodec/i386/simple_idct_mmx.c    2004-12-10 00:14:55.000000000 +0100
@@ -45,8 +45,8 @@
 #define ROW_SHIFT 11
 #define COL_SHIFT 20 // 6
 
-static const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
-static const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
+const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
+const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
 
 static const int16_t __attribute__((aligned(8))) coeffs[]= {
     1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0,
diff -aur cinelerra-1.2.1/quicktime/jpeg-mmx-0.1.4/jdcolor.c cinelerra-1.2.1.new/quicktime/jpeg-mmx-0.1.4/jdcolor.c
--- cinelerra-1.2.1/quicktime/jpeg-mmx-0.1.4/jdcolor.c    2003-10-14 09:54:28.000000000 +0200
+++ cinelerra-1.2.1.new/quicktime/jpeg-mmx-0.1.4/jdcolor.c    2004-12-10 00:16:29.000000000 +0100
@@ -125,13 +125,13 @@
 #endif
 
 #if defined(HAVE_MMX_INTEL_MNEMONICS)
-static const int64 bpte0 = 0x0080008000800080; // 128
-static const int64 bpte1 = 0x7168e9f97168e9f9; // for cb (Cb/b, Cb/g, Cb/b, Cb/g)
-static const int64 bpte2 = 0xd21a59bad21a59ba; // for cr (Cr/g, Cr/r, Cr/g, Cr/r)
+const int64 bpte0 = 0x0080008000800080; // 128
+const int64 bpte1 = 0x7168e9f97168e9f9; // for cb (Cb/b, Cb/g, Cb/b, Cb/g)
+const int64 bpte2 = 0xd21a59bad21a59ba; // for cr (Cr/g, Cr/r, Cr/g, Cr/r)
 #else
-static const int64 te0 = 0x0200020002000200; // -128 << 2
-static const int64 te1 = 0xe9fa7168e9fa7168; // for cb
-static const int64 te2 = 0x59bad24d59bad24d; // for cr
+const int64 te0 = 0x0200020002000200; // -128 << 2
+const int64 te1 = 0xe9fa7168e9fa7168; // for cb
+const int64 te2 = 0x59bad24d59bad24d; // for cr
 #endif
 //static const int64 te2 = 0x59ba524b59ba524b; // for cr
 /* How to calculate the constants (see constants from above for YCbCr->RGB):
diff -aur cinelerra-1.2.1/quicktime/jpeg-mmx-0.1.4/jidctint.c cinelerra-1.2.1.new/quicktime/jpeg-mmx-0.1.4/jidctint.c
--- cinelerra-1.2.1/quicktime/jpeg-mmx-0.1.4/jidctint.c    2003-10-14 09:54:28.000000000 +0200
+++ cinelerra-1.2.1.new/quicktime/jpeg-mmx-0.1.4/jidctint.c    2004-12-10 00:12:24.000000000 +0100
@@ -173,32 +173,32 @@
  * Perform dequantization and inverse DCT on one block of coefficients.
  */
 #define __int64 unsigned long long
-    static    __int64 fix_029_n089n196    = 0x098ea46e098ea46e;
-    static    __int64 fix_n196_n089        = 0xc13be333c13be333;
-    static    __int64 fix_205_n256n039    = 0x41b3a18141b3a181;
-    static    __int64 fix_n039_n256        = 0xf384adfdf384adfd;
-    static    __int64 fix_307n256_n196    = 0x1051c13b1051c13b;
-    static    __int64 fix_n256_n196        = 0xadfdc13badfdc13b;
-    static    __int64 fix_150_n089n039    = 0x300bd6b7300bd6b7;
-    static    __int64 fix_n039_n089        = 0xf384e333f384e333;
-    static    __int64 fix_117_117            = 0x25a125a125a125a1;
-    static    __int64 fix_054_054p076        = 0x115129cf115129cf;
-    static    __int64 fix_054n184_054        = 0xd6301151d6301151;
-
-    static    __int64 fix_054n184         = 0xd630d630d630d630;
-    static    __int64 fix_054                = 0x1151115111511151;
-    static    __int64 fix_054p076            = 0x29cf29cf29cf29cf;
-    static    __int64 fix_n196p307n256    = 0xd18cd18cd18cd18c;
-    static    __int64 fix_n089n039p150    = 0x06c206c206c206c2;
-    static    __int64 fix_n256            = 0xadfdadfdadfdadfd;
-    static    __int64 fix_n039            = 0xf384f384f384f384;
-    static    __int64 fix_n256n039p205    = 0xe334e334e334e334;
-    static    __int64 fix_n196            = 0xc13bc13bc13bc13b;
-    static    __int64 fix_n089            = 0xe333e333e333e333;
-    static    __int64 fixn089n196p029        = 0xadfcadfcadfcadfc;
+    __int64 fix_029_n089n196    = 0x098ea46e098ea46e;
+    __int64 fix_n196_n089        = 0xc13be333c13be333;
+    __int64 fix_205_n256n039    = 0x41b3a18141b3a181;
+    __int64 fix_n039_n256        = 0xf384adfdf384adfd;
+    __int64 fix_307n256_n196    = 0x1051c13b1051c13b;
+    __int64 fix_n256_n196        = 0xadfdc13badfdc13b;
+    __int64 fix_150_n089n039    = 0x300bd6b7300bd6b7;
+    __int64 fix_n039_n089        = 0xf384e333f384e333;
+    __int64 fix_117_117            = 0x25a125a125a125a1;
+    __int64 fix_054_054p076        = 0x115129cf115129cf;
+    __int64 fix_054n184_054        = 0xd6301151d6301151;
+
+    __int64 fix_054n184         = 0xd630d630d630d630;
+    __int64 fix_054                = 0x1151115111511151;
+    __int64 fix_054p076            = 0x29cf29cf29cf29cf;
+    __int64 fix_n196p307n256    = 0xd18cd18cd18cd18c;
+    __int64 fix_n089n039p150    = 0x06c206c206c206c2;
+    __int64 fix_n256            = 0xadfdadfdadfdadfd;
+    __int64 fix_n039            = 0xf384f384f384f384;
+    __int64 fix_n256n039p205    = 0xe334e334e334e334;
+    __int64 fix_n196            = 0xc13bc13bc13bc13b;
+    __int64 fix_n089            = 0xe333e333e333e333;
+    __int64 fixn089n196p029        = 0xadfcadfcadfcadfc;
 
-    static  __int64 const_0x2xx8        = 0x0000010000000100;
-    static  __int64 const_0x0808        = 0x0808080808080808;
+    __int64 const_0x2xx8        = 0x0000010000000100;
+    __int64 const_0x0808        = 0x0808080808080808;
 
 __inline void domidct8x8llmW(short *inptr, short *quantptr, int *wsptr,
                    JSAMPARRAY outptr, int output_col);

I would like if someone with better programing knowledge than me would have a look if its a good thing to remove all this static things. Also please verify, that its compiling on other machines too.

So. thats all. have fun and maybe someone has a solution for the NPTL thing.

bye
Eve

Offline

#2 2004-12-12 11:52:05

judfilm
Member
Registered: 2004-02-12
Posts: 229

Re: cinelerra 1.2.1 progress

Have you tried to pass this on to the Cinelerra Unoffical CVS?

http://cvs.cinelerra.org/

They have a different/"newer" build and fixes.

Arch is getting oh so close now.

Keep up the good work!

Offline

#3 2004-12-12 22:05:59

Evangel
Member
From: Germany - Hechingen/Balingen
Registered: 2004-02-22
Posts: 36

Re: cinelerra 1.2.1 progress

judfilm wrote:

Have you tried to pass this on to the Cinelerra Unoffical CVS?

http://cvs.cinelerra.org/

They have a different/"newer" build and fixes.

Arch is getting oh so close now.

Keep up the good work!

not ATM. but i found out, that if you do:
"export LD_ASSUME_KERNEL=2.6.7; cinelerra"
Then cinelerra does not crash immediately after opening mp3s or videos. It also plays sound without hesitation. I am using a custom 2.6.9 kernel by the way. Please try out if it may work for you in that way.

bye,
Eve

Offline

#4 2005-01-11 08:14:48

judfilm
Member
Registered: 2004-02-12
Posts: 229

Re: cinelerra 1.2.1 progress

Hi

A new Version of Cinelerra has been released.

From: http://heroinewarrior.com/cinelerra.php3

1/10/05 - Cinelerra 1.2.2
This version introduces several more advanced effects. Threshold, unsharp mask, spherical gradient, motion tracking. Shift-click on an effect boundary to have the trimming change only the one effect instead of all the effects on the same boundary. A status indicator in the compositor shows when the current frame is being processed. On the time bar, ctrl-middle button selects previous time format. Ctrl-left button selects next time format. X11 video doesn't blank out before playback. Realtime priority routines migrated to 2.6 kernels. A large number of bugfixes make this release more reliable and put out more accurate image processing.

Changelog:
Debugging for VFS in 64 bit mode
Quicktime: quicktime_set_position without buffering sets the position
Threshold effect.
Unsharp mask effect.
Debugging for image sequence rendering on renderfarms.
Greyscale TIFF loading.
Wheel mouse works over textbox for tumble textboxes.
Rotation moved to the affine transform since trig transform seemed to have very slight errors.
Writing floating point wav files doesn't clamp the sound level anymore.
Writing and reading quicktime RGBA8888 works.
Compression title in asset info displays readable info.
Spherical gradient
Motion and rotation tracking.
Bilinear reduction banding error fixed.
Realtime priority routines migrated to 2.6 kernels.
Realtime priority now extends from the virtual console to the sound driver and is inherited by Thread objects from the parent thread.
Rendering effects where the region contains a transition doesn't crash.
Allow effect keyframe at end of effect.
Video keyframes positioned more accurately at subframe zoom levels.
Shift clicking a boundary of an effect causes the trim operation to change only the one effect.
Interpolate video doesn't use the input frame rate when keyframes are used as the border frames.
Status indicator on Compositor window shows when processing is occurring.
Time can be displayed as seconds.
On time bar, ctrl-middle button selects previous time format.
    Ctrl-left button selects next time format.
AC3 file creation works better.
X11 video doesn't blank out before playback.
Tried disabling ALSA thread cancellation again due to continued crashes
with this library.

Well done to the Cinelerra Team!

Enjoy

Offline

#5 2005-03-07 10:02:48

judfilm
Member
Registered: 2004-02-12
Posts: 229

Re: cinelerra 1.2.1 progress

any progress? thanks

Offline

#6 2005-03-08 11:04:30

Evangel
Member
From: Germany - Hechingen/Balingen
Registered: 2004-02-22
Posts: 36

Re: cinelerra 1.2.1 progress

sorry. im playing with amd64 - archlinux while i got my new dual opteron machine last week smile I think i will have a new look at Cinelerra within the next 2 weeks. Hope you can wait that long?

bye

Offline

Board footer

Powered by FluxBB