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
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
Michael Niedermayer
9fe5a7b831
do not call (av_)abort()
...
Originally committed as revision 3543 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
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
Alex Beregszaszi
fe455f3328
get_bit_count -> put_bits_count
...
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
7bf3261289
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
21 years ago
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
21 years ago
Michael Niedermayer
a8380f44cf
removing unused var & converting 64->32bit
...
Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
3d0ef6dd52
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
22 years ago
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
22 years ago
Alex Beregszaszi
e7124ffc68
using av_abort instead exit
...
Originally committed as revision 2092 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
3bb10888ff
libmpeg2 style bitstream reader 17 vs 16 bit bugfix
...
Originally committed as revision 1881 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
17fb5fd34e
libmpeg2 style bitstream reader fixes
...
Originally committed as revision 1875 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
BERO
d8e00c0997
bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)
...
Originally committed as revision 1871 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
f138f88364
100l (document buffer padding requirements)
...
Originally committed as revision 1866 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
5fd74135ad
more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
14bea432f1
per context frame_rate_base, this should finally fix frame_rate related av sync issues
...
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
ae39132d07
* using const buffers for reading
...
Originally committed as revision 1603 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
5c91a6755b
* static,const,compiler warning cleanup
...
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
c81f034988
optimizing av_log2
...
Originally committed as revision 1515 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
8e1e6f31c1
use av_malloc() functions - added av_strdup and av_realloc()
...
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
68f593b484
GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
...
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
5d3cea3a86
aspect ratio cleanup
...
Originally committed as revision 1254 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
18f770162b
* fixing some minor const warnings
...
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
81ada1ce9d
cleanup
...
Originally committed as revision 1172 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
f36db5dfd3
faster ff_sqrt()
...
Originally committed as revision 859 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
6300c80a88
dont trash table in GET_VLC
...
Originally committed as revision 741 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
cceabc8656
get_vlc() optimization
...
Originally committed as revision 735 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
df595131bb
* declare av_free
...
Originally committed as revision 729 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
8db1a1dde0
new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
...
minor optimizations to get_vlc
Originally committed as revision 725 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
8fd5fe9429
use #ifdef
...
Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
c9b5489c08
fixing get_bits_count at the end
...
Originally committed as revision 638 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
6000abfa89
removed useless header includes - use av memory functions
...
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
9717dad883
move put_string() to common.{c,h}
...
Originally committed as revision 439 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
9dbcbd92e8
fixed mpeg4 time stuff on encoding
...
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)
added some comments to mpegvideo.h
do MC on encoding only once if possible
bugs? ;)
Originally committed as revision 403 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
45870f5718
new motion estimation (epzs) not complete yet but allready pretty good :)
...
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected
Originally committed as revision 344 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
49c9325f56
support decoding (with mplayer) of 3 .mp4 files from mphq
...
optimize h263_pred_motion()
Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
d8cf5aea49
optimized the normal bitstream writer, its faster than the alternative one on p3 now ... lets hope its at least not slower on p4 & k7
...
Originally committed as revision 299 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
17592475b3
alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
...
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Arpi
580b82fa24
(m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <rsnel@cube.dyndns.org>
...
Originally committed as revision 280 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
3587d501a3
aligned bitstream support (optional) - patch by ichael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 253 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
27a3e2c5e0
another bitstream reader code (faster on intel cpus) - patch by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 252 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Juanjo
4949028f85
- Bug fix on inter MCBPC table for inter+q.
...
- H.263/H.263+ decoder now knows GOB start codes.
- H.263/H.263+ decoder now returns the size of the stream on the first call.
- Added show_bits() functions to see the buffer without loosing the bits.
- TODO: H.263v1 UMV parsing is buggy.
Originally committed as revision 204 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
1a56543279
win32 fixes
...
Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago