Re: [Mjpeg-users] What is causing this error

2004-01-23 Thread T.E.
This appears to be CPU Related. I did the Upgrade yesterday to a Athlon XP 2400+. I just Swap the Mother Board out, Same OS SuSE 7.3. /* posix_memalign support */ #define HAVE_POSIX_MEMALIGN 1 And Everything works fine, Where it did not with the Old Athlon Slot-A Thunderbird. So I am guessing

Re: [Mjpeg-users] What is causing this error

2004-01-20 Thread T.E.
Well with a little more digging I have found that it maybe CPU Related, compiled the 1.6.1.93 on my fileserver which is a AMD K6-3 450 and everything works fine when using mpeg2enc and the #define HAVE_POSIX_MEMALIGN 1 is set But with the Same OS Version with my Athlon Slot-A Tbird it will not work

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Steven M. Schultz
On Wed, 14 Jan 2004, Trent Piepho wrote: > > if (posix_memalign( &buf, simd_alignment, size)) > > buf = memalign(pgsize, size); > > if (buf && ((int)buf & (simd_alignment - 1))) > > { > > free(buf); > > buf = memalign(pgsize,

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Trent Piepho
On Wed, 14 Jan 2004, Steven M. Schultz wrote: > Look in cpu_accel.c - you should see something like this: > > if (posix_memalign( &buf, simd_alignment, size)) > buf = memalign(pgsize, size); > if (buf && ((int)buf & (simd_alignment - 1))) > { >

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Steven M. Schultz
On Wed, 14 Jan 2004, Ray Cole wrote: > It's been about a month since I'd pulled it down. I don't pull from the > development CVS branch often because it almost never builds :-( Few if any of the developers have seen the bug - that makes it hard to test/fix. The next r

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Ray Cole
It's been about a month since I'd pulled it down. I don't pull from the development CVS branch often because it almost never builds :-( I'm sure it is because I don't have the latest of something or doing something wrong. So once I had an mpeg2enc that works I tend to stay with it. An examp

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Steven M. Schultz
On Wed, 14 Jan 2004, Ray Cole wrote: > I had this issue with the CVS version as well. I had to make a change to > utils/cpu_accel.c to use memalign rather than posix_memalign in bufalloc(). It now > looks like this: Have you done a 'cvs update' recently? There was code added to

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Ray Cole
I had this issue with the CVS version as well. I had to make a change to utils/cpu_accel.c to use memalign rather than posix_memalign in bufalloc(). It now looks like this: void *bufalloc( size_t size ) { static size_t simd_alignment = 16; static int bufalloc_init = 0; void

Re: [Mjpeg-users] What is causing this error

2004-01-14 Thread Steven M. Schultz
On Tue, 13 Jan 2004, T.E. wrote: > > **ERROR: [mpeg2enc] could not allocate 133056 bytes aligned on a 64 byte > boundary Insufficient information to do much of anything except take wild guesses. What system are you using - if a linux system what version of glibc

[Mjpeg-users] What is causing this error

2004-01-14 Thread T.E.
**ERROR: [mpeg2enc] could not allocate 133056 bytes aligned on a 64 byte boundary Thanks Thomas --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branchin