Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
6ca3b248e2
resample: allocate a large enough output buffer
...
Fixes invalid writes and crashes when doing conversions such as stereo to 5.1
channels or sample rate conversion on 5.1 channels.
13 years ago
Michael Niedermayer
3e7db0a9ee
resample: Fix array size
...
Found-by: Jim Radford
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
b2e56e08c9
resample: reject unhandled conversions
...
audio_resample can not reduce the number of channels
13 years ago
Janne Grunau
ec1ce86e7f
resample: remove unused #define
13 years ago
Clément Bœsch
acc3c380cb
resample: fix typo (ouput → output).
13 years ago
Clément Bœsch
b85e9d3104
resample: fix set but unused variable (lfe) warning.
13 years ago
Justin Ruggles
e6c52cee54
Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
...
av_get_bits_per_sample_fmt() is deprecated.
14 years ago
Clément Bœsch
e8876902a9
resample: clarify supported resampling.
...
This also fix a crash on 8ch → 2ch requested resampling.
14 years ago
jan gerber
02260ccc3b
add 5.1 to stereo downmix to resample.c
...
this is based on previous 6to2channel-resample.patch from ffmpeg2theora
but updated to work with trunk and using av_clip_int16.
14 years ago
Alex Converse
ffc437c026
cosmetics: Fix crazy formatting in resample.
14 years ago
Alex Converse
3e00ababc4
Allow resampling with no channel count change for up to 8 channels.
14 years ago
Alex Converse
918a540953
Don't allow unsupported resampling configurations.
14 years ago
Anton Khirnov
9b4f1cdb6a
lavc: remove the FF_API_AUDIO_OLD cruft.
14 years ago
Michael Niedermayer
a61bc91d42
Fix ticket21, temporary audio array was too small.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
7ffe76e540
Merge libavcore into libavutil
...
Done to keep ABI compatible. Otherwise this is just silly
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
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
Stefano Sabatini
ba7d6e798e
Remove usage of deprecated libavcodec/audioconvert.h functions.
...
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
a377cfa6c2
add FF_API_AUDIO_OLD define to disable the deprecated decode_audio API
...
Originally committed as revision 25270 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
6ed040408b
Move AVOptions from libavcodec to libavutil
...
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
2308b6c19a
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
...
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
844d17fb14
Add const in cast. Removes warning:
...
libavcodec/resample.c:215: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 19151 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
89bc05d1ea
give s->resample_context to avoid segfault, avclass was moved
...
Originally committed as revision 19150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
6d69a653d8
Move av_class to AVResampleContext instead of ReSampleContext.
...
Fixes issue 852.
Originally committed as revision 18170 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
5f5e6af169
Prevent heap corruption when resampling 8-bit audio.
...
Originally committed as revision 17311 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d1e3c6fd40
extend resampling API, add S16 internal conversion
...
Originally committed as revision 17163 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
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
Justin Ruggles
14b7062829
cosmetics: make all references to AC-3 capitalized and hyphenated
...
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
30dc554153
Add missing '\n' to log format text
...
Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5d702d6db2
senseless cast and ()
...
Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
90901860c2
stupid code (casting of void*) found by checktree.sh
...
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5eac5f29e3
make output buffer larger so drift compensation can work
...
Originally committed as revision 9967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f1ea5c2a96
typo fixes
...
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
8ec04d344a
set more reasonable cutoff for audio rate conversion
...
Originally committed as revision 8486 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
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
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
6e225de2fe
user selectble cutoff frequency
...
Originally committed as revision 3619 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
ed861c6bd2
make most resample filter parameters selectable at runtime
...
Originally committed as revision 3617 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
b9d2085ba1
various resampling fixes
...
Originally committed as revision 3271 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
dca97cbe01
10l
...
Originally committed as revision 3231 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
aaaf1635c0
polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
...
Originally committed as revision 3228 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
Fabrice Bellard
742d87d633
removed os_support.h
...
Originally committed as revision 2227 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago