Menu

Svn Commit Log


Commit Date  
[r2460] by sms00

min = 2 * abs(*(frame+x+(y-1)*width) - *(frame+x+(y+1)*width)) is a lot
better (especially inside a double nested loop) than:
d = *(frame+x+(y-1)*width) - *(frame+x+(y+1)*width) ;
min = d < 0 ? -d:d;
d = *(frame+x+(y-1)*width) - *(frame+x+(y+1)*width) ;
min += d < 0 ? -d:d;
Also do a bit of tidying (unused/unneded ABS macro removed)

2004-11-05 00:15:29 Tree
[r2459] by sms00

save a few cpu cycles, abs() is faster than (xxx < 0 ? -xxx : xxx)

2004-11-04 23:57:23 Tree
[r2458] by sms00

Adjust the CFLAGS/AM_CFLAGS to use the new new PROGRAM_NOPIC option. Extra
flags (the old AM_CFLAGS) should be added by "--with-extra-cflags=..." at
./configure time (so that they apply to all programs and not just yuvdenoise)

2004-11-02 06:46:42 Tree
[r2457] by sms00

Using abs() is _lots_ faster than a 'if < 0 ? ' construct since abs() is often a
compiler builtin (single machine instruction).

2004-11-02 06:01:44 Tree
[r2456] by sms00

Implement building PROGRAMS (not SHARED LIBS) without PIC code - seems that
on a PPC (OS/X at least) the default is the (slightly) slower PIC mode. For
programs there is the "-mdynamic-no-pic" which should be used for non-shared
(but still dynamic) objects such as compute bound programs. On IA32 there
is the "-fno-PIC" which simply restates the default of non-pic code.

Thus far only a couple programs in lavtools/ have had their CFLAGS adjusted
to show how it's done. Over time other cpu intense programs will have the
same mods made.

2004-11-01 00:58:29 Tree
[r2455] by sms00

Another update submitted by Nicolas Boos

2004-10-26 22:07:29 Tree
[r2454] by rbultje

Since we use a define, actually include the header that defines it

2004-10-23 21:15:56 Tree
[r2453] by sms00

Updated with patch from Nicolas Boos

2004-10-20 00:32:59 Tree
[r2452] by waldviertler

applied fix from Bug tracker:
[ 1041159 ] mplex -O: typo in mplex/main.cpp

-O is never satisfied with time offset units when none
given (according to man page, must default to ms.)

"mjpegtools-1.6.2/mplex/main.cpp" line 582 of 621: if(
e ) should obviously be if (*e).

2004-10-17 05:41:27 Tree
[r2451] by sms00

Further speedup of the non-MMX/SSE SAD functions - shortcut the computation if
the current block has become worse than previously seen blocks.

2004-10-15 16:21:24 Tree
Older >
Monday.com Logo