Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
c7d89948a3
Set a constant frame size for encoding G.726 audio.
...
Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
edac49daf5
Use "const" qualifier for pointers that point to input data of
...
audio encoders.
This is purely for clarity/documentation purposes.
Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b5f09d31c2
Make sample_fmts and channel_layouts compound literals const to reduce size of
...
.data section.
Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 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
Diego Biurrun
f544a5fc84
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
...
CONFIG_FOO_ENCODER conditionals where appropriate.
Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
bd10f6e149
Prevent a division by 0 in the g726 decoder when the configured samplerate is 0.
...
patch by Laurent Aimar, fenrir via.ecp fr
Originally committed as revision 15160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
74d9441715
Do not shift F[I] twice, it is also clearer and smaller now.
...
Originally committed as revision 13818 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
50c52d2250
Factorize c->ap += (-c->ap) >> 4 out
...
Originally committed as revision 13817 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0e0d6cfd48
Get rid of G726Tables.bits.
...
Originally committed as revision 13816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
05c9f3516c
Copy 4 pointers to avid dozends of ptr dereferences.
...
Originally committed as revision 13815 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fc234250b4
Does not need to be int16.
...
Originally committed as revision 13814 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cb26c9d664
Factorize I >> (c->tbls->bits - 1) out.
...
Originally committed as revision 13812 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
73ff4f8344
1 abs() less
...
Originally committed as revision 13810 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4714776b6a
simplify
...
Originally committed as revision 13807 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
673a64b89b
useless ()
...
Originally committed as revision 13806 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
428c82cbac
remove unneeded tr == 0
...
Originally committed as revision 13805 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e079a1c94f
simplify
...
Originally committed as revision 13804 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c79c1a01a7
Get rid of the redundant AVG726Context.
...
Originally committed as revision 13803 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ef4c5c6dba
Remove the truncated bitstream handling from our g726 decoder.
...
The stuff belongs in a parser.
Originally committed as revision 13802 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a0e5830ac5
Change iquant tables to int16.
...
Originally committed as revision 13798 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6aa37bcf19
simplify
...
Originally committed as revision 13797 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cf409a6fec
Get rid of useless wrapper function.
...
Originally committed as revision 13796 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
170efe1f9d
Do not inline g726_iterate() the function is big so its inlining will
...
not help speedwise IMHO.
.o size changes from 70k -> 49k
Originally committed as revision 13793 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
aeaa7c3d00
Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler.
...
a little over 1kb smaller .o
Originally committed as revision 13792 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8112075415
Remove redundant zeroing (the context is memset(0)).
...
Originally committed as revision 13791 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e3cafac638
Use smaller data types for tables.
...
Originally committed as revision 13790 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
deec52ccf2
Float11 does not need int, .o file becomes smaller and the code might
...
be faster.
Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7d7a9e7f37
simplify
...
Originally committed as revision 13788 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
aca490777f
Correct validity checks.
...
Originally committed as revision 13787 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8b470cc542
Print sane error message for channels != 1.
...
Originally committed as revision 13786 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
35d0e16ba1
Check number of bits so we do not try to use table entries which do not exist.
...
Originally committed as revision 13785 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8161c28c67
Support decoding of sample_g726.asf.
...
Originally committed as revision 13784 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6dfcdc00b3
get_bits() outputs exactly as many bits as requested no need to mask them.
...
Originally committed as revision 13782 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f6ec220cb5
Remove dead code.
...
Originally committed as revision 13781 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5171fd9dd5
-0x8000 == 0x8000 with int16
...
fixes segfault / issue491
Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5cbbbf378f
const
...
Originally committed as revision 11751 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Pettenò
9307db13f6
Mark the tables in g726.c as constant.
...
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com
Originally committed as revision 11444 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago