Michael Niedermayer
5a7bd28335
move align_get_bits() to .h to avoid conflicts between different bitstream readers in different codecs
...
add a skip_bits_long() which can skip by any amount in any direction (several codecs contain half working hacks to do that)
Originally committed as revision 6093 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
727c236a6b
prevent bitstream reader to be overriden
...
Originally committed as revision 6092 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a7702890bd
remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
...
Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
e6f0ad5167
MIPS doesn't like unaligned accesses
...
Originally committed as revision 5469 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
b8d10977f4
add unaligned16() and unaligned64()
...
Originally committed as revision 5366 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
6b250e4725
get_xbits() optimization
...
Originally committed as revision 5257 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
946c113046
get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
...
Originally committed as revision 4829 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michel Bardiaux
288f1e6815
fix some pointer to intger without cast warnings (patch by Michel Bardiaux)
...
Originally committed as revision 4610 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
9061be9fb3
precautionary checks
...
Originally committed as revision 4602 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Diego Biurrun
344b825ceb
Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
...
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Diego Biurrun
bb628dae44
spelling fixes
...
patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself
Originally committed as revision 4382 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
5085d59ddc
arm alignment fix
...
Originally committed as revision 4228 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
cea27ac714
LE bitstream reader based upon a patch by (Balatoni Denes <dbalatoni programozo hu)
...
Originally committed as revision 4215 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
e91f4bf160
avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
...
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
5bb8a0daa1
various fixes related to the non alt_bitstream_reader
...
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
fcbc799cd3
make reverse[] non static
...
Originally committed as revision 4084 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
1b781f82c9
support skiping some bitstream encoding
...
Originally committed as revision 3939 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
7d8b13b46b
make decode012() static inline
...
Originally committed as revision 3895 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
a64a006e95
dont duplicate decode012()
...
Originally committed as revision 3884 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Loïc Le Loarer
61f040dd1a
compile with TRACE define patch by (Loic <lll+ffmpeg m4x org>)
...
Originally committed as revision 3848 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
21 years ago
Zdenek Kabelac
7fea94ce4a
* fixing a few of gcc 'clean-code' warnings
...
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
0187e9030a
TIMER dummies for non-x86
...
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
9ff18a7089
10l
...
Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
92e09c5dd0
unused
...
Originally committed as revision 3260 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
0ff93477be
optimization
...
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
caa50878f4
UINT64_MAX fix
...
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
f4ae934a3b
avoid macro conflicts
...
Originally committed as revision 3076 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
Sascha Sommer
5c668f4610
libavcodec Cygwin compilation failure (II) patch by (Sascha Sommer)
...
Originally committed as revision 3050 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
10f3005f51
RSHIFT(x,0) fix
...
Originally committed as revision 3041 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
365e75f89b
t/dprintf printf -> av_log
...
Originally committed as revision 3019 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
7d1bbcd42f
time & (s)rand is forbidden
...
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
3ebc7e04de
h264 loop filter optimizations
...
Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Michael Niedermayer
310ffb8f26
c99
...
Originally committed as revision 2807 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago