platform/upstream/libav.git
20 years agoactivate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt...
Michael Niedermayer [Fri, 13 Feb 2004 21:07:31 +0000 (21:07 +0000)]
activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr()

Originally committed as revision 2775 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoreplace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
Michael Niedermayer [Fri, 13 Feb 2004 20:59:48 +0000 (20:59 +0000)]
replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong

Originally committed as revision 2774 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosimplify MV availability check / dont use below last row MV which is always zero
Michael Niedermayer [Fri, 13 Feb 2004 18:39:43 +0000 (18:39 +0000)]
simplify MV availability check / dont use below last row MV which is always zero

Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agomultithreaded/SMP motion estimation
Michael Niedermayer [Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)]
multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoppc chroma mess workaround (real bug is that the motion compensation code assumes...
Michael Niedermayer [Thu, 12 Feb 2004 16:21:21 +0000 (16:21 +0000)]
ppc chroma mess workaround (real bug is that the motion compensation code assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown)

Originally committed as revision 2771 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago * turns out write_packet is supposed to return 0 on success, not
Roman Shaposhnik [Wed, 11 Feb 2004 02:28:34 +0000 (02:28 +0000)]
   * turns out write_packet is supposed to return 0 on success, not
     how many bytes were written.

Originally committed as revision 2770 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago * gotta setup coded_frame for encoding. avcodec.h says that for decoding
Roman Shaposhnik [Tue, 10 Feb 2004 20:48:09 +0000 (20:48 +0000)]
* gotta setup coded_frame for encoding. avcodec.h says that for decoding
      lavc is supposed to set it up as well and I don't think I see any
      reason not to.

Originally committed as revision 2769 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agorv10/obmc fixes
Michael Niedermayer [Mon, 9 Feb 2004 15:23:35 +0000 (15:23 +0000)]
rv10/obmc fixes

Originally committed as revision 2768 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago2 byte shorter userdata for mpeg4
Michael Niedermayer [Sun, 8 Feb 2004 22:52:35 +0000 (22:52 +0000)]
2 byte shorter userdata for mpeg4
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)

Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoima & ms adpcm regression test
Michael Niedermayer [Sun, 8 Feb 2004 02:35:37 +0000 (02:35 +0000)]
ima & ms adpcm regression test

Originally committed as revision 2766 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoM$ ADPCM encoding & some simplifications
Michael Niedermayer [Sun, 8 Feb 2004 02:16:48 +0000 (02:16 +0000)]
M$ ADPCM encoding & some simplifications

Originally committed as revision 2765 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosegfault fix
Michael Niedermayer [Sat, 7 Feb 2004 20:50:26 +0000 (20:50 +0000)]
segfault fix

Originally committed as revision 2764 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agopass strict_std_compliance to audio context too
Michael Niedermayer [Sat, 7 Feb 2004 15:35:53 +0000 (15:35 +0000)]
pass strict_std_compliance to audio context too

Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agouse clip() from common.h
Michael Niedermayer [Sat, 7 Feb 2004 15:33:00 +0000 (15:33 +0000)]
use clip() from common.h
ignore sample_rate==8000 limit if strict_std_compliance < 0

Originally committed as revision 2762 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agog726 regression test
Michael Niedermayer [Sat, 7 Feb 2004 15:10:47 +0000 (15:10 +0000)]
g726 regression test

Originally committed as revision 2761 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago * docs update for G.726
Roman Shaposhnik [Sat, 7 Feb 2004 08:24:24 +0000 (08:24 +0000)]
   * docs update for G.726

Originally committed as revision 2760 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago * Initial implementation of the G.726 ADPCM audio codec.
Roman Shaposhnik [Sat, 7 Feb 2004 08:20:00 +0000 (08:20 +0000)]
  * Initial implementation of the G.726 ADPCM audio codec.

Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago100l
Michael Niedermayer [Sat, 7 Feb 2004 04:21:05 +0000 (04:21 +0000)]
100l

Originally committed as revision 2758 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agono limits!, warning is enough
Michael Niedermayer [Sat, 7 Feb 2004 00:03:11 +0000 (00:03 +0000)]
no limits!, warning is enough

Originally committed as revision 2757 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago- made --extra-cflags option work on darwin
Tinic Uro [Fri, 6 Feb 2004 23:56:37 +0000 (23:56 +0000)]
- made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me

