ffmpeg.git
17 years agosimplify
Michael Niedermayer [Wed, 18 Feb 2004 14:05:49 +0000 (14:05 +0000)]
simplify
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them

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

17 years agoflac
Alex Beregszaszi [Wed, 18 Feb 2004 12:51:56 +0000 (12:51 +0000)]
flac

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

17 years agoavoid negative array indices
Alex Beregszaszi [Wed, 18 Feb 2004 12:49:30 +0000 (12:49 +0000)]
avoid negative array indices

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

17 years agocrc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf...
Michael Niedermayer [Wed, 18 Feb 2004 04:10:52 +0000 (04:10 +0000)]
crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms

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

17 years agoremove residual array, it isnt really needed
Michael Niedermayer [Wed, 18 Feb 2004 02:00:55 +0000 (02:00 +0000)]
remove residual array, it isnt really needed

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

17 years agoflac fixes:
Michael Niedermayer [Wed, 18 Feb 2004 01:49:30 +0000 (01:49 +0000)]
flac fixes:
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size

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

17 years agoflac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
Michael Niedermayer [Wed, 18 Feb 2004 01:22:05 +0000 (01:22 +0000)]
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)

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

17 years agonoise reduction with threads bugfix
Michael Niedermayer [Tue, 17 Feb 2004 18:57:50 +0000 (18:57 +0000)]
noise reduction with threads bugfix

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

17 years agomore error checks for the sequence header
Michael Niedermayer [Mon, 16 Feb 2004 03:34:11 +0000 (03:34 +0000)]
more error checks for the sequence header

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

17 years agoAAC support in mov, correct aspect ratio support and user data support patch by ...
Gildas Bazin [Sat, 14 Feb 2004 19:08:09 +0000 (19:08 +0000)]
AAC support in mov, correct aspect ratio support and user data support patch by (Gildas Bazin <gbazin at altern dot org>)
and regression test checksum update for it by me

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

17 years agorle_code can overflow when multiplied by 4
Roberto Togni [Sat, 14 Feb 2004 18:12:36 +0000 (18:12 +0000)]
rle_code can overflow when multiplied by 4
(fixes Animation-256Greys.mov from mphq)

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

17 years agofix image resize
Michael Niedermayer [Sat, 14 Feb 2004 17:20:42 +0000 (17:20 +0000)]
fix image resize

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

17 years agoUse av_log
Roberto Togni [Sat, 14 Feb 2004 17:11:46 +0000 (17:11 +0000)]
Use av_log

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

17 years agoavio patch by (Gildas Bazin <gbazin at altern dot org>)
Gildas Bazin [Sat, 14 Feb 2004 16:25:32 +0000 (16:25 +0000)]
avio patch by (Gildas Bazin <gbazin at altern dot org>)

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

17 years agomsadpcm encoding
Michael Niedermayer [Sat, 14 Feb 2004 15:11:20 +0000 (15:11 +0000)]
msadpcm encoding

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

17 years agoLog file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now...
Gael Chardon [Sat, 14 Feb 2004 15:04:01 +0000 (15:04 +0000)]
Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)

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

17 years agonormalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka ...
Michael Niedermayer [Sat, 14 Feb 2004 13:37:58 +0000 (13:37 +0000)]
normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>))

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

17 years agompeg4 b frame + adaptive quantization assertion failure fix
Michael Niedermayer [Sat, 14 Feb 2004 03:49:43 +0000 (03:49 +0000)]
mpeg4 b frame + adaptive quantization assertion failure fix

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

17 years agomultithreaded spatial complexity calculation for i frames
Michael Niedermayer [Sat, 14 Feb 2004 03:21:03 +0000 (03:21 +0000)]
multithreaded spatial complexity calculation for i frames

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

17 years agoff_copy_bits() optimization
Michael Niedermayer [Sat, 14 Feb 2004 01:25:41 +0000 (01:25 +0000)]
ff_copy_bits() optimization

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

17 years agothreadless threads warning
Michael Niedermayer [Fri, 13 Feb 2004 22:18:33 +0000 (22:18 +0000)]
threadless threads warning

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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