FFmpeg git repo
Go to file
Lynne bbe95f7353
x86: replace explicit REP_RETs with RETs
From x86inc:
> On AMD cpus <=K10, an ordinary ret is slow if it immediately follows either
> a branch or a branch target. So switch to a 2-byte form of ret in that case.
> We can automatically detect "follows a branch", but not a branch target.
> (SSSE3 is a sufficient condition to know that your cpu doesn't have this problem.)

x86inc can automatically determine whether to use REP_RET rather than
REP in most of these cases, so impact is minimal. Additionally, a few
REP_RETs were used unnecessary, despite the return being nowhere near a
branch.

The only CPUs affected were AMD K10s, made between 2007 and 2011, 16
years ago and 12 years ago, respectively.

In the future, everyone involved with x86inc should consider dropping
REP_RETs altogether.
2023-02-01 04:23:55 +01:00
compat compat/cuda: switch from powf to __powf intrinsic 2022-09-03 20:27:34 +02:00
doc fftools/ffmpeg: support input frame params in encoding stats 2023-01-31 09:09:23 +01:00
ffbuild configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
fftools fftools/ffmpeg: support input frame params in encoding stats 2023-01-31 09:09:23 +01:00
libavcodec x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
libavdevice avdevice/avfoundation: convert to new channel layout-API 2022-11-08 14:08:05 -03:00
libavfilter x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
libavformat mov: Reduce the verbosity of the warning about fragmented MP4 vs advanced edit lists 2023-01-31 14:29:08 +02:00
libavutil x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
libpostproc postproc/postprocess_template: Fix alignment 2022-11-09 17:39:00 +01:00
libswresample x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
libswscale x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
presets
tests x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
tools tools/target_dec_fuzzer: Adjust threshold for RSCC 2022-12-01 21:43:57 +01:00
.gitattributes
.gitignore
.mailmap mailmap: stop git lying about who I commit things as 2022-11-04 19:37:46 +01:00
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avcodec: add media100_to_mjpegb bitstream filter and use it 2023-01-31 17:06:29 +01:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself as amfenc* maintainer 2022-11-10 16:28:07 +01:00
Makefile configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
README.md
RELEASE
configure avcodec: add media100_to_mjpegb bitstream filter and use it 2023-01-31 17:06:29 +01:00

README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.