Originally committed as revision 2756 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoh263 4mv encoding fix
Michael Niedermayer [Fri, 6 Feb 2004 22:34:33 +0000 (22:34 +0000)]
h263 4mv encoding fix

Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosegfault fix
Michael Niedermayer [Fri, 6 Feb 2004 21:07:17 +0000 (21:07 +0000)]
segfault fix

Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoget_bit_count -> put_bits_count
Alex Beregszaszi [Fri, 6 Feb 2004 17:51:58 +0000 (17:51 +0000)]
get_bit_count -> put_bits_count

Originally committed as revision 2753 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoget_bit_count -> put_bits_count
Alex Beregszaszi [Fri, 6 Feb 2004 15:27:31 +0000 (15:27 +0000)]
get_bit_count -> put_bits_count

Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoanalyze the gradient of the error surface to avoid a few checks in the quantizing...
Michael Niedermayer [Fri, 6 Feb 2004 03:56:05 +0000 (03:56 +0000)]
analyze the gradient of the error surface to avoid a few checks in the quantizing noise shaper

Originally committed as revision 2751 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoquantizer noise shaping optimization
Michael Niedermayer [Fri, 6 Feb 2004 02:12:37 +0000 (02:12 +0000)]
quantizer noise shaping optimization

Originally committed as revision 2750 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoVideoBufferSize option patch by ("Henning Haaland Kulander" <hennikul at ifi dot...
Henning Haaland Kulander [Thu, 5 Feb 2004 17:47:24 +0000 (17:47 +0000)]
VideoBufferSize option patch by ("Henning Haaland Kulander" <hennikul at ifi dot uio dot no>)

Originally committed as revision 2749 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoinitial commit for Quicktime Animation (RLE) video decoder; bit depths
Mike Melanson [Thu, 5 Feb 2004 05:22:44 +0000 (05:22 +0000)]
initial commit for Quicktime Animation (RLE) video decoder; bit depths
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet

Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoremove incorect motion estimation table
Michael Niedermayer [Thu, 5 Feb 2004 00:35:08 +0000 (00:35 +0000)]
remove incorect motion estimation table

Originally committed as revision 2747 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agocleanup ugly code (also appearently works around a bug gcc 3.4 which fails compiling...
Michael Niedermayer [Wed, 4 Feb 2004 16:03:10 +0000 (16:03 +0000)]
cleanup ugly code (also appearently works around a bug gcc 3.4 which fails compiling it) by (mru at kth dot se (Måns Rullgård))

Originally committed as revision 2746 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofixes by Gildas Bazin <gbazin at altern dot org>
Michael Niedermayer [Wed, 4 Feb 2004 15:49:55 +0000 (15:49 +0000)]
fixes by Gildas Bazin <gbazin at altern dot org>

Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoadded support for EA ADPCM and SMJPEG IMA ADPCM
Mike Melanson [Tue, 3 Feb 2004 04:27:17 +0000 (04:27 +0000)]
added support for EA ADPCM and SMJPEG IMA ADPCM

Originally committed as revision 2744 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosimplify
Michael Niedermayer [Mon, 2 Feb 2004 14:59:43 +0000 (14:59 +0000)]
simplify

Originally committed as revision 2743 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoquantizer noise shaping
Michael Niedermayer [Mon, 2 Feb 2004 03:52:58 +0000 (03:52 +0000)]
quantizer noise shaping

Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agotiny warning fix
Falk Hüffner [Sun, 1 Feb 2004 22:56:54 +0000 (22:56 +0000)]
tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoPatch for MPEG-2 VOB headers by (Jimmy Blair <blueskyjb at verizon dot net>)
Michael Niedermayer [Sun, 1 Feb 2004 13:06:46 +0000 (13:06 +0000)]
Patch for MPEG-2 VOB headers by (Jimmy Blair <blueskyjb at verizon dot net>)

Originally committed as revision 2740 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agochanged includes
Alex Beregszaszi [Sat, 31 Jan 2004 22:58:32 +0000 (22:58 +0000)]
changed includes

Originally committed as revision 2739 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agonot needed anymore
Alex Beregszaszi [Sat, 31 Jan 2004 22:47:48 +0000 (22:47 +0000)]
not needed anymore

Originally committed as revision 2738 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosegfault fix
Michael Niedermayer [Sat, 31 Jan 2004 21:28:49 +0000 (21:28 +0000)]
segfault fix

Originally committed as revision 2737 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agovsad16_mmx2 only applies if encoders are turned on
Mike Melanson [Sat, 31 Jan 2004 20:41:07 +0000 (20:41 +0000)]
vsad16_mmx2 only applies if encoders are turned on

Originally committed as revision 2736 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agothese functions (get_bit_count and align_put_bits) are referenced even
Mike Melanson [Sat, 31 Jan 2004 20:37:46 +0000 (20:37 +0000)]
these functions (get_bit_count and align_put_bits) are referenced even
when CONFIG_ENCODERS is not defined

Originally committed as revision 2735 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agohandle invalid buffer sizes
Mike Melanson [Sat, 31 Jan 2004 18:17:38 +0000 (18:17 +0000)]
handle invalid buffer sizes

Originally committed as revision 2734 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agowatch those hard tabs
Mike Melanson [Sat, 31 Jan 2004 17:57:57 +0000 (17:57 +0000)]
watch those hard tabs

Originally committed as revision 2733 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agohandle 0-length buffers
Mike Melanson [Sat, 31 Jan 2004 17:40:28 +0000 (17:40 +0000)]
handle 0-length buffers

Originally committed as revision 2732 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agohandle 0-length buffers
Mike Melanson [Sat, 31 Jan 2004 17:30:28 +0000 (17:30 +0000)]
handle 0-length buffers

Originally committed as revision 2731 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agob frames + cbr fix
Michael Niedermayer [Thu, 29 Jan 2004 15:50:54 +0000 (15:50 +0000)]
b frames + cbr fix

Originally committed as revision 2730 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoSSE2 fdct by (Balatoni Denes <pnis at coder dot hu>)
Michael Niedermayer [Thu, 29 Jan 2004 01:15:25 +0000 (01:15 +0000)]
SSE2 fdct by (Balatoni Denes <pnis at coder dot hu>)

Originally committed as revision 2729 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago4mv + b frame encoding segfault fix
Michael Niedermayer [Wed, 28 Jan 2004 00:36:58 +0000 (00:36 +0000)]
4mv + b frame encoding segfault fix

Originally committed as revision 2728 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofirst coded vs. first displayed pts (segfault & pts fix if b frames are used)
Michael Niedermayer [Tue, 27 Jan 2004 13:55:34 +0000 (13:55 +0000)]
first coded vs. first displayed pts (segfault & pts fix if b frames are used)

Originally committed as revision 2727 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years ago10l
Michael Niedermayer [Mon, 26 Jan 2004 19:14:02 +0000 (19:14 +0000)]
10l

Originally committed as revision 2726 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoint64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Michael Niedermayer [Mon, 26 Jan 2004 19:09:47 +0000 (19:09 +0000)]
int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agompeg4 pts fix
Michael Niedermayer [Mon, 26 Jan 2004 19:04:32 +0000 (19:04 +0000)]
mpeg4 pts fix

Originally committed as revision 2724 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoUse reget buffer instead of copying from prev frame
Roberto Togni [Sun, 25 Jan 2004 16:43:09 +0000 (16:43 +0000)]
Use reget buffer instead of copying from prev frame
Added buffer hints, replaced printf with av_log

Originally committed as revision 2723 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofreebsd fix for mpeg12.c (moving INT64_MAX to common.h)
Alex Beregszaszi [Sun, 25 Jan 2004 11:13:56 +0000 (11:13 +0000)]
freebsd fix for mpeg12.c (moving INT64_MAX to common.h)

Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agooptimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http...
Michael Niedermayer [Sat, 24 Jan 2004 23:47:33 +0000 (23:47 +0000)]
optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and alicestreet.com/ffh263.html
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)
3. rtp related stuff (rejetced as it breaks several codecs)
4. some changes to the intra/inter decission & scene change detection (quality tests needed first)

Originally committed as revision 2721 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agooptimization
Michael Niedermayer [Sat, 24 Jan 2004 22:22:42 +0000 (22:22 +0000)]
optimization

Originally committed as revision 2720 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosegfault fix
Michael Niedermayer [Fri, 23 Jan 2004 12:30:31 +0000 (12:30 +0000)]
segfault fix

Originally committed as revision 2719 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoclosed gop support & flags2 as all bits in flags are used
Michael Niedermayer [Thu, 22 Jan 2004 19:48:28 +0000 (19:48 +0000)]
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

20 years agointtypes.h patch by (Chip <szarlada at freemail dot hu>)
Chip [Thu, 22 Jan 2004 12:09:14 +0000 (12:09 +0000)]
inttypes.h patch by (Chip <szarlada at freemail dot hu>)

Originally committed as revision 2717 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agomore tolerance for dc=0
Michael Niedermayer [Wed, 21 Jan 2004 19:14:26 +0000 (19:14 +0000)]
more tolerance for dc=0

Originally committed as revision 2716 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoavcodec_flush_buffers() fix
Michael Niedermayer [Mon, 19 Jan 2004 14:41:34 +0000 (14:41 +0000)]
avcodec_flush_buffers() fix

Originally committed as revision 2715 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosegfault fix
Michael Niedermayer [Sun, 18 Jan 2004 21:57:32 +0000 (21:57 +0000)]
segfault fix

Originally committed as revision 2714 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoremoving broken framerate conversation hack in mpeg1/2
Michael Niedermayer [Sun, 18 Jan 2004 21:41:44 +0000 (21:41 +0000)]
removing broken framerate conversation hack in mpeg1/2

Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agorv20 mv prediction in b frames fix
Michael Niedermayer [Sun, 18 Jan 2004 02:59:01 +0000 (02:59 +0000)]
rv20 mv prediction in b frames fix

Originally committed as revision 2712 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoCONFIG_ENCODERS fix by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Michael Niedermayer [Sat, 17 Jan 2004 22:02:07 +0000 (22:02 +0000)]
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

20 years agoseeking stuff
Michael Niedermayer [Sat, 17 Jan 2004 20:26:44 +0000 (20:26 +0000)]
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

20 years agostore searched distance in index, so we dont waste time searching for keyframes where...
Michael Niedermayer [Sat, 17 Jan 2004 18:06:52 +0000 (18:06 +0000)]
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

20 years agoxvid "packed" stuff support
Michael Niedermayer [Thu, 15 Jan 2004 01:29:26 +0000 (01:29 +0000)]
xvid "packed" stuff support

Originally committed as revision 2708 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoheader parser fix
Michael Niedermayer [Wed, 14 Jan 2004 21:50:05 +0000 (21:50 +0000)]
header parser fix

Originally committed as revision 2707 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoreplic_size==0 fix, needed so that G.726 asf file, so ffmpeg can at least decode...
Michael Niedermayer [Wed, 14 Jan 2004 21:27:59 +0000 (21:27 +0000)]
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

20 years agodont let the demuxer thread die before the video has actually been played as seeking...
Michael Niedermayer [Wed, 14 Jan 2004 20:22:11 +0000 (20:22 +0000)]
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

20 years agouse packet number instead of byte number internally for seeking
Michael Niedermayer [Wed, 14 Jan 2004 18:40:29 +0000 (18:40 +0000)]
use packet number instead of byte number internally for seeking

Originally committed as revision 2704 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agounused
Michael Niedermayer [Wed, 14 Jan 2004 18:32:49 +0000 (18:32 +0000)]
unused

Originally committed as revision 2703 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoseeking fixes
Michael Niedermayer [Wed, 14 Jan 2004 18:18:47 +0000 (18:18 +0000)]
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

20 years agomemleak fix
Michael Niedermayer [Wed, 14 Jan 2004 14:45:53 +0000 (14:45 +0000)]
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

20 years agoseeking in single stream asf patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity...
Kevin Kuphal [Wed, 14 Jan 2004 13:32:49 +0000 (13:32 +0000)]
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

20 years agodont calculate stuff if its not used ...
Michael Niedermayer [Wed, 14 Jan 2004 02:35:04 +0000 (02:35 +0000)]
dont calculate stuff if its not used ...

Originally committed as revision 2699 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofixing twice added offset bug, was triggered by 4mv + sub_cmp != mb_cmp
Michael Niedermayer [Wed, 14 Jan 2004 02:21:39 +0000 (02:21 +0000)]
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

20 years agocaching of timestamps for mpeg-ps so seeking is faster
Michael Niedermayer [Tue, 13 Jan 2004 22:02:49 +0000 (22:02 +0000)]
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

20 years agoRight fix for older zlib version
Roberto Togni [Tue, 13 Jan 2004 20:26:44 +0000 (20:26 +0000)]
Right fix for older zlib version

Originally committed as revision 2696 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoFix for older version of zlib
Roberto Togni [Tue, 13 Jan 2004 19:46:37 +0000 (19:46 +0000)]
Fix for older version of zlib

Originally committed as revision 2695 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agotype fixes, found by Wolfgang Hesseler
Michael Niedermayer [Mon, 12 Jan 2004 22:39:19 +0000 (22:39 +0000)]
type fixes, found by Wolfgang Hesseler

Originally committed as revision 2694 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoMSZH and ZLIB decoder support
Roberto Togni [Mon, 12 Jan 2004 22:14:45 +0000 (22:14 +0000)]
MSZH and ZLIB decoder support
Experimental ZLIB encoder (not working yet)

Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoignore damaged video frames
Michael Niedermayer [Sun, 11 Jan 2004 00:37:25 +0000 (00:37 +0000)]
ignore damaged video frames

Originally committed as revision 2692 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agooops
Michael Niedermayer [Sun, 11 Jan 2004 00:22:03 +0000 (00:22 +0000)]
oops

Originally committed as revision 2691 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofix b frame after seeking blockmess
Michael Niedermayer [Sun, 11 Jan 2004 00:19:10 +0000 (00:19 +0000)]
fix b frame after seeking blockmess

Originally committed as revision 2690 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoaudio pts fix
Michael Niedermayer [Sat, 10 Jan 2004 23:55:57 +0000 (23:55 +0000)]
audio pts fix

Originally committed as revision 2689 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agofixing some seek failure issues
Michael Niedermayer [Sat, 10 Jan 2004 22:36:35 +0000 (22:36 +0000)]
fixing some seek failure issues

Originally committed as revision 2688 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agograyscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))
Michael Niedermayer [Sat, 10 Jan 2004 19:54:12 +0000 (19:54 +0000)]
grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))

Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agocopyright year update of the files i touched and remembered, things look annoyingly...
Michael Niedermayer [Sat, 10 Jan 2004 16:04:55 +0000 (16:04 +0000)]
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

