summaryrefslogtreecommitdiffstats
path: root/libavcodec/arm
Commit message (Collapse)AuthorAgeFilesLines
* SBR DSP: use intptr_t for the ixh parameter.Christophe GISQUET2012-02-231-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv34: change most "int stride" into "ptrdiff_t stride".Ronald S. Bultje2012-02-202-8/+8
| | | | | | This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-154-7/+7
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add missing #include to vp8.h to fix a make checkheaders warning.Diego Biurrun2012-02-091-0/+2
|
* doxygen: Do not include license boilerplates in Doxygen comment blocks.Diego Biurrun2012-02-064-4/+4
|
* ARM: ac3: fix ac3_bit_alloc_calc_bap_armv6Mans Rullgard2012-02-021-8/+7
| | | | | | | This function was broken when the start bin was not at the start of a band. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacsbr: ARM NEON optimised sbrdsp functionsMans Rullgard2012-01-283-0/+485
| | | | | | Overall speedup of HE-AAC decoding 2.3x on Cortex-A8, 1.2x on A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix build with FFT enabled and MDCT disabledFelipe Contreras2012-01-201-0/+2
| | | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv34: add NEON rv34_idct_addJanne Grunau2012-01-162-3/+62
| | | | | | | Overall almost 4% faster, idct_add down from 350 to 85 cycles, idct_dc_add down from 83 to 30 cycles. squash: rv34 idct rearrange partial register loads
* rv34: 1-pass inter MB reconstructionChristophe GISQUET2012-01-162-53/+14
| | | | Implement 1-pass inverse transform and reconstruction for inter blocks.
* ARM: fix Thumb-mode simple_idct_armMans Rullgard2012-01-131-1/+1
| | | | | | | | The alignment directive must obviously precede the label. This was never noticed in ARM mode since the location is already aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: 4-byte align start of all asm functionsMans Rullgard2012-01-131-0/+1
| | | | | | | | | | | Due to apprent bugs in the GNU assembler and/or linker, relocations can be incorrectly processed if the alignment of a Thumb instruction is changed in the output file compared to the input object. This fixes crashes in h264 decoding with Thumb enabled. No effect in ARM mode since everything is 4-byte aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: rv34: fix asm syntax in dc transform functionsMans Rullgard2012-01-121-11/+11
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* rv34: NEON optimised dc only inverse transformJanne Grunau2012-01-122-2/+36
| | | | | 30-50% faster than the C implementation, 0.5% overall speedup on bourne.rmvb.
* rv34: joint coefficient decoding and dequantizationChristophe GISQUET2012-01-042-27/+0
| | | | | | | | | | | Perform dequantization while decoding coefficients instead of performing it on the entire coefficients buffer. Since quantized coefficients are very sparse, this usually causes a small speedup. Speedup of around 1% on Panda board compared to the removed here neon code. Global speedup is probably around 3%. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* rv40: NEON optimised weak loop filterMans Rullgard2011-12-162-0/+119
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix external symbol refs in rv40 asmMans Rullgard2011-12-151-2/+2
| | | | | | | External symbol references need prefixes on some systems. This should fix build errors on Darwin. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: dca: disable optimised decode_blockcodes() for old gccMans Rullgard2011-12-151-1/+1
| | | | | | | Old gcc versions have trouble compiling this function, and no simple, targeted test is possible. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40: NEON optimised loop filter strength selectionMans Rullgard2011-12-143-0/+102
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv34: NEON optimised 4x4 dequantMans Rullgard2011-12-132-0/+27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40: NEON optimised rv40 qpel motion compensationMans Rullgard2011-12-072-0/+714
| | | | | | Based on patch by Janne Grunau. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40: NEON optimised weighted predictionJanne Grunau2011-12-063-0/+92
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40: NEON optimised chroma MCJanne Grunau2011-12-063-5/+115
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: move NEON H264 chroma mc to a separate fileMans Rullgard2011-12-063-339/+361
| | | | | | This allows sharing code with the rv40 version of these functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv34: NEON optimised inverse transform functionsJanne Grunau2011-12-063-0/+148
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: h264dsp_neon cosmeticsMans Rullgard2011-12-021-313/+313
| | | | | | | | - Replace 'ip' with 'r12'. - Use correct size designators for vld1/vst1. - Whitespace fixes. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: make some NEON macros reusableJanne Grunau2011-12-023-61/+65
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix indentation in ff_dsputil_init_neon()Mans Rullgard2011-12-011-41/+39
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON put/avg_pixels8/16 cosmeticsMans Rullgard2011-12-011-57/+57
| | | | | | | This makes whitespace and register names consistent with the style used in more recent code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add remaining NEON avg_pixels8/16 functionsMans Rullgard2011-12-012-0/+75
|
* ARM: clean up NEON put/avg_pixels macrosMans Rullgard2011-12-011-69/+86
| | | | | | Although this adds a few lines, the macro calls are less convoluted. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: ARMv6 optimised decode_blockcode()Mans Rullgard2011-11-251-0/+55
| | | | | | | | | This is a hand-tuned version of the code with impossible parts of the FASTDIV function ommitted. 2-5% faster overall on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: remove needless .text/.align directivesMans Rullgard2011-11-239-14/+0
| | | | | | | The 'function' macro already includes the appropriate directives. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add explicit .arch and .fpu directives to asm.SMans Rullgard2011-11-221-0/+16
| | | | | | | | | | | | | This prevents build errors when compiler and assembler default targets differ. Ideally each file would declare the highest level it requires. This is however not easily possible as it complicates assembling pre-armv6t2 code in Thumb-2 mode. HAVE_NEON is used as indicator for ARMv7-A since no other symbol exists for this and NEON is only available in this variant. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove redundant filename self-references inside files.Diego Biurrun2011-11-081-1/+0
| | | | Filenames are brittle across renames and add no useful information.
* mpegvideo: remove some unused variables from MpegEncContext.Anton Khirnov2011-10-231-6/+6
|
* H264: change weight/biweight functions to take a height argument.Ronald S. Bultje2011-10-212-117/+46
| | | | Neon parts by Mans Rullgard <mans@mansr.com>.
* h264: 4:2:2 intra decoding supportBaptiste Coudurier2011-10-212-7/+8
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ARM: check for inline asm 'y' operand modifier supportMans Rullgard2011-10-031-1/+1
| | | | | | | | The inline asm added in bf5d46d uses the 'y' modifier which is only supported from gcc 4.5. This check allows building with older compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: NEON optimised high freq VQ decodingMans Rullgard2011-09-301-0/+49
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON optimised vector_fmac_scalar()Mans Rullgard2011-09-282-0/+51
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg12enc: add intra_vlc private option.Anton Khirnov2011-08-311-6/+6
| | | | Deprecate CODEC_FLAG2_INTRA_VLC.
* arm: Avoid using the movw instruction needlesslyMåns Rullgård2011-08-031-2/+2
| | | | | | This fixes building for ARM11 without Thumb2. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move an int64_t down in MpegEncContextMartin Storsjö2011-08-031-6/+6
| | | | | | | This allows using the same arm assembler offsets for both EABI and the mach-o ABI. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: remove some unused functionsMans Rullgard2011-07-272-118/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: update per-arch init funcs for non-h264 high bit depthMans Rullgard2011-07-214-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: template get_pixels() for different bit depthsMans Rullgard2011-07-211-1/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: add 10-bit versionMans Rullgard2011-07-204-6/+8
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: remove disabled function dct_unquantize_h263_inter_iwmmxt()Diego Biurrun2011-07-161-20/+0
|
OpenPOWER on IntegriCloud