Commit Graph

60 Commits

Author SHA1 Message Date
Rémi Denis-Courmont 092ce9712f doc: reference the RISC-V specification 2022-09-13 16:50:43 -03:00
Diego Biurrun 4f9297ac3b build: Prefer NASM assembler over YASM
NASM is more actively maintained and permits generating dependency information
as a sideeffect of assembling, thus cutting build times in half.

(Cherry-picked from libav commit 57b753b445)

Signed-off-by: James Almer <jamrial@gmail.com>
2017-06-21 17:00:30 -03:00
James Almer 5a49097b42 Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'
* commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428':
  idct: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2017-03-21 14:29:52 -03:00
Diego Biurrun 2ec9fa5ec6 idct: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
2016-09-29 14:48:03 +02:00
Clément Bœsch 8ef57a0d61 Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb':
  cosmetics: Fix spelling mistakes

Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21 21:55:34 +02:00
Vittorio Giovara 41ed7ab45f cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-04 18:16:21 +02:00
Christophe Gisquet bc8e044d8c x86/doc/Makefile: DBG=1 to preprocess external asm
The macro hell sometimes make it difficult to trace the source of
an error, so it is easier to analyze the preprocessed output.

This patch makes this automatical by specifying DBG=1 on the
command line: a file ffmpeg/dir/file.asm gets preprocessed to
builddir/dir/file.dbg.asm, which is then compiled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17 13:08:04 +01:00
Michael Niedermayer 581b5f0b9b Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'
* commit 'e3fcb14347466095839c2a3c47ebecff02da891e':
  dsputil: Split off IDCT bits into their own context

Conflicts:
	configure
	libavcodec/aic.c
	libavcodec/arm/Makefile
	libavcodec/arm/dsputil_init_arm.c
	libavcodec/arm/dsputil_init_armv6.c
	libavcodec/asvdec.c
	libavcodec/dnxhdenc.c
	libavcodec/dsputil.c
	libavcodec/dvdec.c
	libavcodec/dxva2_mpeg2.c
	libavcodec/intrax8.c
	libavcodec/mdec.c
	libavcodec/mjpegdec.c
	libavcodec/mjpegenc_common.h
	libavcodec/mpegvideo.c
	libavcodec/ppc/dsputil_altivec.h
	libavcodec/ppc/dsputil_ppc.c
	libavcodec/ppc/idctdsp.c
	libavcodec/x86/Makefile
	libavcodec/x86/dsputil_init.c
	libavcodec/x86/dsputil_mmx.c
	libavcodec/x86/dsputil_x86.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-01 15:22:11 +02:00
Diego Biurrun e3fcb14347 dsputil: Split off IDCT bits into their own context 2014-06-30 07:58:46 -07:00
Michael Niedermayer 9d6a27d533 Merge commit '57f09608e1600d1cf1679885a46f5004d522d68f'
* commit '57f09608e1600d1cf1679885a46f5004d522d68f':
  dsputil: Move thirdpel-related bits into their own context

Conflicts:
	libavcodec/svq3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-22 23:26:23 +01:00
Diego Biurrun 57f09608e1 dsputil: Move thirdpel-related bits into their own context 2014-03-22 06:17:30 -07:00
Michael Niedermayer 3fc2362aef Merge commit 'b4dd424d96f09f9bafb88e47f37df65dc4529143'
* commit 'b4dd424d96f09f9bafb88e47f37df65dc4529143':
  Remove all SPARC architecture optimizations

Conflicts:
	Makefile
	configure
	libavcodec/sparc/dsputil_vis.c
	libavcodec/sparc/dsputil_vis.h
	libavcodec/sparc/hpeldsp_vis.c
	libavcodec/sparc/simple_idct_vis.c
	libavcodec/sparc/vis.h
	libswscale/sparc/yuv2rgb_vis.c
	libswscale/swscale_internal.h

If someone wants to maintain these (or other) SPARC optimizations, please
contact me or ffmpeg-devel.
I am happy to revert this removial if theres someone considering to
maintain this code.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-13 22:35:47 +01:00
Diego Biurrun b4dd424d96 Remove all SPARC architecture optimizations
SPARC is no longer being used in any multimedia-related fields and the
VIS optimizations only represent a maintenance burden.
2014-03-13 05:50:28 -07:00
Michael Niedermayer ac8987591f Merge commit '88bd7fdc821aaa0cbcf44cf075c62aaa42121e3f'
* commit '88bd7fdc821aaa0cbcf44cf075c62aaa42121e3f':
  Drop DCTELEM typedef

Conflicts:
	libavcodec/alpha/dsputil_alpha.h
	libavcodec/alpha/motion_est_alpha.c
	libavcodec/arm/dsputil_init_armv6.c
	libavcodec/bfin/dsputil_bfin.h
	libavcodec/bfin/pixels_bfin.S
	libavcodec/cavs.c
	libavcodec/cavsdec.c
	libavcodec/dct-test.c
	libavcodec/dnxhdenc.c
	libavcodec/dsputil.c
	libavcodec/dsputil.h
	libavcodec/dsputil_template.c
	libavcodec/eamad.c
	libavcodec/h264_cavlc.c
	libavcodec/h264idct_template.c
	libavcodec/mpeg12.c
	libavcodec/mpegvideo.c
	libavcodec/mpegvideo.h
	libavcodec/mpegvideo_enc.c
	libavcodec/ppc/dsputil_altivec.c
	libavcodec/proresdsp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-23 17:44:56 +01:00