20 years agomore sane inttypes emulation behavior if libavcodec is used outside ffmpeg
Michael Niedermayer [Sat, 10 Jan 2004 12:53:07 +0000 (12:53 +0000)]
more sane inttypes emulation behavior if libavcodec is used outside ffmpeg

Originally committed as revision 2685 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agocleanup
Michael Niedermayer [Sat, 10 Jan 2004 01:58:00 +0000 (01:58 +0000)]
cleanup

Originally committed as revision 2684 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agoalpha amr tip
Michael Niedermayer [Fri, 9 Jan 2004 23:54:42 +0000 (23:54 +0000)]
alpha amr tip

Originally committed as revision 2683 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agosomething unimportant ...
Michael Niedermayer [Fri, 9 Jan 2004 23:43:57 +0000 (23:43 +0000)]
something unimportant ...

Originally committed as revision 2682 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agointtypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot...
Chris Flerackers [Fri, 9 Jan 2004 18:00:31 +0000 (18:00 +0000)]
inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)

Originally committed as revision 2681 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agolrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Steven M. Schultz [Thu, 8 Jan 2004 23:51:23 +0000 (23:51 +0000)]
lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2680 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agooptimize compute_antialias() and add a floating point based alternative (2x faster)
Michael Niedermayer [Thu, 8 Jan 2004 21:08:57 +0000 (21:08 +0000)]
optimize compute_antialias() and add a floating point based alternative (2x faster)

Originally committed as revision 2679 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agomemleak patch by (Gildas Bazin <gbazin at altern dot org>)
Gildas Bazin [Thu, 8 Jan 2004 19:01:16 +0000 (19:01 +0000)]
memleak patch by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk

20 years agouninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
Michael Niedermayer [Thu, 8 Jan 2004 18:44:36 +0000 (18:44 +0000)]
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

20 years agomemleak fix
Michael Niedermayer [Thu, 8 Jan 2004 18:24:35 +0000 (18:24 +0000)]
memleak fix

Originally committed as revision 2676 to svn://svn.ffmpeg.org/ffmpeg/trunk