Zuxy Meng
9f6152dfdb
Apply 'alloc_size' attribute to ff_realloc_static()
...
Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1701cbfafc
const
...
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1903245071
Ahem, fix typos overlooked in last commit.
...
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
df3a80b50a
cosmetics: misc typo fixes
...
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
58e28fd5c4
simplify ff_copy_bits() when compiled with config-small
...
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
5084ed3a9f
simplify ff_copy_bits: merge 2 test branches
...
Originally committed as revision 9504 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
98f7b56bb6
move ff_copy_bits to bitstream.c
...
Originally committed as revision 9503 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
85d366fd02
use av_freep() in free_vlc() and failed init_vlc()
...
Originally committed as revision 9474 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
b613bacca9
add init_vlc_sparse(). faster than init_vlc() if there are lots of holes in the tables.
...
Originally committed as revision 9117 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Denis Fortin
b8a9974544
printf --> av_log, patch by Denis Fortin, fortin nerim net
...
Originally committed as revision 9038 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Mark Cox
671adb1742
patch so that the deprecated items show up correctly
...
when building doxygen docs
patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com
Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
d7645fb9db
fix init_vlc() with nonzero flags
...
Originally committed as revision 8443 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0769498a9f
deprecate ff_realloc_static
...
Originally committed as revision 8404 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
5dad0282b5
av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.
...
Originally committed as revision 8089 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
beebfdb1e8
Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
...
Originally committed as revision 8088 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
8fbc6aae75
move some functions to bitstream.h to avoid conflicts
...
between different bitstream readers in different codecs
Originally committed as revision 6117 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 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
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
19 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
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
20 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
21 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
21 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