summaryrefslogtreecommitdiffstats
path: root/libavcodec/arm
Commit message (Collapse)AuthorAgeFilesLines
* h264chroma: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-293-16/+22
| | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
* idct: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-298-27/+33
| | | | ptrdiff_t is the correct type for array strides and similar.
* hpeldsp: arm: Update comments left behind in ↵Diego Biurrun2016-09-291-8/+8
| | | | 25841dfe806a13de526ae09c11149ab1f83555a8
* lavc: add clobber tests for the new encoding/decoding APIAnton Khirnov2016-09-281-0/+20
|
* audiodsp: reorder arguments for vector_clipfAnton Khirnov2016-09-222-5/+3
| | | | | | | This will make the x86 asm simpler. ARM conversion by Martin Storsjö <martin@martin.st> and Janne Grunau <janne-libav@jannau.net>
* blockdsp: drop the high_bit_depth parameterAnton Khirnov2016-09-223-8/+6
| | | | | It has no effect, since the code is supposed to operate the same way for any bit depth.
* pixblockdsp: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-141-2/+3
| | | | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere.
* vp56: Separate VP5 and VP6 dsp initializationDiego Biurrun2016-08-261-2/+2
| | | | | VP5 has no arch-specific optimizations (nor will it get some in the future), so it makes no sense to try to share dsp init code with VP6.
* vp8: Update some assembly comments left unchanged in bd66f073fe7286bd3cDiego Biurrun2016-08-261-12/+12
|
* vp56: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-08-261-2/+2
| | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic.
* vp3: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-08-261-3/+3
| | | | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere.
* simple_idct: arm: Drop disabled code variantDiego Biurrun2016-08-171-7/+0
|
* vp8/armv6: mc: avoid boolean expression in calculationJanne Grunau2016-07-101-7/+2
| | | | | | | | | | | | GNU as evaluates true as '-1' while Apple's variant and llvm's internal assembler evaluate it as '1'. The best way to avoid this madness is to eliminate boolean expressions instead of trying to fix it with preprocessor directives. Use a direct formula to calculate the required temporary space on the stack in ff_put_vp8_{epel,bilin}{4,8,16}_h[246]v[246]_armv6(). Fixes a checkasm segfault in vp8dsp.mc when using llvm's internal assembler for a non-Apple target.
* arm: Fix a typo in a commentMartin Storsjö2016-07-062-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: fix constness in clobber test avcodec_open2() wrappersClément Bœsch2016-06-261-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-131-40/+0
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-044-6/+6
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: miscellaneous cosmeticsDiego Biurrun2016-04-071-4/+4
| | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* fft: Split MDCT bits off from FFTDiego Biurrun2016-03-015-25/+89
|
* rdft: arm: Split RDFT initialization into a separate fileDiego Biurrun2016-02-263-13/+34
|
* fft: arm: Drop unnecessary #include, add missing onesDiego Biurrun2016-02-262-1/+5
|
* build: Add vc1dsp component for more fine-grained dependenciesDiego Biurrun2016-02-191-3/+3
|
* dca: remove unused decode_hf function and quant_d tablesAlexandra Hájková2015-12-242-36/+0
| | | | | They were superseded with their integer equivalents. Rename integer decode_hf to decode_hf.
* arm: add ff_int32_to_float_fmul_array8_neonJanne Grunau2015-12-142-0/+41
| | | | | | | | | | | | | | | | | | | | | | | Quite a bit faster than int32_to_float_fmul_array8_c calling ff_int32_to_float_fmul_scalar_neon through FmtConvertContext. Number of cycles per int32_to_float_fmul_array8 call while decoding padded.dts on exynos5422: before after change cortex-a7: 1270 951 -25% cortex-a15: 434 285 -34% checkasm --bench cycle counts: cortex-a15 cortex-a7 int32_to_float_fmul_array8_c: 1730.4 4384.5 int32_to_float_fmul_array8_neon_c: 571.5 1694.3 int32_to_float_fmul_array8_neon: 374.0 1448.8 Interesting are the differences between int32_to_float_fmul_array8_neon_c and int32_to_float_fmul_array8_neon. The former is current behaviour of calling ff_int32_to_float_fmul_scalar_neon repeatedly from the c function, The raw numbers differ since checkasm uses different lengths than the dca decoder.
* arm: add a cpu flag for the VFPv2 vector modeJanne Grunau2015-12-143-4/+4
| | | | | | | | | | | | | | 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.
* arm: use a local label instead of the function symbol in ff_prefetch_armJanne Grunau2015-07-201-1/+2
| | | | | | | | Avoids a relocation which might end out of range for thumb2. Reported-By: Ludovic Fauvet <etix@videolan.org> Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022 CC: libav-stable@libav.org
* h264: arm: use intra pred8x8 functions only for chroma_format_idc <= 1Janne Grunau2015-07-181-14/+16
|
* configure: Factor out g722dsp moduleVittorio Giovara2015-07-171-4/+2
|
* configure: Factor out vp8dsp moduleVittorio Giovara2015-07-171-12/+6
|
* configure: Factor out rv34dsp moduleVittorio Giovara2015-07-171-3/+2
|
* configure: Factor out flacdsp moduleVittorio Giovara2015-07-171-2/+2
|
* lavc: do not compile fmtconvert unconditionallyAnton Khirnov2015-02-281-4/+3
| | | | Only ac3dec and dcadec use it.
* fmtconvert: drop unused functionsAnton Khirnov2015-02-284-434/+0
|
* g722: Add ARM NEON implementation for g722_apply_qmf()Peter Meerwald2015-02-153-0/+108
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: mlpdsp: handle pic offset calculation in a macroJanne Grunau2014-12-091-16/+20
| | | | | Makes the code easier to read since it hides different offset calculations for arm and thumb mode.
* arm: make ff_mlp_filter_channel_arm and ff_mlp_rematrix_channel_arm position ↵Janne Grunau2014-12-091-10/+13
| | | | | | independent No significant difference in used cpu cycles on a cortex-a9.
* arm: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-093-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: fft_vfp: Unify the behaviour in ff_fft_calc_vfp between arm/thumbMartin Storsjö2014-12-081-10/+5
| | | | | | | | | | | | Don't include the function pointer table in the code segment in arm mode. This shouldn't have any significant performance effect. It does end up as a few more instructions than before, for ARM, but only at the entry to this function, not within the fft functions themselves. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: fft_vfp: Add a missing "endconst" when building in thumb modeMartin Storsjö2014-12-081-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* motion_est: convert stride to ptrdiff_tVittorio Giovara2014-11-241-5/+5
| | | | | CC: libav-stable@libav.org Bug-Id: CID 700556 / CID 700557 / CID 700558
* idctdsp: Add global function pointers for {add|put}_pixels_clamped functionsDiego Biurrun2014-09-021-7/+0
| | | | | | These function pointers already existed in the ARM code. Adding them globally allows calls to the function pointers to access arch-optimized versions of the functions transparently.
* build: Add explanatory comments to (optimization) blocks in the MakefilesDiego Biurrun2014-08-151-0/+18
|
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-153-4/+4
|
* vc-1: Add platform-specific start code search routine to VC1DSPContext.Ben Avison2014-08-041-0/+3
| | | | | | | Initialise VC1DSPContext for parser as well as for decoder. Note, the VC-1 code doesn't actually use the function pointer yet. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Move start code search functions into separate source files.Ben Avison2014-08-044-6/+31
| | | | | | This permits re-use with parsers for codecs which use similar start codes. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* qpeldsp: Mark source pointer in qpel_mc_func function pointer constDiego Biurrun2014-07-252-66/+68
|
* arm: Macroize the test for 'setend' CPU instruction supportBen Avison2014-07-211-5/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dct-test: Move arch-specific bits into arch-specific subdirectoriesDiego Biurrun2014-07-211-0/+40
|
* idct: Move arm-specific declarations to a header in the arm directoryDiego Biurrun2014-07-205-15/+44
|
* idctdsp: prettyprinting cosmeticsDiego Biurrun2014-07-184-20/+20
|
OpenPOWER on IntegriCloud