Michael Niedermayer
f9b0694cc8
motion-test: fix height parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
37f701f1c3
avcodec: allow either planar or interleaved sample format when encoding mono
...
When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.
12 years ago
Justin Ruggles
5364327186
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
...
Should fix fate-acodec-adpcm-ima_wav with several compilers.
12 years ago
Justin Ruggles
d58b25aaa2
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
...
Should fix fate-acodec-adpcm-ima_wav with several compilers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
979b9b1f47
h264: switch some asserts to av_assert1/2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1822aee7e6
dsputil_template: replace assert() by av_assert2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c6c560deed
mpeg4videodec: fix integer avoption types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
57e1553e9f
libvpcenc: fix flags voption types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3c9502b0f6
h264: fix integer avoption types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
19a4e10360
gmc_mmx: enable also for large pictures when emu edge isnt needed.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e063ffbf4b
dsputil_mmx: put optimized gmc code back and avoid a VLA without loosing features.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
094a82c7de
get_bits: get_bits_long() support n=0 as the docs allow it
...
also the 0 case is indeed used in some code pathes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
31b2262dca
wmaenc: use float planar sample format
12 years ago
Justin Ruggles
b1540fc884
(e)ac3enc: use planar sample format
12 years ago
Justin Ruggles
f3e2d68df6
aacenc: use planar sample format
12 years ago
Justin Ruggles
095be4fbf6
adpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt
12 years ago
Justin Ruggles
d9a13c2f56
adpcmenc: move 'ch' variable to higher scope
...
It is used for multiple codecs.
12 years ago
Justin Ruggles
9606f19b4e
adpcmenc: fix 3 instances of variable shadowing
12 years ago
Justin Ruggles
1e35574bad
adpcm_ima_wav: simplify encoding
12 years ago
Justin Ruggles
cfc0a80a1d
libvorbis: use planar sample format
12 years ago
Justin Ruggles
473b297f26
libmp3lame: use planar sample formats
12 years ago
Justin Ruggles
233783e2c1
vorbisenc: use float planar sample format
12 years ago
Michael Niedermayer
56d7f7d955
snowenc: get rid of VLA (well it wasnt really variable anyway)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2c34367b4a
libvorbisenc: fix afq delay setting
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
12 years ago
Carl Eugen Hoyos
7548c80acc
Pinnacle TARGA CineWave YUV16 decoder (fourcc Y216).
...
Fixes ticket #1354
12 years ago
Michael Niedermayer
5de75336a1
mpegvideo_armv5te: change asserts to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ed015f67a2
ffv1enc: fix assert in put_vlc_symbol() and update to av_assert2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
856834a77f
ffv1: change w/h asserts to check as the condition can likely happen
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5709e20199
ffv1: remove commented asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
642b4efaf7
ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
bcf07a15a0
x86: dsputil: kill VLA in gmc_mmx()
...
Instead of using an evil VLA, fall back to C version when edge
emulation is needed. MPEG4 GMC is a rarely used fringe feature
so the speed loss is an acceptable cost for safer code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Dmitry Samonenko
f1c6a740fc
libspeexenc: Updated commentary to reflect recent changes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Dmitry Samonenko
978d5bd2a7
libspeexenc: Add an option for enabling DTX
...
Discontinuous transmission is an addition to VAD/VBR operation, that
allows to greatly reduce bitrate for silent chunks or stationary
noises.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
30223b3bf2
lavc: deprecate the audio resampling API.
...
It has been superseded by lavr.
12 years ago
Ronald S. Bultje
2e59210edf
lavc/h264: don't touch H264Context->ref_count[] during MB decoding.
...
The variable is copied to subsequent threads at the same time, so this
may cause wrong ref_count[] values to be copied to subsequent threads.
This bug was found using TSAN and Helgrind.
Original patch by Ronald, adapted with a local_ref_count by Clément,
following the suggestion of Michael Niedermayer.
Signed-off-by: Clément Bœsch <clement.boesch@smartjog.com>
12 years ago
Michael Niedermayer
cf5a98b9e3
mpeg2videodec: fix list of supported frame rates to include sane ext rates.
...
This only adds a subset of the frame rates that can be stored, a full list
would be more than 500 entries. Such full list could (and should) be added
if it has a usecase but the number of users of even the now added rates
seem rather small.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
f6f7d15041
h264: don't touch H264Context->ref_count[] during MB decoding
...
The variable is copied to subsequent threads at the same time, so this
may cause wrong ref_count[] values to be copied to subsequent threads.
This bug was found using TSAN.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Dmitry Samonenko
66a4ac5182
libspeexenc: Updated commentary to reflect recent changes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Dmitry Samonenko
038325ac05
libspeexenc: Add an option for enabling DTX
...
Discontinuous transmission is an addition to VAD/VBR operation, that
allows to greatly reduce bitrate for silent chunks or stationary
noises.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d56834201b
aacenc: fix out of array writes
...
The value used in allocation is based on a estimate of the
maximum size of the spectral coefficients multiplied with 2
and rounded up. The exact or a tighter limit should be
found and used instead. But this issue shouldnt be left
open until someone works on that.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
1e164c0bcc
build: Factor out mpegaudio dependencies to CONFIG_MPEGAUDIO
...
A new hidden config variable is added for the codecs that depend on the
mpegaudio parts.
12 years ago
Michael Niedermayer
e214306775
mpeg2enc: support and use frame_rate_ext when needed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
047dcfabc7
afq: sanity assert on remaining_samples
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b27e2b6e12
afq: update remaining samples variable.
...
Fixes Ticket1785 (opusenc used this variable)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
c9df48909e
libspeexdec: handle NULL return value from speex_packet_to_header()
...
This will happen when the extradata is not a valid Speex header.
12 years ago
Janne Grunau
1481e19825
mpegvideo: set extended_data in ff_update_duplicate_context()
...
AVFrame.extended_data has to reset to the AVFrame.data of the current
thread context after copying the frame contents.
Fixes crashes with frame-threading after 2bc0de3858
.
12 years ago
Justin Ruggles
29abb04e73
libspeexdec: If the channel count is not valid, decode as stereo.
...
When initialized as stereo, libspeex can decode either mono or stereo packets
and will output stereo.
12 years ago
Justin Ruggles
45e5d0c3ac
libspeexdec: properly handle DTX for multiple frames-per-packet
12 years ago
Justin Ruggles
908e22b93a
libspeexdec: move the SpeexHeader from LibSpeexContext to where it is used
12 years ago