Commit Graph

831 Commits

Author SHA1 Message Date
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 5bcfd1ad98 use a local dir for tests
Originally committed as revision 668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:14:21 +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
Philip Gladstone 16300e23d5 * Get the buffer size right now we have the buffer inside the FFStream block
Originally committed as revision 666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:21:10 +00:00
Philip Gladstone e4c47db44b Add the copyright/comment/author/title keywords
Originally committed as revision 665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:19:45 +00:00
Philip Gladstone 084fada8d1 * Add the comment block if any of the comment fields are present.
* Eliminate compiler warning
* Add the codec name if we have it

Originally committed as revision 664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:18:17 +00:00
Philip Gladstone 2ac887bae9 * Give the max stream time configuration item a chance of working
* Add parameters to set author/comment/copyright/title to streamed asf
* Format the stats output a little bit better.

Originally committed as revision 663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:17:06 +00:00
Philip Gladstone 2824c47368 Remove some calls to av_free that tured out to be duplicate. This improves
the behaviour of ffserver streaming asf files from disk.

Originally committed as revision 662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 20:40:53 +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 1eb2212eae mpegaudio decoder is in high precision mode by default (low precision is only interesting for slow/old CPUs)
Originally committed as revision 635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-01 14:35:55 +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
Philip Gladstone 31def22984 * Bad buffer management bug. Forgot to take care of the case
where doubling the size of the buffer is not enough.

Originally committed as revision 633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 20:37:51 +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
Philip Gladstone 4e33b83b18 Added Launch, FaviconURL and Redirect examples
Originally committed as revision 631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 02:54:25 +00:00
Philip Gladstone cde25790ec * New stuff and bug fixes:
* Change to dynamically allocated buffers. Should reduce memory footprint significantly
  as well as eliminate a call to av_abort!
* Better version of WMP rate switching infrastructure. Currently turned off till
  the PTS fixes are in.
* Added a Redirect type feature. This allows URLs served by ffserver to just
  redirect to somewhere else. You might want to do this. Really this needs to
  be enhanced -- say to handle all 404 pages.
* Add mechanism to automatically fire up ffmpeg on ffserver start. This is turned
  on by adding the Launch keyword to the <feed> definition.
* Add logic to take care of non-wmp user agents requesting .asf files. They now get
  a [reference] file with an appropriate mime type. This fixes the mplayer problem.
* Make sure that we have a large buffer for the stats page.
* Add a FaviconURL keyword to the status stream definition. If set, then it
  generates the appropriate HTML so that IE and Mozilla will display the favicon
  as appropriate. OK -- this is a pretty random feature.
* If the ffmpeg is running as a child of ffserver, then report it's CPU usage
  on the status page. [This is linux only -- maybe somebody could do the work for
  another OS. The tricky thing is getting the 'ps' command right.]

Originally committed as revision 630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 02:49:07 +00:00
Philip Gladstone cb09b2ed92 * Go faster stripes: don't check to see if the user presses 'q' if stdin
returns EOF -- e.g. it is connected to /dev/null
* Make the 1MB video buffer only allocated once rather than on each frame.
  The allocation and deallocation causes significant performance loss as the
  kernel remaps the address space each time.

Originally committed as revision 629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 02:38:57 +00:00
Philip Gladstone 3a2d04473d Make sure that the http_proxy environment variable starts with http://
If not, then ignore it's value.

Originally committed as revision 628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 21:18:06 +00:00
Zdenek Kabelac 5845431a86 * added dependency on dsputil_mmx_rnd.h for dsputil test
Originally committed as revision 627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 20:55:16 +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