mpv/DOCS/man/en
wm4 23ab098969 video: remove slice based filtering and video output
Slices allowed filtering or drawing video in horizontal bands or
blocks. This allowed working on the video in smaller units. In theory,
this could bring a performance win by lowering cache pressure, as you
didn't have to keep the whole video frame in cache while filtering,
only the slice.

In practice, the slice code path was barely used for the following
reasons:
- Multithreaded decoding with ffmpeg didn't use slices. The ffmpeg
  slice callback was disabled, because it can be called from another
  thread, and the mplayer video chain is not thread-safe.
- There was nothing that would turn "full" images into appropriate
  slices, so slices were rarely used.
- Most filters didn't actually support slices.

On the other hand, supporting slices lead to code duplication and more
complex code in general. I made some experiments and didn't find any
actual measurable performance improvements when using slices. Even
ffmpeg removed slices based filtering from libavfilter in favor of
simpler code.

The most broken thing about the slices code path is that slices can't
be queued, like it is done for images in vo.c.
2013-01-13 17:39:31 +01:00
..
af.rst audio: remove support for native alaw/mulaw/adpcm output 2012-12-11 00:37:54 +01:00
ao.rst vo/ao: SDL 1.2+ audio driver, SDL 2.0+ accelerated video driver 2012-12-28 08:40:28 +01:00
changes.rst sub: add --sub-text-* options to unstyled text subtitles font 2013-01-05 14:11:56 +01:00
encode.rst encode: remove dependency on current ffmpeg 2012-10-01 11:04:48 +02:00
input.rst command: export A/V sync difference as "avsync" property 2012-11-16 21:21:16 +01:00
mpv.rst manpage: mark HTTP related options as deprecated/broken 2012-12-11 01:04:13 +01:00
options.rst video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
vf.rst options: move -ass-bottom-margin/-ass-top-margin options to vf_sub 2012-12-12 23:35:34 +01:00
vo.rst vo_sdl: add a "sw" flag like in opengl 2013-01-10 12:34:40 +01:00