Mans Rullgard
8ff7857861
ARM: libavresample: NEON optimised generic fltp to s16 conversion
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
d26de339af
ARM: libavresample: NEON optimised stereo fltp to s16 conversion
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
643b5b794f
ARM: libavresample: NEON optimised flat float to s16 conversion
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Tim Walker
b901c30da6
lavr/audio_mix_matrix: acknowledge the existence of LFE2.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Diego Biurrun
e0c6cce447
x86: Replace checks for CPU extensions and flags by convenience macros
...
This separates code relying on inline from that relying on external
assembly and fixes instances where the coalesced check was incorrect.
12 years ago
Martin Storsjö
c7b610aa0b
avopt: Explicitly store float/double option defaults in .dbl
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
17337f54c0
x86: Split inline and external assembly #ifdefs
13 years ago
Diego Biurrun
a886b279a0
x86: cosmetics: Comment some #endifs for better readability
13 years ago
Anton Khirnov
4d7adec8bd
AVOptions: store defaults for INT64 options in int64 union member.
...
Double does not have enough precision to represent all int64 numbers
exactly.
13 years ago
Justin Ruggles
06e751a40f
lavr: x86: optimized 6-channel flt to fltp conversion
13 years ago
Justin Ruggles
e07c9705c8
lavr: x86: optimized 2-channel flt to fltp conversion
13 years ago
Justin Ruggles
5245c9f3ad
lavr: x86: optimized 6-channel flt to s16p conversion
13 years ago
Justin Ruggles
31d0d7181d
lavr: x86: optimized 2-channel flt to s16p conversion
13 years ago
Justin Ruggles
6092dafb5a
lavr: x86: optimized 6-channel s16 to fltp conversion
13 years ago
Justin Ruggles
91851a7b37
lavr: x86: optimized 2-channel s16 to fltp conversion
13 years ago
Justin Ruggles
205ace8843
lavr: x86: optimized 6-channel s16 to s16p conversion
13 years ago
Justin Ruggles
8eeffa8ada
lavr: x86: optimized 2-channel s16 to s16p conversion
13 years ago
Justin Ruggles
b66e20d2aa
lavr: x86: optimized 2-channel fltp to flt conversion
13 years ago
Justin Ruggles
d5b4e50c47
lavr: x86: optimized 6-channel fltp to s16 conversion
13 years ago
Justin Ruggles
a58a013980
lavr: x86: optimized 2-channel fltp to s16 conversion
13 years ago
Justin Ruggles
90cc27f813
lavr: x86: optimized 6-channel s16p to flt conversion
13 years ago
Justin Ruggles
46f929adad
lavr: x86: optimized 2-channel s16p to flt conversion
13 years ago
Justin Ruggles
13df7d2d40
lavr: x86: optimized 6-channel s16p to s16 conversion
13 years ago
Justin Ruggles
c0e12535aa
lavr: x86: optimized 2-channel s16p to s16 conversion
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
John Stebbins
4cf4028331
libavresample: add mix level normalization option
...
Provides an option to disable mix level normalization
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
3aa696e883
avresample: De-doxygenize some comments where Doxygen is not appropriate
13 years ago
Diego Biurrun
804d7a1aa6
doxygen: Fix function parameter names to match the code
13 years ago
Mans Rullgard
a3df4781f4
x86: add colons after labels
...
nasm prints a warning if the colon is missing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
8821ae649e
lavr: fix handling of custom mix matrices
...
Adds some validation for changing parameters after setting the matrix and
fixes a bug in the conversion path setup.
13 years ago
Justin Ruggles
e9da9a3111
lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro
...
Removes a false dependency on existing contents of the 2nd dst register,
giving better performance for OOE.
13 years ago
Justin Ruggles
2f096bb10e
lavr: add x86-optimized mixing functions
...
Adds optimized functions for mixing 3 through 8 input channels to 1 and 2
output channels in fltp or s16p format with flt coeffs.
13 years ago
Ronald S. Bultje
30b45d9c38
x86inc: automatically insert vzeroupper for YMM functions.
13 years ago
Justin Ruggles
0dadf9d1e9
lavr: x86: add missing vzeroupper in ff_mix_1_to_2_fltp_flt()
13 years ago
Justin Ruggles
6410397600
lavr: resampling: add support for s32p, fltp, and dblp internal sample formats
...
Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in
libswresample in FFmpeg. See commits:
7f1ae79d38
24ab1abfb6
13 years ago
Justin Ruggles
372647aed0
lavr: resampling: add filter type and Kaiser window beta to AVOptions
13 years ago
Justin Ruggles
8ca08066fc
lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample format
...
Also make this the default value.
13 years ago
Justin Ruggles
db0e7bd0bd
lavr: mix: validate internal sample format in ff_audio_mix_init()
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Justin Ruggles
acd9948e74
lavr: x86: fix ff_conv_fltp_to_flt_6ch function prototypes
...
Changed to match the number of parameters in conv_func_interleave(), which is
how they are called. The change isn't strictly necessary because the 4th
parameter is not used, but the code is clearer if they match.
13 years ago
Justin Ruggles
14a34d90ad
lavr: x86: merge some branches
13 years ago
Justin Ruggles
4e4dd71730
lavr: Add x86-optimized function for flt to s32 conversion
13 years ago
Justin Ruggles
6c63cbfe7a
lavr: Add x86-optimized function for flt to s16 conversion
13 years ago
Justin Ruggles
97ce1ba867
lavr: Add x86-optimized functions for s32 to flt conversion
13 years ago
Justin Ruggles
5904f25b9f
lavr: Add x86-optimized functions for s32 to s16 conversion
13 years ago
Justin Ruggles
d721f67d0a
lavr: Add x86-optimized functions for s16 to flt conversion
13 years ago
Justin Ruggles
1168e29df1
lavr: Add x86-optimized function for s16 to s32 conversion
13 years ago
Justin Ruggles
f61ce90caa
lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
13 years ago