[vlc-devel] [PATCH 0/3] GPU scaling of subpictures
Steve Lhomme
robux4 at ycbcr.xyz
Fri Nov 23 09:42:11 CET 2018
We currently have issues with BluRay when displayed on screens larger than
1920x1080. The bitmaps subpictures from menu/overlay are scaled during
playback. It can take 170ms per picture on my i7-8700 machine. This results in
horrible lags & drops on the display.
These patches allow the vout display to tell it can handle SPU scaling and make
use of that flag to avoid doing it in the core and with swscale.
The scaling doesn't apply to text which should be rendered at the maximum
resolution to be clean.
Steve Lhomme (3):
subpicture: add a zoom factor in horizontal and vertical
video_output: allow the display to scale the SPU
direct3d11: support scaling subpictures in the GPU
include/vlc_spu.h | 5 ++++-
include/vlc_subpicture.h | 3 +++
include/vlc_vout_display.h | 1 +
modules/stream_out/transcode/video.c | 2 +-
modules/video_output/win32/direct3d11.c | 12 ++++++++++
src/misc/subpicture.c | 3 +++
src/video_output/video_output.c | 3 ++-
src/video_output/vout_subpictures.c | 30 +++++++++++++++++++++----
8 files changed, 52 insertions(+), 7 deletions(-)
--
2.17.1
More information about the vlc-devel
mailing list