FFmpeg git repo
Go to file
Nekopanda f4d5d7e8de avcodec/mpeg2dec: Fix motion vector rounding for chroma components
In 16x8 motion compensation, for lower 16x8 region, the input to mpeg_motion() for motion_y was "motion_y + 16", which causes wrong rounding. For 4:2:0, chroma scaling for y is dividing by two and rounding toward zero. When motion_y < 0 and motion_y + 16 > 0, the rounding direction of "motion_y" and "motion_y + 16" is different and rounding "motion_y + 16" would be incorrect.

We should input "motion_y" as is to round correctly. I add "is_16x8" flag to do that.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-02-11 12:04:47 +01:00
compat compat/os2threads: support static mutexes 2018-01-07 00:14:12 -03:00
doc examples: Don't call deprecated functions which don't do anything 2018-02-09 21:38:42 +00:00
ffbuild Merge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c' 2017-11-12 01:02:02 -03:00
fftools Revert "cmdutils: make use of new iteration APIs" 2018-02-08 13:20:36 -03:00
libavcodec avcodec/mpeg2dec: Fix motion vector rounding for chroma components 2018-02-11 12:04:47 +01:00
libavdevice api: add missing version bumps and APIChanges entries 2018-02-06 23:43:01 -03:00
libavfilter lavfi: add a gitignore file for OpenCL compiled kernels 2018-02-07 11:25:58 +00:00
libavformat lavf/aptxdec: fix the limit on the APTX demuxer definition 2018-02-10 18:20:18 +02:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil Merge commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba' 2018-01-25 22:45:45 +00:00
libpostproc
libswresample lswr/rematrix: Support s32p. 2017-11-01 01:04:43 +01:00
libswscale Fix missing used attribute for inline assembly variables 2017-11-13 03:58:34 +01:00
presets
tests avcodec/mpeg2dec: Fix motion vector rounding for chroma components 2018-02-11 12:04:47 +01:00
tools fftools, tools, examples: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
.gitattributes
.gitignore Remove the ffserver program 2018-01-06 18:31:37 +00:00
.travis.yml Merge commit '4809781586d1c956005f72946a2aab5915eab350' 2017-10-28 15:08:31 -03:00
Changelog aptx: add raw muxer and demuxer for aptX HD 2018-02-09 22:10:55 +01:00
configure aptx: implement the aptX HD bluetooth codec 2018-02-09 22:10:55 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself for aptx.c 2018-02-10 16:53:43 +01:00
Makefile lavd: add new API for iterating input and output devices 2018-02-06 18:57:42 +00:00
README.md Remove the ffserver program 2018-01-06 18:31:37 +00:00
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.