0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/DOCS
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
..
man/en video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
OUTDATED-tech vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
crosscompile-mingw.txt DOCS: add some basic MinGW cross compilation instructions 2013-01-08 17:21:04 +01:00
edl.rst DOCS: document EDL format 2012-12-28 13:43:59 +01:00
encoding.rst ao_pcm: fix references to -novideo 2012-12-03 21:08:48 +01:00
tech-overview.txt Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00