Commit Graph

2972 Commits

Author SHA1 Message Date
Michael Niedermayer 7a62e94a26 optimization
Originally committed as revision 2720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-24 22:22:42 +00:00
Michael Niedermayer 83f8c0c3c8 segfault fix
Originally committed as revision 2719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-23 12:30:31 +00:00
Michael Niedermayer 303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Chip d398a27e0b inttypes.h patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 12:09:14 +00:00
Michael Niedermayer 403f10996d more tolerance for dc=0
Originally committed as revision 2716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-21 19:14:26 +00:00
Michael Niedermayer 20f155ed80 avcodec_flush_buffers() fix
Originally committed as revision 2715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-19 14:41:34 +00:00
Michael Niedermayer 40a3105d46 segfault fix
Originally committed as revision 2714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:57:32 +00:00
Michael Niedermayer 2c492e94fc removing broken framerate conversation hack in mpeg1/2
Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:41:44 +00:00
Michael Niedermayer 8e78482542 rv20 mv prediction in b frames fix
Originally committed as revision 2712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 02:59:01 +00:00
Michael Niedermayer 8a05bca46c CONFIG_ENCODERS fix by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Originally committed as revision 2711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 22:02:07 +00:00
Michael Niedermayer 0888ac4f27 seeking stuff
adaptively change middle position selection algo for seeking, this avoids some ugly worstcases of the interpolated variant
  avoid backward search for mpeg where possible, its 17 times slower then forward according to my benchmark

Originally committed as revision 2710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 20:26:44 +00:00
Michael Niedermayer 3e9245a98e store searched distance in index, so we dont waste time searching for keyframes where we already searched
asf seek fixes & use keyframe pos/timestamp cache

Originally committed as revision 2709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 18:06:52 +00:00
Michael Niedermayer fb204d4bc1 xvid "packed" stuff support
Originally committed as revision 2708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-15 01:29:26 +00:00
Michael Niedermayer 29962fea47 header parser fix
Originally committed as revision 2707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 21:50:05 +00:00
Michael Niedermayer 1305a9d55e replic_size==0 fix, needed so that G.726 asf file, so ffmpeg can at least decode the video without segfaulting
Originally committed as revision 2706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 21:27:59 +00:00
Michael Niedermayer 0c904df2b6 dont let the demuxer thread die before the video has actually been played as seeking would become impossible shortly before EOF
Originally committed as revision 2705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 20:22:11 +00:00
Michael Niedermayer 09646bab63 use packet number instead of byte number internally for seeking
Originally committed as revision 2704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:40:29 +00:00
Michael Niedermayer a602556e06 unused
Originally committed as revision 2703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:32:49 +00:00
Michael Niedermayer 82b9e4a286 seeking fixes
memleaks
  infinite loops
  uninitalized variables
with some luck u can seek now a few times before it dies

Originally committed as revision 2702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:18:47 +00:00
Michael Niedermayer 580fb5e72c memleak fix
multiple stream seeking (yes i know seeking is still broken)
related cleanup

Originally committed as revision 2701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 14:45:53 +00:00
Kevin Kuphal 38376f00fd seeking in single stream asf patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity dot net>)
Originally committed as revision 2700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 13:32:49 +00:00
Michael Niedermayer 237da0fa20 dont calculate stuff if its not used ...
Originally committed as revision 2699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 02:35:04 +00:00
Michael Niedermayer a75b43fd73 fixing twice added offset bug, was triggered by 4mv + sub_cmp != mb_cmp
bug was introduced in version 1.75 (2003-12-30)
this may have lead to a small drop in quality of the 4mv mode, but should have only affected the mbd=0 case

Originally committed as revision 2698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 02:21:39 +00:00
Michael Niedermayer b754978a3b caching of timestamps for mpeg-ps so seeking is faster
move (av_)find_stream_index() to utils.c as its usefull outside mpeg.c
assert checking enabled, to find bugs quicker, should obviously be disabled later
(av_)add_index_entry() inserts new entries so that the list stays ordered and updates entries if already in it
(av_)index_search_timestamp() cleanup (kill ugly goto) and shorter

Originally committed as revision 2697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 22:02:49 +00:00
Roberto Togni 6245598582 Right fix for older zlib version
Originally committed as revision 2696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 20:26:44 +00:00
Roberto Togni ccbfd4ba96 Fix for older version of zlib
Originally committed as revision 2695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 19:46:37 +00:00
Michael Niedermayer 507a8e0d70 type fixes, found by Wolfgang Hesseler
Originally committed as revision 2694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:39:19 +00:00
Roberto Togni a273bbfb03 MSZH and ZLIB decoder support
Experimental ZLIB encoder (not working yet)

Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:14:45 +00:00
Michael Niedermayer fb966f99b0 ignore damaged video frames
Originally committed as revision 2692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:37:25 +00:00
Michael Niedermayer 041086191f oops
Originally committed as revision 2691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:22:03 +00:00
Michael Niedermayer 93e1a0a9de fix b frame after seeking blockmess
Originally committed as revision 2690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:19:10 +00:00
Michael Niedermayer 0a61ba5869 audio pts fix
Originally committed as revision 2689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 23:55:57 +00:00
Michael Niedermayer e6c0297f1c fixing some seek failure issues
Originally committed as revision 2688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 22:36:35 +00:00
Michael Niedermayer 909678c707 grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))
Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 19:54:12 +00:00
Michael Niedermayer 8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer d2a9bdddd8 more sane inttypes emulation behavior if libavcodec is used outside ffmpeg
Originally committed as revision 2685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 12:53:07 +00:00
Michael Niedermayer d94728c377 cleanup
Originally committed as revision 2684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 01:58:00 +00:00
Michael Niedermayer 821e46f4a7 alpha amr tip
Originally committed as revision 2683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 23:54:42 +00:00
Michael Niedermayer c562c4da89 something unimportant ...
Originally committed as revision 2682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 23:43:57 +00:00
Chris Flerackers 7f965c1c89 inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 2681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 18:00:31 +00:00
Steven M. Schultz 84f986c0f4 lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 23:51:23 +00:00
Michael Niedermayer a1e257b231 optimize compute_antialias() and add a floating point based alternative (2x faster)
Originally committed as revision 2679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 21:08:57 +00:00
Gildas Bazin ec7d0d2e9e memleak patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 19:01:16 +00:00
Michael Niedermayer 303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer 967be70050 memleak fix
Originally committed as revision 2676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:24:35 +00:00
Michael Niedermayer 64cba7481b patch for configuring amr_wb by ("Murphy Chen" <murphychen at mail2000 dot com dot tw>)
Originally committed as revision 2675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 17:47:30 +00:00
Michael Niedermayer 85e3374798 mpeg1 overflowing dc coeff fix
Originally committed as revision 2674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 21:16:59 +00:00
Michael Niedermayer af547ce5a4 fix assertion failure when writing mov files
Originally committed as revision 2673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 21:03:41 +00:00
Kevin Kuphal d13431cd56 ASF extended header parsing patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity dot net>)
Originally committed as revision 2672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 15:31:36 +00:00
Michael Niedermayer 4850b2d243 LDFLAGS fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 02:30:03 +00:00