[FFmpeg-devel] [PATCH 03/12] doc: Document which cpuflags exist

Michael Niedermayer michaelni at gmx.at
Sun Mar 31 04:07:36 CEST 2013


On Sat, Mar 30, 2013 at 03:32:50PM -0400, Derek Buitenhuis wrote:
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
>  doc/avtools-common-opts.texi |   36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/doc/avtools-common-opts.texi b/doc/avtools-common-opts.texi
> index 7ee41c7..b6e11bf 100644
> --- a/doc/avtools-common-opts.texi
> +++ b/doc/avtools-common-opts.texi
> @@ -181,6 +181,42 @@ ffmpeg -cpuflags -sse+mmx ...
>  ffmpeg -cpuflags mmx ...
>  ffmpeg -cpuflags 0 ...
>  @end example
> +Possible flags for this option are:
> + at table @samp
> + at item x86
> + at table @samp
> + at item mmx
> + at item mmxext
> + at item sse
> + at item sse2
> + at item sse2slow
> + at item sse3
> + at item sse3slow
> + at item ssse3
> + at item atom
> + at item sse4.1
> + at item sse4.2
> + at item avx
> + at item xop
> + at item fma4
> + at item 3dnow
> + at item 3dnowext
> + at item cmov
> + at end table
> + at item ARM
> + at table @samp
> + at item armv5te
> + at item armv6
> + at item armv6t2
> + at item vfp
> + at item vfpv3
> + at item neon
> + at end table
> + at item PowerPC
> + at table @samp
> + at item altivec
> + at end table
> + at end table

this list is not complete
try for example
./ffmpeg -cpuflags athlonxp -i ~/videos/matrixbench_mpeg2.mpg test.avi
or
./ffmpeg -cpuflags pentium3 -i ~/videos/matrixbench_mpeg2.mpg test.avi

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130331/e05d5b26/attachment.asc>


More information about the ffmpeg-devel mailing list