Commit Graph

143 Commits

Author SHA1 Message Date
Michael Niedermayer caa336b4cc common.c -> bitstream.c (and the single non bitstream func -> utils.c)
common.h -> common.h/bitstream.h

Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Drew Hess a2c3bf82a7 fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>)
Originally committed as revision 3757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:07:15 +00:00
Burkhard Plaum 073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Bohdan Horst cc044c1cc0 INT MIN/MAX patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 13:20:32 +00:00
Aurelien Jacobs 053dea12f2 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 3578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 02:19:29 +00:00
Zdenek Kabelac 7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Michael Niedermayer 0187e9030a TIMER dummies for non-x86
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 15:52:55 +00:00
Michael Niedermayer 9ff18a7089 10l
Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-01 12:33:07 +00:00
Alex Beregszaszi 92e09c5dd0 unused
Originally committed as revision 3260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 15:00:26 +00:00
Michael Niedermayer 0ff93477be optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 14:11:44 +00:00
Michael Niedermayer caa50878f4 UINT64_MAX fix
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 12:24:42 +00:00
Alex Beregszaszi f4ae934a3b avoid macro conflicts
Originally committed as revision 3076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 09:43:55 +00:00
James Morrison bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Sascha Sommer 2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +00:00
Sascha Sommer 5c668f4610 libavcodec Cygwin compilation failure (II) patch by (Sascha Sommer)
Originally committed as revision 3050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:02:40 +00:00
Michael Niedermayer 10f3005f51 RSHIFT(x,0) fix
Originally committed as revision 3041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 23:15:24 +00:00
Michael Niedermayer 365e75f89b t/dprintf printf -> av_log
Originally committed as revision 3019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:29:35 +00:00
Michael Niedermayer 7d1bbcd42f time & (s)rand is forbidden
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 11:46:01 +00:00
Michael Niedermayer 3ebc7e04de h264 loop filter optimizations
Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 00:18:52 +00:00
Roman Shaposhnik 5825425795 * removing casualties of battle of the wits and English language
Originally committed as revision 2902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 04:19:34 +00:00
Roman Shaposhnik 380fd6b1b4 * DV decoder simplifications. Now it looks to be 6% faster. At least
on my desktop.
     * Misc. DV cleanups and fixes.

Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 22:09:58 +00:00
Roman Shaposhnik e7a18d5deb * moving some of the commonly used bit reading/writing functions
from common.c -> common.h so that they can be inlined.
         + performace gain ~1% (measured with DV decoding)
	 + code bloat 0.05%
      Looks like a win-win solution.

Originally committed as revision 2874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-12 23:39:38 +00:00
Dmitry Baryshkov 5c0513bda7 attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:10:18 +00:00
Gael Chardon 2a24fe4ccc int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 16:41:23 +00:00
Michael Niedermayer 310ffb8f26 c99
Originally committed as revision 2807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 21:22:47 +00:00
Michael Niedermayer d705e4a6bb (f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 00:31:19 +00:00
Michael Niedermayer 9c3d33d67f 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
2004-02-13 17:54:10 +00:00
Michael Niedermayer 99683a3077 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
2004-02-08 22:52:35 +00:00
Alex Beregszaszi fe455f3328 get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +00:00
Michael Niedermayer 9ff5f17543 int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:09:47 +00:00
Alex Beregszaszi e0c53ac889 freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-25 11:13:56 +00:00
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 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
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
Michael Niedermayer a8380f44cf removing unused var & converting 64->32bit
Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 23:12:03 +00:00
Roman Shaposhnik 19d053c5ba * fixes for broken builds on Solaris, OS2 and all bingendian
systems out there.

Originally committed as revision 2480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-04 19:35:43 +00:00
Michel Bardiaux 9b87956678 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer 5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Dan Christiansen dc7cb06ae0 gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 21:05:41 +00:00
Alex Beregszaszi ed7debda14 removed the obsolete and unused parameters of init_put_bits
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:25:00 +00:00
Michael Niedermayer 49e17f8407 recommit of
#define DEBUG fix by (Glenn Maynard <g_sf at zewt dot org>)

Originally committed as revision 2352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:19:39 +00:00
Fabrice Bellard 56c4a18464 ctype.h is a common header
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 19:58:34 +00:00
Fabrice Bellard f5fe9d5f8c export int64_t_C as it is needed by libavformat.h
Originally committed as revision 2144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 16:00:34 +00:00
Mike Melanson 966df5b6b3 reverse earlier patch
Originally committed as revision 2121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 10:00:31 +00:00
Mike Melanson c965f94346 endian-conscious fix, courtesy of Sebastian Jedruszkiewicz
<elf -at- frogger.rules.pl>

Originally committed as revision 2107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 00:12:18 +00:00
Michael Niedermayer dc939fd588 fix CHECKED_ALLOCZ(0)
Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-28 22:51:42 +00:00
Michael Niedermayer b534c7f92a some benchmarking code
Originally committed as revision 1901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 18:04:34 +00:00
Michael Niedermayer 3d2e8cce3a ASV1 codec
with postprocessing support :)

Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 13:30:59 +00:00
Michael Niedermayer 3bb10888ff libmpeg2 style bitstream reader 17 vs 16 bit bugfix
Originally committed as revision 1881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 22:38:58 +00:00
BERO d4961b3523 fastdiv patch by (BERO <bero at geocities dot co dot jp>) with fixes & cleanup by me
Originally committed as revision 1879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 15:12:13 +00:00