Michael Niedermayer
71a48ff23c
Add size_in_bits to PutBitContext
...
Originally committed as revision 17006 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
724cc2dfaa
Use AV_WL32/AV_WB32 in bitstream.h
...
Originally committed as revision 16778 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
23ae2b68b0
Replace UNALIGNED_STORES_ARE_BAD with !HAVE_FAST_UNALIGNED
...
Originally committed as revision 16364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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