No description
Find a file
James Almer a039726c2a avutil/x86/aes: remove a few branches
The rounds value is constant and can be one of three hardcoded values, so
instead of checking it on every loop, just split the function into three
different implementations for each value.

Before:
aes_decrypt_128_aesni:                                  93.8 (47.58x)
aes_decrypt_192_aesni:                                 106.9 (49.30x)
aes_decrypt_256_aesni:                                 109.8 (56.50x)
aes_encrypt_128_aesni:                                  93.2 (47.70x)
aes_encrypt_192_aesni:                                 111.1 (48.36x)
aes_encrypt_256_aesni:                                 113.6 (56.27x)

After:
aes_decrypt_128_aesni:                                  71.5 (63.31x)
aes_decrypt_192_aesni:                                  96.8 (55.64x)
aes_decrypt_256_aesni:                                 106.1 (58.51x)
aes_encrypt_128_aesni:                                  81.3 (55.92x)
aes_encrypt_192_aesni:                                  91.2 (59.78x)
aes_encrypt_256_aesni:                                 109.0 (58.26x)

Signed-off-by: James Almer <jamrial@gmail.com>
2025-04-10 12:02:34 -03:00
compat compat/w32pthreads: change pthread_t into pointer to malloced struct 2024-12-16 09:43:19 +01:00
doc doc/encoders: Document png pred 2025-04-10 03:01:34 +02:00
ffbuild configure: add option to select use of response files 2025-03-30 17:22:10 +05:30
fftools fftools/ffprobe: Fix hypothetical stack buffer overflow 2025-04-03 06:04:51 +02:00
libavcodec avcodec/pngenc: set default prediction method to PAETH 2025-04-10 03:01:33 +02:00
libavdevice avfoundation: Fix compilation for OSes other than macOS and iOS 2025-04-04 17:12:33 +03:00
libavfilter avfilter/vf_libplacebo: don't explode on zero FPS information 2025-04-03 17:17:42 +02:00
libavformat lavf/id3v2dec: support multiple values and TIPL frames 2025-04-07 01:02:42 +02:00
libavutil avutil/x86/aes: remove a few branches 2025-04-10 12:02:34 -03:00
libpostproc postproc/postprocess_template: Use immediate instead of memory load 2025-04-03 06:04:57 +02:00
libswresample libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
libswscale swscale/swscale: Do not crash on floats 2025-04-10 03:01:32 +02:00
presets
tests checkasm: hevc_pel: Use helpers for checking for writes out of bounds 2025-04-10 13:30:18 +03:00
tools tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() error 2025-04-03 01:58:07 +02:00
.gitattributes gitattributes: End merge conflicts in Changelog 2025-03-17 15:26:10 +01:00
.gitignore ffbuild: read library linker objects from a file 2025-03-17 15:45:53 +05:30
.mailmap mailmap: add entry for myself 2024-07-15 01:59:37 +02:00
Changelog doc/encoders: Document png pred 2025-04-10 03:01:34 +02:00
configure configure: Allow mixing declarations and statements 2025-04-09 11:45:21 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
INSTALL.md INSTALL: explain the circular dependency issue and solution 2024-11-03 19:35:23 +01:00
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: Add myself 2025-03-25 11:38:21 +01:00
Makefile configure: Add wasm as a fake arch 2024-12-04 16:43:06 +08:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update release number after release/7.1 branch 2024-10-09 01:55:50 +02:00

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.