[vlc-devel] [PATCH 0/9] Get rid of the decoder pool in the displa (v1)

Steve Lhomme robux4 at ycbcr.xyz
Fri Oct 18 17:11:05 CEST 2019


This new patchset follows the previous one that was merged.

Now we create the picture pools in the decoders. Each VA sends pictures from
its own local pool and software decoders are sending pictures from a pool 
automatically created for them rather than using the pool of the display module.

After that we can reduce the large pool in the display module and only keep
enough pictures for the filters/converters that are still using that pool.

VAAPI and VDPAU are only partially tested.

These patches of this set can be found in thie branch:
https://code.videolan.org/robUx4/vlc/tree/push/merge/46


Steve Lhomme (7):
  avcodec: vdpau: allocate output pictures locally
  avcodec: vdpau: move the video context resources to a separate
    structure
  avcodec: vdpau: allocate the video context private data separately
  decoder: use a local decoder picture pool rather than using the
    display one
  video_output: use the display_pool with vout_GetPicture
  decoder: do not use the DPB size to configure the display module
  video_output: remove the decoder pool

Thomas Guillem (2):
  vaapi: gl: check that the image can be derived
  vout: lower decoder picture count when handled

 modules/hw/vdpau/avcodec.c                    | 90 +++++++++++++------
 modules/video_output/opengl/converter_vaapi.c | 25 ++++++
 src/audio_output/filters.c                    |  2 +-
 src/input/decoder.c                           | 80 ++++++++++++-----
 src/video_output/video_output.c               | 25 +++---
 src/video_output/vout_internal.h              |  5 +-
 src/video_output/vout_wrapper.c               | 46 ++--------
 7 files changed, 167 insertions(+), 106 deletions(-)

-- 
2.17.1



More information about the vlc-devel mailing list