Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-02Merge commit '6f9e34baea4f6f484392e4e67f606a0835d07b73'Clément Bœsch
* commit '6f9e34baea4f6f484392e4e67f606a0835d07b73': arm: Check for support for the .fpu directive Merged-by: Clément Bœsch <cboesch@gopro.com>
2016-11-15arm: Clear the gp register alias at the end of functionsMartin Storsjö
We reset .Lpic_gp to zero at the start of each function, which means that the logic within movrelx for clearing gp when necessary will be missed. This fixes using movrelx in different functions with a different helper register. This is cherry-picked from libav commit 824e8c284054f323f854892d1b4739239ed1fdc7. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-07-21arm: Check for support for the .fpu directiveMartin Storsjö
When targeting COFF (windows), clang doesn't support this directive (while binutils supports it for all targets). Signed-off-by: Martin Storsjö <martin@martin.st>
2016-01-29all: Add missing header guardsTimothy Gu
2016-01-19Merge commit '73c8c0341cce9e1a6c4169721f5123f97fc4be2f'Hendrik Leppkes
* commit '73c8c0341cce9e1a6c4169721f5123f97fc4be2f': arm: Fix vfp dead code elimination with have_vfp_vm Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-09arm: Fix vfp dead code elimination with have_vfp_vmMartin Storsjö
This fixes builds with --disable-vfp. Checking for the armv6 cpu flag is incorrect, since vfpv2 isn't armv6 specific. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-01-02Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'Hendrik Leppkes
* commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0': arm: add a cpu flag for the VFPv2 vector mode Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-14arm: add a cpu flag for the VFPv2 vector modeJanne Grunau
The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu implementations do not support it in hardware. Vector mode code will depending the OS either be emulated in software or result in an illegal instruction on cpus which does not support it. This was not really problem in practice since NEON implementations of the same functions are preferred. It will however become a problem for checkasm which tests every cpu flag separately. Since this is a cpu feature newer cpu do not support anymore the behaviour of this flag differs from the other flags. It can be only activated by runtime cpu feature selection.
2015-09-18avutil/attributes: add AV_GCC_VERSION_AT_MOSTJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-20avutil/arm/intmath: return int for uint8 / uint16 clipMichael Niedermayer
The C functions return uint8/16_t but that is effectively int not unsigned int Fixes fate-filter-tblend We do not return uint8/16_t as that would require the compiler to truncate the values, slowing it down. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-05arm: only enable setend on ARMv6Andreas Cadhalpun
Without this check it causes SIGILL crashes on ARMv5. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-03-07Merge commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73'Michael Niedermayer
* commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73': arm: Suppress tags about used cpu arch and extensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-07arm: Suppress tags about used cpu arch and extensionsMartin Storsjö
When all the codepaths using manually set .arch/.fpu code is behind runtime detection, the elf attributes should be suppressed. This allows tools to know that the final built binary doesn't strictly require these extensions. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21Merge commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc'Michael Niedermayer
* commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc': libavutil: Add ARM av_clip_intp2_arm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21libavutil: Add ARM av_clip_intp2_armPeter Meerwald
add ARM code for implementing av_clip_intp2 using the ssat instruction on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and the generic av_clip(), about -19% Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2014-12-09Merge commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46'Michael Niedermayer
* commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46': arm: Use .data.rel.ro for const data with relocations Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-09arm: Use .data.rel.ro for const data with relocationsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-20avutil/arm/float_dsp_init_vfp: replace restrict by av_restrictjessejiang
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-13avutil: turn arm setend into a cpuflagMichael Niedermayer
this allows disabling and enabling it it also prevents crashes if vfpv3 and neon are disabled which previously would have enabled the flag And last but not least one can enable setend on cpus like cortex-a8 where its fast but disabled by default Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-22Merge commit '6869612f5c7d4d2f20f69a5658328a761deadb1c'Michael Niedermayer
* commit '6869612f5c7d4d2f20f69a5658328a761deadb1c': arm: Macroize the test for 'setend' CPU instruction support Conflicts: libavcodec/arm/h264dsp_init_arm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-22arm: Macroize the test for 'setend' CPU instruction supportBen Avison
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-07-18armv6: Accelerate butterflies_floatBen Avison
I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in butterflies_float_c() / ff_butterflies_float_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1542.8 43.7 1470.5 41.5 100.0% +4.9% butterflies_float 130.0 11.9 70.2 12.1 100.0% +85.2% Signed-off-by: Martin Storsjö <martin@martin.st>
2014-07-18armv6: Accelerate vector_fmul_windowBen Avison
I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in vector_fmul_window_c() / ff_vector_fmul_window_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1598.2 47.4 1529.2 25.4 100.0% +4.5% vector_fmul_window 244.0 22.1 188.9 22.3 100.0% +29.2% Signed-off-by: Martin Storsjö <martin@martin.st>
2014-07-16armv6: Accelerate butterflies_floatBen Avison
I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in butterflies_float_c() / ff_butterflies_float_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1542.8 43.7 1470.5 41.5 100.0% +4.9% butterflies_float 130.0 11.9 70.2 12.1 100.0% +85.2% Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-16armv6: Accelerate vector_fmul_windowBen Avison
I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in vector_fmul_window_c() / ff_vector_fmul_window_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1598.2 47.4 1529.2 25.4 100.0% +4.5% vector_fmul_window 244.0 22.1 188.9 22.3 100.0% +29.2% Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-28Merge commit '7b0c7c9163fe3dd0081696befde28617119d2590'Michael Niedermayer
* commit '7b0c7c9163fe3dd0081696befde28617119d2590': arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernel Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-28arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernelMartin Storsjö
When running on a 64 bit kernel, /proc/cpuinfo lists different optional features than on 32 bit kernels (because some of them are mandatory in the 64 bit implemenations). The kernel does list the old features properly if they are queried via /proc/self/auxv though - however this file is not always readable (e.g. on most android systems). The getauxval function could also provide the same info as /proc/self/auxv even if this file isn't readable, but this function is not always available (and thus would need to be loaded with dlsym for compatibility with older android versions). The android cpufeatures library does this slightly differently, by assuming that these are available if the "CPU architecture" line is >= 8, see [1] for details. It has been suggested to include the old, non-optional features in /proc/cpuinfo as well, but that suggested patch never was merged. See [2] for the discussion around this suggestion. [1] https://android-review.googlesource.com/91380 [2] http://marc.info/?l=linux-arm-kernel&m=139087240101974 Signed-off-by: Martin Storsjö <martin@martin.st>
2014-06-04Merge commit 'd5a55981986ac5d1a31aef3a8d16eaff8534a412'Michael Niedermayer
* commit 'd5a55981986ac5d1a31aef3a8d16eaff8534a412': build: check if AS supports the '.func' directive Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-03build: check if AS supports the '.func' directiveJanne Grunau
Not supported by Clang's integrated assembler. Since it just adds debug information it can safely omitted.
2014-03-14Merge commit '831a1180785a786272cdcefb71566a770bfb879e'Michael Niedermayer
* commit '831a1180785a786272cdcefb71566a770bfb879e': Update dsputil- and SIMD-related comments to match reality more closely Conflicts: libavcodec/x86/hpeldsp.asm libavutil/arm/float_dsp_init_arm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-13Update dsputil- and SIMD-related comments to match reality more closelyDiego Biurrun
2014-03-06Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: arm: hpeldsp: prevent overreads in armv6 asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-05arm: hpeldsp: prevent overreads in armv6 asmJanne Grunau
Based on a patch by Russel King <rmk+libav@arm.linux.org.uk> Bug-Id: 646 CC: libav-stable@libav.org
2014-02-19Merge commit '543156d7518f5e5d731123da066d86278f9fa492'Michael Niedermayer
* commit '543156d7518f5e5d731123da066d86278f9fa492': arm: Mark the stack as non-executable Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-19arm: Mark the stack as non-executableMartin Storsjö
If linking in an object file without this attribute set, the linker will assume that an executable stack might be needed. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-02-08Merge commit 'e3fec3f095ab5ea08ee662942d98526aaf5e3635'Michael Niedermayer
* commit 'e3fec3f095ab5ea08ee662942d98526aaf5e3635': arm: Add EXTERN_ASM to the .func and .type declarations for exported symbols Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-07arm: Add EXTERN_ASM to the .func and .type declarations for exported symbolsMartin Storsjö
This makes the generated assembly more internally consistent, avoiding declaring two labels for the same function (for cases where EXTERN_ASM is empty) and not declaring a separate unprefixed label in other cases. This also makes sure the .func and .type delcarations have the same prefix. They have previously not been used on the platforms that have prefixed symbols on arm (iOS), but gas-preprocessor has recently started using the .func declarations for adding .thumb_func declarations for such functions. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: arm: Add an option for making sure NEON registers aren't clobbered Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-11arm: Add an option for making sure NEON registers aren't clobberedMartin Storsjö
This is pretty much based on the same test for XMM registers. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-08Merge commit '5dae4872357613a0b51120b54a4c5221e0ec3f69'Michael Niedermayer
* commit '5dae4872357613a0b51120b54a4c5221e0ec3f69': arm: Allow overriding the alignment set in the function macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-07arm: Allow overriding the alignment set in the function macroMartin Storsjö
The function macro always sets .align 2 before declaring the function label (since 5c5e1ea3) and always sets the section to .text (since 278caa6a). The .align 5 before certain functions, added in fc252eba, were added before .text and .align were added to the function macro and thus became useless/unused when the function macro got them. This restores the original intention, to align the loop entry points. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-30Reinstate proper FFmpeg license for all files.Thilo Borgmann
2013-08-29Merge commit '7ffda66fd5c81af4725bff7c2c4f207ba2aa0613'Michael Niedermayer
* commit '7ffda66fd5c81af4725bff7c2c4f207ba2aa0613': arm: float_dsp: Propagate cpu_flags to vfp initialization function Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit '8410d6e93c2e074881f1c7b7e4cdefd2e497d52e'Michael Niedermayer
* commit '8410d6e93c2e074881f1c7b7e4cdefd2e497d52e': avutil: Refactor CPU extension availability macros Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b'Michael Niedermayer
* commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b': avutil: Move internal CPU detection function declarations to private header Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29arm: float_dsp: Propagate cpu_flags to vfp initialization functionDiego Biurrun
2013-08-29avutil: Refactor CPU extension availability macrosDiego Biurrun
2013-08-29avutil: Move internal CPU detection function declarations to private headerDiego Biurrun
2013-07-19Merge commit '439902e0d68a0f0d800c21b5e6b598d5fa0c51da'Michael Niedermayer
* commit '439902e0d68a0f0d800c21b5e6b598d5fa0c51da': Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/ Conflicts: compat/aix/math.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-18Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/Diego Biurrun
Also fix a comment and an #endif comment.