FFmpeg git repo
Go to file
Ronald S. Bultje d49352c7cc swscale: fix overflows in vertical scaling at top/bottom edges.
This fixes integer multiplication overflows in RGB48 output
(vertical) scaling as detected by IOC. What happens is that for
certain types of filters (lanczos, spline, bicubic), the
intermediate sum of coefficients in the middle of a filter can
be larger than the fixed-point equivalent of 1.0, even if the
final sum is 1.0. This is fine and we support that.

However, at frame edges, initFilter() will merge the coefficients
for the off-screen pixels into the top or bottom pixel, such as
to emulate edge extension. This means that suddenly, a single
coefficient can be larger than the fixed-point equivalent of
1.0, which the vertical scaling routines do not support.

Therefore, remove the merging of coefficients for edges for
the vertical scaling filter, and instead add edge detection
to the scaler itself so that it copies the pointers (not data)
for the edges (i.e. it uses line[0] for line[-1] as well), so
that a single coefficient is never larger than the fixed-point
equivalent of 1.0.
2011-12-18 08:27:43 -08:00
doc lavf: add OpenMG audio muxer. 2011-12-18 16:23:16 +01:00
libavcodec tmv decoder: set correct pix_fmt 2011-12-18 06:58:03 -08:00
libavdevice build: move inclusion of subdir.mak to main subdir loop 2011-12-13 14:26:49 +00:00
libavfilter yadif: support 10bit YUV 2011-12-13 17:02:55 +01:00
libavformat lavf: add OpenMG audio muxer. 2011-12-18 16:23:16 +01:00
libavutil build: move inclusion of subdir.mak to main subdir loop 2011-12-13 14:26:49 +00:00
libpostproc build: move inclusion of subdir.mak to main subdir loop 2011-12-13 14:26:49 +00:00
libswscale swscale: fix overflows in vertical scaling at top/bottom edges. 2011-12-18 08:27:43 -08:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: fix eatqi test 2011-12-17 15:49:25 +00:00
tools Replace all uses of av_close_input_file() with avformat_close_input(). 2011-12-12 20:34:38 +01:00
.gitignore Make a copy of ffmpeg under a new name -- avconv. 2011-08-12 13:27:30 +02:00
avconv.c avconv: support stream specifiers in -metadata and -map_metadata 2011-12-16 21:12:53 +01:00
avplay.c Replace all uses of av_close_input_file() with avformat_close_input(). 2011-12-12 20:34:38 +01:00
avprobe.c Replace all uses of av_close_input_file() with avformat_close_input(). 2011-12-12 20:34:38 +01:00
avserver.c Replace all uses of av_close_input_file() with avformat_close_input(). 2011-12-12 20:34:38 +01:00
Changelog lavf: add OpenMG audio muxer. 2011-12-18 16:23:16 +01:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
cmdutils.c Add libavutil/mathematics.h #includes for INFINITY 2011-11-22 16:36:44 +00:00
cmdutils.h Fix a bunch of common typos. 2011-12-11 00:32:25 +01:00
common.mak build: remove unnecessary FFLDFLAGS variable 2011-07-11 11:39:04 +01:00
configure get_bits: introduce safe bitreading to prevent overreads. 2011-12-17 14:03:41 +00:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Doxyfile doxy: change hue value to match our green 2011-12-09 04:20:41 +01:00
ffmpeg.c Fix a bunch of common typos. 2011-12-11 00:32:25 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: link test programs with static libraries 2011-12-17 23:21:08 +00:00
LICENSE cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
Makefile build: rename subdir.mak ---> library.mak 2011-12-13 23:34:22 +01:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Use the contents of RELEASE as version fallback instead of 'UNKNOWN' 2011-06-19 19:54:07 +02:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.