Commit Graph

459 Commits

Author SHA1 Message Date
Felix Bünemann
800d7cebb6 in libavcodec/Makefile there is in line 110: "distclean: clean<binary char>"
this binary char corrupts the makefile and should be removed.
patch by Felix Buenemann <atmosfear@users.sourceforge.net>

Originally committed as revision 676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-07 22:01:03 +00:00
Fabrice Bellard
d81c598383 fixed multiple allocation bug
Originally committed as revision 675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:31:18 +00:00
Fabrice Bellard
9f4f81ed17 fixed case where abs_level > MAX_LEVEL
Originally committed as revision 674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:25:44 +00:00
Michael Niedermayer
0f440e0214 optimizing MPV_decode_mb
Originally committed as revision 673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 23:43:56 +00:00
Fabrice Bellard
8ee14970d6 added ff_idct_put/add
Originally committed as revision 672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:48:07 +00:00
Fabrice Bellard
d36a246675 added inlined put/add functions
Originally committed as revision 671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:46:25 +00:00
Fabrice Bellard
ad31c904b2 use ff_idct_put/add()
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:36:03 +00:00
Fabrice Bellard
ee4b748b7f use ff_idct_put()
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:35:28 +00:00
Fabrice Bellard
412ba501b1 removed unused code - began to merge alpha specific stuff - added mac macros for suitable CPUs
Originally committed as revision 667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 14:25:06 +00:00
Michael Niedermayer
dd536160cd run1 can be <0 bugfix (found by fabrice)
Originally committed as revision 661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 18:35:31 +00:00
Fabrice Bellard
03c94ede93 avoid name clash with libjpeg - added missing externs
Originally committed as revision 660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:58:40 +00:00
Fabrice Bellard
c3aea5c424 added missing externs (we were lucky that commons are used)
Originally committed as revision 659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:56:04 +00:00
Fabrice Bellard
6d5bf5343c added missing externs
Originally committed as revision 658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:53:11 +00:00
Zdenek Kabelac
39825f315f * reimplemented remaing avg_ pixel functions
* modified PAVGB mmx macro to select mmx register with FE constant

Originally committed as revision 657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:35:35 +00:00
Zdenek Kabelac
d3cd07425a * implemented remaing avg_ pixel functions (these are not used offen)
Originally committed as revision 656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:31:46 +00:00
Falk Hüffner
e7650becc6 Revert previous bogus warning fix.
Originally committed as revision 655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 14:44:37 +00:00
Falk Hüffner
20695ec921 Minor warning cleanup.
Originally committed as revision 654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 11:16:11 +00:00
Nick Kurshev
8696b63645 use qstride instead of fixed constants
Originally committed as revision 653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:58:35 +00:00
Nick Kurshev
ae72cda62b new field for communicating with external postprocessing
Originally committed as revision 652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:01:42 +00:00
Michael Niedermayer
4136dd2437 100l divx501+ seeking bugfix
Originally committed as revision 651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 22:08:04 +00:00
Felix Bünemann
bc45bca372 gcc 3.1 warning fix (patch by Felix Buenemann <atmosfear at users.sourceforge.net>)
Originally committed as revision 650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 16:06:41 +00:00
D Richard Felker III
90864f2712 10l found&patch by D Richard Felker III <dalias at aerifal.cx>
Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 15:49:21 +00:00
Michael Niedermayer
333547be44 typo (found by Bohdan Horst <nexus at hoth.amu.edu.pl>)
Originally committed as revision 648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 15:31:30 +00:00
Michael Niedermayer
2a052693dd divx5 bug workaround
Originally committed as revision 647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 13:31:48 +00:00
Michael Niedermayer
1f6b6e50ce single coefficient elimination
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)

Originally committed as revision 646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:25:54 +00:00
Michael Niedermayer
9effc0c71b b_quant_offset (unfinished, should be 0 for now)
Originally committed as revision 645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:24:26 +00:00
Michael Niedermayer
5bb6fbb351 data partitioning
Originally committed as revision 644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:23:22 +00:00
Michael Niedermayer
287229e554 msmpeg4v1 decoding
Originally committed as revision 643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:22:30 +00:00
Michael Niedermayer
7f2fe444a3 single coefficient elimination
prequantization
more readable malloc & check if NULL
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)
data partitioning

