summaryrefslogtreecommitdiff
path: root/libavcodec/fmtconvert.c
Commit message (Collapse)AuthorAgeFilesLines
* dca: change the core to work with integer coefficients.Alexandra Hájková2015-12-231-0/+9
| | | | | | | | | | | | The DCA core decoder converts integer coefficients read from the bitstream to floats just after reading them (along with dequantization). All the other steps of the audio reconstruction are done with floats which makes the output for the DTS lossless extension (XLL) actually lossy. This patch changes the DCA core to work with integer coefficients until QMF. At this point the integer coefficients are converted to floats. The coefficients for the LFE channel (lfe_data) are not touched. This is the first step for the really lossless XLL decoding.
* arm64: int32_to_float_fmul neon asmJanne Grunau2015-12-141-3/+8
| | | | | | | | | | 3% faster dts decoding on a cortex-a57. cortex-a57 cortex-a53 int32_to_float_fmul_array8_c: 1270.9 4475.6 int32_to_float_fmul_array8_neon: 328.6 569.2 int32_to_float_fmul_scalar_c: 928.5 4119.6 int32_to_float_fmul_scalar_neon: 309.1 524.1
* fmtconvert: drop unused functionsAnton Khirnov2015-02-281-49/+0
|
* fmtconvert: Add a new method, int32_to_float_fmul_array8Ben Avison2013-07-221-0/+10
| | | | | | | | | | This is similar to int32_to_float_fmul_scalar, but loads a new scalar multiplier every 8 input samples. This enables the use of much larger input arrays, which is important for pipelining on some CPUs (such as ARMv6). Signed-off-by: Martin Storsjö <martin@martin.st>
* fmtconvert: Explicitly use int32_t instead of intChristophe Gisquet2013-07-171-1/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ppc: More consistent arch initializationDiego Biurrun2013-04-301-1/+1
|
* x86: call most of the x86 dsp init functions under if (ARCH_X86)Janne Grunau2012-10-081-1/+1
| | | | Rename the called dsp init functions to *_init_x86.
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add float_interleave() to FmtConvertContext with x86-optimized versions.Justin Ruggles2011-05-181-0/+20
| | | | | Partially based on patches by clsid2 in ffdshow-tryout. ff_float_interleave6() x86 improvements by Loren Merrit.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: rename ff_fmt_convert_init_ppc() to ff_fmt_convert_init_altivec().Justin Ruggles2011-03-071-1/+1
| | | | It only has Altivec functions and is not compiled if Altivec is disabled.
* Fix compilation on powerpc with --disable-altivec.Carl Eugen Hoyos2011-03-071-1/+1
|
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-021-0/+68
This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>