Fabrice Bellard
8155233413
fixed layer1/2 overflow if very loud sound - fixed broken free format decoding to pass all mpeg audio standard decoding tests (please avoid patching the parser without having all test streams available - contact me if necessary)
...
Originally committed as revision 634 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
fca0f0e59f
* removed MANGLE from macros for setting constants
...
* using MOVQ_WONE/MOVQ_BFE as two instruction instead of static memory value access
as its always faster
* PAVGB_MMX macro is using now mm6 -> mm7 is unmodified
* replaced original pixels_xy2_mmx with new faster and equal implementation
* replaced usage of mm7 for other then ZERO contstant in _rnd & _avg file with mm6
Originally committed as revision 632 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
ff9657069a
* using unrolled loops seems to help to MMX Celerons
...
* calculating average in parallel to use two MMX units
* disabled xy2 put code - it's producing rouding errors
Originally committed as revision 626 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
6aa6ea8e11
* reenabled original xy2 put routine - rounding error is really bad with
...
the new code
* added PAVGP macros for parallel processing to safe few more cycles on
celerons
Originally committed as revision 625 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
91abb473fb
* code with new PAVGB for MMX only CPU splited into separate file
...
and being compiled in the same way as _avg.h
* PAVG_MMX macros accept also output parameter
* implemented faster put_pixels_xy2, but it has slightly smaller precission.
But there is not visible difference in the image quality - might be eventualy
easily switched back (#if 0 #endif)- please check
Originally committed as revision 624 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
def60345ad
* new mmx code - based upon http://aggregate.org/MAGIC
...
for now it's rather sneak preview (new functions are nearly 100% faster)
Originally committed as revision 623 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
541027e26a
* cosmetic minor change
...
Originally committed as revision 622 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
d17b6f0bbb
* optimized remaing avg_pixels_xy2
...
Originally committed as revision 621 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
e9c0a38ff0
* optimized avg_* functions (except xy2)
...
* minor speedup for put_pixels_x2 & cleanup
Originally committed as revision 619 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
cd4af68ad5
* started to cleanup name clashes for onetime compilation
...
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
c0eb0bb717
* more PIC friendly and faster code
...
Originally committed as revision 616 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
5f6230016a
* removed TESTCPU_MAIN - not needed for testing
...
Originally committed as revision 615 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
8758f7e43c
* for this moment bswap.h included ahead of HAVE_AV_CONFIG_H check
...
as its functionality is used even in those parts which are being
compiled without this flag
- generaly this would require more complicated cleanup patch
- for now leaving for the main author
Originally committed as revision 614 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
e5f3d22d35
* undefine local defines when they are no longer needed
...
Originally committed as revision 612 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
f0ca2e1b0a
* compatibilized declaration with its original definition
...
(though I'm not sure which one is correct - but they should match)
Originally committed as revision 610 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
30eb039652
* avoids double inclusion of this header
...
(how about making all headers in ffmpeg working this way ?)
Originally committed as revision 609 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
74fc99894b
don't use inttypes.h - use inline function for bswap_64()
...
Originally committed as revision 608 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
6a3d7e36c9
fixed mangle issue
...
Originally committed as revision 605 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
fad9f495c0
removed invalid buffer handling
...
Originally committed as revision 604 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Nick Kurshev
bbdadbda05
untested generic bswap64
...
Originally committed as revision 603 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
2ef0f2b269
consistent include usage
...
Originally committed as revision 598 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
3093185ea6
fixed incorrect buffer handling
...
Originally committed as revision 597 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
d503f97038
better logic for bswap
...
Originally committed as revision 596 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
d75dd1ca4c
removed
...
Originally committed as revision 595 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
b17c92d10e
moved in libavcodec
...
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Philip Gladstone
935cdf0902
Add an av_abort macro that aborts, but also prints out the location of the abort.
...
Helps track down bugs.
Originally committed as revision 576 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
52af45ad77
* baling 8 seems to have the same speed
...
Originally committed as revision 575 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
fbdedc1704
* always baling even though it seems to produce sometime worse
...
results then for -fPIC compilation - don't ask me why...
Originally committed as revision 573 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
31ddcf9851
* cleanup for put_pixels_mmx
...
Originally committed as revision 572 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
ec9a41f57d
* somewhat more advanced test suit for dsp code - for now i386 only
...
cd test ; make dsptest ; ./dsptest
Originally committed as revision 568 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
6efad6fd85
* align the source initialy address
...
Originally committed as revision 567 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
2bd978bdb8
* fixed contrains and avoid usage of scale index access
...
Originally committed as revision 566 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
dcb9cd4b81
* added simple test main - see comments about how to
...
compile - should be probably made as a regression test
Originally committed as revision 565 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
ba0420d83e
using 1 operand less and slightly faster put_pixels_y2
...
Originally committed as revision 564 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
a213d66486
* fix for -fPIC compilation - compiles with 2.95.2 as well - any
...
other compiler shows any problem here ??
Originally committed as revision 563 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
d7d267dfe0
* minor cleanup
...
Originally committed as revision 562 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
92ba5ffbb5
workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
...
Originally committed as revision 561 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
ddad77fade
* oops - these are the midnight commits...
...
removed -fPIC used for testing compilability
Originally committed as revision 560 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
c77b16ddba
* restored previous behaviour for this moment
...
users are supposed to supply proper SCR_PATH however
Originally committed as revision 559 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
8083185f88
* restored previous non '..' version
...
Originally committed as revision 558 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
59d3e367a8
fixed incorrect global gain - slightly increased precision of n^(4/3) table
...
Originally committed as revision 557 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
777cc95fb4
* using ../ for bswap.h
...
Originally committed as revision 556 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
49d71c7b05
* avoid conflicts with non-ffmpeg config.h and also it's consistent
...
with few other header files included from the main ffmpeg's dir
Originally committed as revision 555 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
747a67fbab
fixed one overflow problem
...
Originally committed as revision 553 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
57060b1ec7
removed unused stuff - added dsputil_set_bit_exact() support for easier testing
...
Originally committed as revision 551 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
4f12a4976a
removed unused code
...
Originally committed as revision 543 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
fb4a4a5607
mpeg1/2 identifier - fixed frame rate for some bad mpeg1 streams
...
Originally committed as revision 542 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
4d7a0a0593
better av_freep()
...
Originally committed as revision 541 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
51a4966370
added avcodec_set_bit_exact() for testing
...
Originally committed as revision 540 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago