Justin Ruggles
a38eadf7ed
atrac1: do not keep a copy of channel count in the private context
12 years ago
Justin Ruggles
4f56f9c48f
dsicinaudio: set channels and channel layout
12 years ago
Justin Ruggles
ec2694d259
g722dec: set channel layout at initialization instead of validating it
12 years ago
Justin Ruggles
ee0e9678e7
amrwbdec: set channels, channel_layout, and sample_rate
...
Only mono 16kHz is supported.
12 years ago
Justin Ruggles
b24a4449a5
amrnbdec: set channels, channel_layout, and sample_rate
...
Only mono 8kHz is supported.
12 years ago
Justin Ruggles
a4202003b2
dca_parser: allow the parser to change the sample rate
12 years ago
Justin Ruggles
0366664ef9
lavc: check channel count after decoder init
...
Ensures the decoder did not set channel count to an insanely high value
during initialization, which could cause large memory usage when it tries to
get a buffer during decoding.
12 years ago
Justin Ruggles
bb6941af2a
lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders
12 years ago
Janne Grunau
6b07830a77
fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV
...
Fixes typo in 2cbdd7c929
.
12 years ago
Diego Biurrun
02e4275180
avconv_opt, cmdutils: Add missing function parameter Doxygen
12 years ago
Diego Biurrun
c37322e68c
x86: Move optimization suffix to end of function names
...
This simplifies cpuflags porting.
12 years ago
Diego Biurrun
fa8fcab1e0
x86: h264_chromamc_10bit: drop pointless PAVG %define
...
It is only used in one place so there is no need for the abstraction.
12 years ago
Diego Biurrun
d8eda37080
x86: mmx2 ---> mmxext in function names
12 years ago
Kostya Shishkov
38fdf72580
swscale: do not forget to swap data in formats with different endianness
...
Otherwise during scaling it will try to interpret input in the wrong way and
that leads to the test results disagreeing on different platforms and with
different optimizations.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Diego Biurrun
5707af8d0b
aacdec: Drop some unused function arguments
12 years ago
Dave Yeo
9c167914a1
x86: Fix assembly with NASM
...
Unlike YASM, NASM only looks for include files in the current
directory, not in the directory that included files reside in.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Diego Biurrun
be2c456e96
x86: fmtconvert: Refactor cvtps2pi emulation through cpuflags
12 years ago
Diego Biurrun
be923ed659
x86: fmtconvert: port to cpuflags
12 years ago
Diego Biurrun
588fafe7f3
x86: MMX2 ---> MMXEXT in macro names
12 years ago
Diego Biurrun
a65bdceb06
x86: mmx2 ---> mmxext in variable names
12 years ago
Diego Biurrun
652f518594
x86: mmx2 ---> mmxext in comments and messages
12 years ago
Diego Biurrun
04581c8c77
x86: yasm: Use complete source path for macro helper %includes
...
This is more consistent with the way we handle C #includes and
it simplifies the build system.
12 years ago
Diego Biurrun
6860b4081d
x86: include x86inc.asm in x86util.asm
...
This is necessary to allow refactoring some x86util macros with cpuflags.
12 years ago
Martin Storsjö
ab9545a290
cng: Reindent some incorrectly indented lines
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
6b68223d31
cngdec: Allow flushing the decoder
...
After a flush, don't average the output envelope and energy with
previous iterations.
Also start directly from the target values for the first iteration
at startup.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
036e6c37d3
cngdec: Make the dbov variable have the right unit
...
Previously the unit of the variable was Bov, not dBov.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
cafefd889b
cngdec: Fix the memset size to cover the full array
...
This was a leftover from previous iterations of the code, where the
refl coef arrays were statically allocated.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
9b50d20cd2
cngdec: Update the LPC coefficients after averaging the reflection coefficients
...
I somehow messed up the placement of this one.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Mans Rullgard
d16c4aebba
configure: fix print_config() with broke awks
...
Some awk versions do not treat the result of unary + on a (numeric)
string as numeric, giving wrong results when used in a boolean context
Using unary - instead is logically equivalent works as expected.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
26b5ad2543
swscale: support gray to 9bit and 10bit formats
...
With the input of Kostya and Ronald.
12 years ago
Mans Rullgard
f454e87923
configure: rewrite print_config() function using awk
...
This is much faster with slow shells and noticeably faster even
with bash on a fast Linux system.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Anton Khirnov
02e6364259
FATE: fix (AD)PCM test dependencies broken in e519990
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Ronald S. Bultje
95c89da36e
Use ptrdiff_t instead of int for intra pred "stride" function parameter.
...
This way, SIMD-optimized functions don't have to sign-extend their
stride argument manually to be able to do pointer arithmetic.
12 years ago
Ronald S. Bultje
bad8e33dc9
x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.
12 years ago
Ronald S. Bultje
08b028c18d
Remove INIT_AVX from x86inc.asm.
12 years ago
Ronald S. Bultje
c285edd06e
Remove usage of INIT_AVX in h264_intrapred_10bit.asm.
...
Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag
based function declarations. Remove (now unused) cputype argument in
function declaration macros. Change function prototypes to have mmx2
instead of mmxext as suffix, since that's required by cpuflags.
12 years ago
Anton Khirnov
ede4cedf47
dv: fix indentation
12 years ago
Anton Khirnov
14f031d7ec
dv: use AVStream.index instead of abusing AVStream.id
12 years ago
Anton Khirnov
20dd41af85
lavfi: add ashowinfo filter
...
It can be useful for debugging.
Based on a patch by Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years ago
Martin Storsjö
9b500b8f6c
avcodec: Add a RFC 3389 comfort noise codec
...
This isn't too useful as a normal codec, but can be used in
voip style applications. The decoder updates the noise
generator parameters when a packet is given to it for decoding,
but if called with an empty packet, it generates more noise
according to the last parameters.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
8b25a20efb
lpc: Add a function for calculating reflection coefficients from samples
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
39ef66f530
lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
dc5793062e
lavr: document upper bound on number of output samples.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
01b760190d
lavr: add general API usage doxy
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
bff5e5f8b3
indeo3: remove duplicate capabilities line.
12 years ago
Diego Biurrun
2cbdd7c929
fate: ac3: Add dependencies
12 years ago
Diego Biurrun
381dc1a5ec
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
12 years ago
Diego Biurrun
e519990ced
fate: Add shorthands for acodec PCM and ADPCM tests
12 years ago
Diego Biurrun
70478746a9
avconv: Drop unused function argument from do_video_stats()
12 years ago