Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7a7c4a7bf7
Fix typo.
...
Originally committed as revision 15034 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Bartlomiej Wolowiec
8580314463
Little-endian bitstream writer
...
Originally committed as revision 14965 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
29c8b6263a
Remove dead code in bitstream.h
...
Originally committed as revision 14238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
71c465a151
Bitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER
...
This makes LIBMPEG2_BITSTREAM_READER_HACK redundant, so remove it.
Originally committed as revision 14197 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d05b24ff89
Little helper macro to make the use of INIT_VLC_USE_NEW_STATIC easier.
...
Originally committed as revision 13562 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ccc54864fe
Make init_vlc* support proper static tables instead of this broken beyond
...
imagination alloc_static() trash.
Originally committed as revision 13561 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 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
Kostya Shishkov
b44665c4e6
Make decode210() common function.
...
Originally committed as revision 11382 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
28296f9c9e
move get_unary() to its own file
...
Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Roman Shaposhnik
67c1b32f3d
* getting rid of code duplication
...
Originally committed as revision 9997 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
971e878dca
copy get_unary from vc1
...
Originally committed as revision 9994 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1ae7a85116
indent
...
Originally committed as revision 9894 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
98f7b56bb6
move ff_copy_bits to bitstream.c
...
Originally committed as revision 9503 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 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
Marc Hoffman
73a47fb297
Blackfin is a strictly aligned processor.
...
Patch by Marc Hoffman mmh _at_ pleasantst.com
Subject: [Ffmpeg-devel] PATCH Blackfin UNALIGNED_STORES_ARE_BAD in bitstream.h
Date: Tue, 17 Apr 2007 06:12:02 -0400
Originally committed as revision 8777 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
a9c9a2400b
Supply context to tprintf
...
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
0ac47d632f
fix comment, get/show_bits(0) does not work
...
Originally committed as revision 8029 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Martin Storsjö
4027ed1d06
fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsjö, martin at martin st
...
Originally committed as revision 7261 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3cd52279c9
Use common define for x86_32 and x86_64.
...
Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c45b5de03a
Fix #endif comments.
...
Originally committed as revision 6709 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Gregory Montoir
7da4d4cdec
fix SHOW_SBITS for ALT_BITSTREAM_READER_LE, patch by Gregory Montoir %cyx A users P sourceforge P net%
...
Originally committed as revision 6671 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
Reimar Döffinger
d1121caa66
Fix get_bits_long to work with ALT_BITSTREAM_READER_LE.
...
Gives the same result as get_bits_long_le in vorbis.c instead
of some wild big-/little-endian mixture.
Originally committed as revision 6332 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
ae5e7e7f10
inline align_get_bits()
...
Originally committed as revision 6169 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
0e176c3eb5
remove redundant declarations
...
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
a1b65018f1
use the A32_BITSTREAM_READER by default on ARM (faster)
...
Originally committed as revision 6120 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
75c998a219
force usage of ALT_BITSTREAM_READER where needed
...
Originally committed as revision 6118 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
Aurelien Jacobs
6ff3b2b838
Fix A32_BITSTREAM_READER compilation on x86
...
Originally committed as revision 6102 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6e4703cac7
2nd try of skip_bits_long() for the ALT reader
...
1st try for the LIBMPEG2 reader
simplify init_get_bits()
Originally committed as revision 6097 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a42ec9f484
make A32 reader align its ptr during init no matter what missaligned mess is given to it
...
Originally committed as revision 6096 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3dddf21fcc
3rd try :)
...
Originally committed as revision 6095 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1491e21cdb
2nd try for a skip_bits_long() for the A32 reader
...
Originally committed as revision 6094 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
Michael Niedermayer
727c236a6b
prevent bitstream reader to be overriden
...
Originally committed as revision 6092 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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