mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-20 12:43:09 +03:00
be1bafc303a77fa9ca5a99e36a65d5765012d3f4
For certain types of filters where the intermediate sum of coefficients can go above the fixed-point equivalent of 1.0 in the middle of a filter, the sum of a 31-bit calculation can overflow in both directions and can thus not be represented in a 32-bit signed or unsigned integer. To work around this, we subtract 0x40000000 from a signed integer base, so that we're halfway signed/unsigned, which makes it fit even if it overflows. After the filter finishes, we add the scaled bias back after a shift. We use the same trick for 16-bit bpc YUV output routines. Signed-off-by: Mans Rullgard <mans@mansr.com>
Libav README ------------ 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Description
FFmpeg - это набор библиотек и инструментов для обработки мультимедийного контента, такого как аудио, видео, субтитры и связанные с ними метаданные
https://ffmpeg.org/
Readme
471 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
88.8%
Assembly
8.3%
Makefile
1.6%
GLSL
0.4%
C++
0.3%
Other
0.4%