FFmpeg git repo
Go to file
Lynne 91e1625db1
lavu/tx: clip when converting table values to fixed-point
INT32_MAX (2147483647) isn't exactly representable by a floating point
value, with the closest being 2147483648.0. So when rescaling a value
of 1.0, this could overflow when casting the 64-bit value returned from
lrintf() into 32 bits.
Unfortunately the properties of integer overflows don't match up well
with how a Fourier Transform operates. So clip the value before
casting to a 32-bit int.

Should be noted we don't have overflows with the table values we're
currently using. However, converting a Kaiser-Bessel window function
with a length of 256 and a parameter of 5.0 to fixed point did create
overflows. So this is more of insurance to save debugging time
in case something changes in the future.
The macro is only used during init, so it being a little slower is
not a problem.
2021-01-09 20:54:56 +01:00
compat
doc doc/protocols: explain tcp listen option description 2021-01-09 17:08:27 +01:00
ffbuild
fftools Mark some pointers as const 2021-01-01 15:25:48 +01:00
libavcodec sbc: do not set sample format in parser 2021-01-09 15:24:32 -03:00
libavdevice avdevice/decklink_dec: mark get_frame_timecode and get_bmd_timecode static 2021-01-09 17:37:02 +01:00
libavfilter avfilter/vsrc_testsrc: Deduplicate options 2021-01-08 06:08:03 +01:00
libavformat avformat/mov: adjust skip_samples according to seek timestamp 2021-01-09 17:08:27 +01:00
libavresample
libavutil lavu/tx: clip when converting table values to fixed-point 2021-01-09 20:54:56 +01:00
libpostproc lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
libswresample
libswscale lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
presets
tests fate: add tests for AVID 2021-01-01 14:33:12 +01:00
tools tools/target_dem_fuzzer.c: Decrease maxblocks 2021-01-05 02:00:05 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avfilter: add temporal midway equalizer filter 2021-01-01 12:43:42 +01:00
configure configure: update copyright year 2021-01-01 00:38:22 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS smvjpegdec: merge into mjpegdec 2020-12-10 10:07:09 +01:00
Makefile
README.md
RELEASE

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 a mean to alter decoded Audio and Video through chain of 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.