FFmpeg git repo
Go to file
Andreas Rheinhardt b43e946b71 avcodec/mqc: Hardcode tables to save space
mqc currently initializes three arrays at runtime; each of them
has 2 * 47 elements, one is uint16_t, two are uint8_t, so that their
combined size is 8 * 47. The source data for these initializations
is contained in an array of 47 elements of size six. Said array is
only used in order to initialize the other arrays, so the savings
are just 2 * 47B. Yet this is dwarfed by the size of the code for
performing the initializations: It is 109B (GCC 10.2, x64, -O3 albeit
in an av_cold function); this does not even include the size of the
code in the callers. So just hardcode these tables.

This also fixes a data race, because the encoder always initialized
these tables during init, although they might already be used at the
same time by already running encoder/decoder instances.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-05-12 06:00:14 +02:00
compat atomics: Fix the win32 atomic_exchange function 2021-04-04 11:06:08 +03:00
doc doc/filters: Update commands doc for amix 2021-05-11 20:24:39 +08:00
ffbuild libavresample: Remove deprecated library 2021-04-27 10:43:13 -03:00
fftools ffprobe: support printing more packet side data types 2021-05-09 10:59:21 +02:00
libavcodec avcodec/mqc: Hardcode tables to save space 2021-05-12 06:00:14 +02:00
libavdevice avformat: move AVStream.{parser,need_parsing} to AVStreamInternal 2021-05-07 09:27:21 -03:00
libavfilter avfilter/dnn/dnn_backend_tf: fix cross library usage 2021-05-11 18:46:14 +08:00
libavformat lavf/framecrcenc: do not hash side data 2021-05-09 11:07:20 +02:00
libavutil mips: Fix potential illegal instruction error. 2021-05-07 17:53:23 +02:00
libpostproc Bump major versions of all libraries. 2021-04-27 11:48:05 -03:00
libswresample Bump major versions of all libraries. 2021-04-27 11:48:05 -03:00
libswscale Bump major versions of all libraries. 2021-04-27 11:48:05 -03:00
presets
tests lavf/framecrcenc: do not hash side data 2021-05-09 11:07:20 +02:00
tools avfilter/dnn/dnn_backend_tf: simplify the code with ff_hex_to_data 2021-04-29 20:02:29 +08:00
.gitattributes
.gitignore tools/python: add script to convert TensorFlow model (.pb) to native model (.model) 2019-07-01 10:23:47 -03:00
.mailmap mailmap: add entry for myself 2021-03-09 02:09:55 +00:00
.travis.yml Merge commit '899ee03088d55152a48830df0899887f055da1de' 2019-03-14 15:53:16 -03:00
Changelog avcodec: Implement Acorn Replay IMA ADPCM decoder 2021-05-09 17:01:27 +10:00
configure configure: fix some filter dependencies 2021-05-09 10:17:49 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: add myself as adpcm maintainer 2021-03-25 12:51:10 +10:00
Makefile libavresample: Remove deprecated library 2021-04-27 10:43:13 -03:00
README.md
RELEASE Bump Versions before release/4.4 branch 2021-03-20 01:01:12 +01: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 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.