Diego Biurrun 88bd7fdc82 Drop DCTELEM typedef
It does not help as an abstraction and adds dsputil dependencies.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2013-01-22 18:32:56 -08:00
Michael Niedermayer 78ec407d5a Merge commit '652f5185945c8405fc57aed353286858df8d066f'
* commit '652f5185945c8405fc57aed353286858df8d066f':
  x86: mmx2 ---> mmxext in comments and messages

Conflicts:
	libswscale/x86/swscale_template.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-31 14:02:35 +01:00
Diego Biurrun 652f518594 x86: mmx2 ---> mmxext in comments and messages 2012-10-31 00:37:42 +01:00
Michael Niedermayer db95e559f2 fix another forgotten mplayerhq.hu link
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-08 01:35:43 +02:00
Michael Niedermayer a6be21d3ba Revert "replace FFmpeg with Libav in doc/"
This reverts commit f8a45fa1b1.

Conflicts:

	doc/optimization.txt
2011-03-17 17:26:45 +01:00
Michael Niedermayer 0fecf2642b Merge remote-tracking branch 'newdev/master'
Conflicts:
	Changelog
	doc/APIchanges
	doc/optimization.txt
	libavformat/avio.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-17 17:22:52 +01:00
Janne Grunau f8a45fa1b1 replace FFmpeg with Libav in doc/
unless it stands for ffmpeg the program or is historic
2011-03-16 22:01:01 +01:00
Johan Andersson 21de920472 Update the url to the site website and change ffmpeg-devel to libav-devel
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-13 18:45:29 -04:00
Reinhard Tartler 2eed5288d2 Documentation updates for the git migration
This cleanup patch updates the developer documentation with respect to
the migration to the git scm.
(cherry picked from commit 87800dc2bf)
2011-02-09 03:33:54 +01:00
Reinhard Tartler 87800dc2bf Documentation updates for the git migration
This cleanup patch updates the developer documentation with respect to
the migration to the git scm.
2011-02-08 22:07:02 +01:00
Ramiro Polla 2344dc6bb6 doc: mention xmm clobber macros usage
Originally committed as revision 25364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06 02:46:22 +00:00
Ronald S. Bultje d801f1c848 Update docs regarding writing optimizations:
- mention clobber-marking of xmm registers,
- some notes on external vs. inline asm, including tips on which to use for
   what situation and to not rewrite+improve in the same patch (as with C code)
- some more best-practice guidelines

See "[PATCH] update doc/optimization.txt" thread on ML.

Originally committed as revision 25170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 14:01:09 +00:00
Ronald S. Bultje 9c193cc47c Fix typo (instruciton -> instruction).
Originally committed as revision 25157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-22 02:18:03 +00:00
Diego Biurrun 0fa5f24c3b Change mplayerhq.hu references to ffmpeg.org where appropriate.
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:50 +00:00
Diego Biurrun a6493a8fbd Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 09:12:42 +00:00
Diego Pettenò be449fca79 Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 13:34:09 +00:00
Dmitry Antipov 1a592ecc47 Add Intel IWMMXT2 link, patch by Dmitry Antipov, dmantipov yandex ru.
Originally committed as revision 13467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 13:27:51 +00:00
Mike Melanson 6609f9e2ee minor English corrections
Originally committed as revision 12171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 18:46:49 +00:00
Michael Niedermayer 8144dff032 typos
Originally committed as revision 12170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 18:42:33 +00:00
Michael Niedermayer 7b8c3aedac "General Tips" section
Originally committed as revision 12168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 13:02:31 +00:00
Mike Melanson 07bf0cc9cf clarify previous revision on optimization justification
Originally committed as revision 11598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 21:57:19 +00:00
Mike Melanson ac59e7f4b1 Ministry of English Composition edits
Originally committed as revision 11597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 18:21:12 +00:00
Michael Niedermayer 5e123bd359 Cosmetics to speed up finding sections of interest.
Originally committed as revision 11596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 14:48:02 +00:00
Michael Niedermayer 8f738eea43 "What speedup justifies an optimization" section
Originally committed as revision 11595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 14:45:20 +00:00
Diego Biurrun a1d0b6a277 cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:34:57 +00:00
Guillaume Poirier 14c2634bcc Fix links to ARM documentation
Originally committed as revision 10399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 07:49:01 +00:00
Dominik Mierzejewski 71253ce9a6 add a link to VIS instructions whitepaper
Originally committed as revision 10235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 11:45:09 +00:00
Michael Niedermayer 777bbfddde more sparc asm docs
Originally committed as revision 10215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 22:10:21 +00:00
Luca Barbato 2c2b3130c2 PowerPC/CELL/Altivec pointers
Originally committed as revision 10197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 16:40:23 +00:00
Michael Niedermayer 277bb93642 sparc asm docs
Originally committed as revision 10194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 09:39:14 +00:00
Loren Merritt 2e1ad4a28e simd gmc wasn't impossible.
Originally committed as revision 10191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 04:56:29 +00:00
Guillaume Poirier 20e570c8e8 links to ARM optimization manuals
Originally committed as revision 7425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 23:39:56 +00:00
Diego Biurrun 2b165e2901 www1.mplayerhq.hu --> lists.mplayerhq.hu
Originally committed as revision 5459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 09:55:57 +00:00
Diego Biurrun 1c1b5a4094 CVS --> Subversion
Originally committed as revision 5458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 09:55:04 +00:00
Diego Biurrun 0a46c9330a Rephrase a paragraph for ease of understanding, suggested by Mans.
Originally committed as revision 4379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-12 16:11:40 +00:00
Diego Biurrun c5a44f5715 spelling/phrasing fixes, mostly by Mans
Originally committed as revision 4378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-11 18:18:13 +00:00