Originally committed as revision 642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:20:39 +00:00
Michael Niedermayer
0d21a84605 dont double check vectors
more correct EPZS implementation
much faster halfpel ME
simplifications / reducing duplicate code
4MV in LQ mode

Originally committed as revision 641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:18:18 +00:00
Michael Niedermayer
6733417a5f error concealment / error resilience
merging s->first_gob_line & s->first_slice_line

Originally committed as revision 640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:16:28 +00:00
Michael Niedermayer
92073d01ca error concealment / error resilience
data partitioning encoding/decoding
resync marker encoding
more correct headers
merging s->first_gob_line & s->first_slice_line

Originally committed as revision 639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:15:17 +00:00
Michael Niedermayer
c9b5489c08 fixing get_bits_count at the end
Originally committed as revision 638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:13:09 +00:00
Michael Niedermayer
7fd08ac1d1 sqrt
MAX, MIN

Originally committed as revision 637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:11:44 +00:00
Michael Niedermayer
ab00685a75 bugfix
Originally committed as revision 636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-01 23:18:44 +00:00
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
2002-06-01 14:34:29 +00:00
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
2002-05-30 15:14:56 +00:00
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
2002-05-29 20:00:10 +00:00
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
2002-05-29 19:57:21 +00:00
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
2002-05-29 17:16:22 +00:00
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
2002-05-29 14:29:48 +00:00
Zdenek Kabelac
541027e26a * cosmetic minor change
Originally committed as revision 622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 14:20:48 +00:00
Zdenek Kabelac
d17b6f0bbb * optimized remaing avg_pixels_xy2
Originally committed as revision 621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 08:31:22 +00:00
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
2002-05-28 16:35:58 +00:00
Zdenek Kabelac
cd4af68ad5 * started to cleanup name clashes for onetime compilation
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 16:42:14 +00:00
Zdenek Kabelac
c0eb0bb717 * more PIC friendly and faster code
Originally committed as revision 616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 14:09:10 +00:00
Zdenek Kabelac
5f6230016a * removed TESTCPU_MAIN - not needed for testing
Originally committed as revision 615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 11:32:01 +00:00
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
2002-05-27 09:17:21 +00:00
Zdenek Kabelac
e5f3d22d35 * undefine local defines when they are no longer needed
Originally committed as revision 612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 08:37:13 +00:00
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
2002-05-27 08:34:24 +00:00
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
2002-05-27 08:31:54 +00:00
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
2002-05-26 15:24:32 +00:00
Fabrice Bellard
6a3d7e36c9 fixed mangle issue
Originally committed as revision 605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 15:07:57 +00:00
Fabrice Bellard
fad9f495c0 removed invalid buffer handling
Originally committed as revision 604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 14:41:53 +00:00
Nick Kurshev
bbdadbda05 untested generic bswap64
Originally committed as revision 603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 09:45:45 +00:00
Fabrice Bellard
ff4ec49e64 license/copyright change
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:45:33 +00:00
Fabrice Bellard
2ef0f2b269 consistent include usage
Originally committed as revision 598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:42:45 +00:00
Fabrice Bellard
3093185ea6 fixed incorrect buffer handling
Originally committed as revision 597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:39:29 +00:00
Fabrice Bellard
d503f97038 better logic for bswap
Originally committed as revision 596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:38:02 +00:00
Fabrice Bellard
d75dd1ca4c removed
Originally committed as revision 595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:36:24 +00:00
Fabrice Bellard
b17c92d10e moved in libavcodec
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:36:01 +00:00
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
2002-05-24 01:16:08 +00:00
Zdenek Kabelac
52af45ad77 * baling 8 seems to have the same speed
Originally committed as revision 575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 16:19:07 +00:00
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
2002-05-23 15:57:28 +00:00
Zdenek Kabelac
31ddcf9851 * cleanup for put_pixels_mmx
Originally committed as revision 572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 15:48:30 +00:00
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
2002-05-23 13:34:22 +00:00
Zdenek Kabelac
6efad6fd85 * align the source initialy address
Originally committed as revision 567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 12:17:08 +00:00
Zdenek Kabelac
2bd978bdb8 * fixed contrains and avoid usage of scale index access
Originally committed as revision 566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 10:10:14 +00:00
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
2002-05-23 10:09:33 +00:00
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
2002-05-22 23:18:59 +00:00
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
2002-05-22 20:46:24 +00:00
Zdenek Kabelac
d7d267dfe0 * minor cleanup
Originally committed as revision 562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-22 13:53:23 +00:00
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
2002-05-21 23:13:57 +00:00
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
2002-05-21 23:07:26 +00:00
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
2002-05-21 22:18:12 +00:00
Zdenek Kabelac
8083185f88 * restored previous non '..' version
Originally committed as revision 558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 21:50:05 +00:00
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
2002-05-21 21:07:47 +00:00
Zdenek Kabelac
777cc95fb4 * using ../ for bswap.h
Originally committed as revision 556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 19:42:43 +00:00
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
2002-05-21 18:56:03 +00:00
Fabrice Bellard
747a67fbab fixed one overflow problem
Originally committed as revision 553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 21:15:53 +00:00
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
2002-05-20 16:37:58 +00:00
Fabrice Bellard
4f12a4976a removed unused code
Originally committed as revision 543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:25:09 +00:00
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
2002-05-20 16:24:39 +00:00
Fabrice Bellard
4d7a0a0593 better av_freep()
Originally committed as revision 541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:23:27 +00:00
Fabrice Bellard
51a4966370 added avcodec_set_bit_exact() for testing
Originally committed as revision 540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:22:51 +00:00
Michael Niedermayer
10fc842423 fixing alignment for alignment picky cpus
Originally committed as revision 535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-19 01:49:53 +00:00
Fabrice Bellard
82acee8fc4 removed unmaintained vc stuff
Originally committed as revision 524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:05:19 +00:00
Fabrice Bellard
6000abfa89 removed useless header includes - use av memory functions
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:03:29 +00:00
Fabrice Bellard
4cc281d9d9 added VPATH support for multiple dir compilation
Originally committed as revision 521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:01:20 +00:00
Fabrice Bellard
3123dd793e proper memory handling functions
Originally committed as revision 520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:50 +00:00
Fabrice Bellard
61a4e8ae3b removed debug function
Originally committed as revision 519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:12 +00:00
Fabrice Bellard
f9ed4f8894 put all integer init code to compute n^(4/3) - memory alloc and header fixes
Originally committed as revision 518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:58:08 +00:00
Fabrice Bellard
5bd12d1277 improved mpeg1/2 decoding speed
Originally committed as revision 517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:50 +00:00
Fabrice Bellard
44f27b3a86 added proper memory handling functions - fixed include paths
Originally committed as revision 516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:25 +00:00
Fabrice Bellard
9241551049 tried to avoid gcc 2.95.2 bug by puting explicit register constraints - added comment about rounding bug in some functions (need to correct or suppress them for regression tests)
Originally committed as revision 515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:49:11 +00:00
Michael Niedermayer
4b7b196005 qmin==1 bugfix
Originally committed as revision 511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 15:31:33 +00:00
Michael Niedermayer
a7bd879798 shared lib support (req by kabi) ...
Originally committed as revision 510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 13:01:01 +00:00
Michael Niedermayer
607dce96c0 hopefully faster mmx2&3dnow MC
Originally committed as revision 506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 01:04:14 +00:00
Michael Niedermayer
59fe111e81 new hopefully faster MC
Originally committed as revision 505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 23:29:09 +00:00
Michael Niedermayer
02734c6a3e print frame decoding time support (x86 only)
Originally committed as revision 504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 22:01:30 +00:00