]> git.sesse.net Git - vlc/commit
* include/video.h, include/vlc_config.h, src/video_output/*: changed the
authorGildas Bazin <gbazin@videolan.org>
Tue, 19 Nov 2002 20:45:09 +0000 (20:45 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 19 Nov 2002 20:45:09 +0000 (20:45 +0000)
commita2acda80709dce29084b0dd0ce131e6edbbb3fe2
tree306d73494b65c4fbde4350501035381728fbb7e9
parent4a8ce8ac45b0463314cc32076ab89e12d0f07bfd
* include/video.h, include/vlc_config.h, src/video_output/*: changed the
   picture buffer allocation scheme to allocate pictures from the render
   heap in a clockwise fashion instead of always picking the first available
   one from the start of the heap.
   This allows us to benefit from ffmpeg's macro-block skipping feature.
   As a side effect, we also have less chance of reusing a refrence picture
   buffer when we can't link/unlink them.

* modules/codec/ffmpeg/video.c: modified the direct rendering code to benefit
   from the macro-block skipping algorithm.
   A new flag has also been introduced in the video_output's render heap to
   forbid modifications to the render picture buffers (for instance to overlay
   subtitles).
include/video.h
include/vlc_config.h
modules/codec/ffmpeg/video.c
src/video_output/video_output.c
src/video_output/vout_pictures.c