1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Andreas Rheinhardt a7dbeb77c3 avcodec/atrac3plus: Combine codebooks into one array
ATRAC3+ uses VLCs whose code lengths are ascending from left to right in
the tree; ergo it is possible (and done) to run-length encode the
lengths into so-called codebooks. These codebooks were variable-sized:
The first byte contained the minimum length of a code, the second the
maximum length; this was followed by max - min + 1 bytes containing the
actual numbers. The minimal min was 1, the maximal max 12.

While one saves a few bytes by only containing the range that is
actually used, this is more than offset by the fact that there needs
to be a pointer to each of these codebooks.

Furthermore, since 5f8de7b741 the content
of the Atrac3pSpecCodeTab structure (containing data for spectrum
decoding) can be cleanly separated into fields that are only used during
initialization and fields used during actual decoding: The pointers to
the codebooks and the field indicating whether an earlier codebook should
be reused constitute the former category. Therefore the new codebooks are
not placed into the Atrac3pSpecCodeTab (which is now unused during
init), but in an array of its own. The information whether an earlier
codebook should be reused is encoded in the first number of each
spectrum codebook: If it is negative, an earlier codebook (given by the
number) should be reused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-12-08 17:51:46 +01:00
compat avfilter/scale_cuda: add lanczos algorithm 2020-11-04 01:43:21 +01:00
doc hlsenc: expand hls_fmp4_init_filename with strftime() 2020-12-08 21:02:23 +08:00
ffbuild
fftools fftools/ffprobe: add support for HDR10+ metadata 2020-12-05 19:20:11 -03:00
libavcodec avcodec/atrac3plus: Combine codebooks into one array 2020-12-08 17:51:46 +01:00
libavdevice avdevice/decklink: remove the duplicated warning message 2020-12-05 09:00:53 +08:00
libavfilter avfilter/aeval: add timeline support for aeval 2020-12-08 15:34:14 +01:00
libavformat hlsenc: expand hls_fmp4_init_filename with strftime() 2020-12-08 21:02:23 +08:00
libavresample
libavutil hwcontext_vulkan: wait and signal semaphores when transferring to CUDA 2020-12-05 23:53:23 +01:00
libpostproc
libswresample
libswscale lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled. 2020-11-14 15:37:57 +01:00
presets
tests avfilter/af_earwax: fix filter behavior 2020-12-07 21:09:08 +01:00
tools tools/target_bsf_fuzzer: set bitstream filter options 2020-11-20 19:20:33 -03:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avformat/mspdec: Microsoft Paint (MSP) demuxer 2020-12-06 20:03:47 +11:00
configure avcodec/mss4: Don't duplicate standard JPEG tables 2020-12-08 17:51:46 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS avformat: add amv muxer 2020-11-09 14:58:38 +10:00
Makefile tools/enum_options: fix build and add to Makefile 2020-11-20 15:20:24 +01:00
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.