1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
mpv/video
wm4 5261d1b099 vo_gpu: don't re-render hwdec frames when repeating frames
Repeating frames (for display-sync) is not supposed to render the entire
frame again. When using hardware decoding, it unfortunately did: the
renderer uses the frame ID to check whether the frame data changed, and
unmapping the hwdec frame clears it.

Essentially reverts commit 761eeacf54. Back then I probably
thought it would be a good idea to release the hwdec image quickly in
order to return it to the decoder, but they're referenced anyway.

This should increase the performance and reduce GPU work.
2017-11-03 15:11:56 +01:00
..
decode vd_lavc: restore --hwdec-image-format and d3d11 opaque mode 2017-11-02 15:58:36 +01:00
filter Get rid of deprecated AVFrame accessors 2017-10-30 13:36:44 +01:00
out vo_gpu: don't re-render hwdec frames when repeating frames 2017-11-03 15:11:56 +01:00
csputils.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
csputils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
fmt-conversion.c Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
fmt-conversion.h video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
hwdec.c video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
hwdec.h vd_lavc: add support for nvdec hwaccel 2017-10-28 19:59:08 +02:00
image_loader.c x11: load icon differently 2017-07-01 15:56:12 +02:00
image_loader.h x11: load icon differently 2017-07-01 15:56:12 +02:00
image_writer.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
image_writer.h image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
img_format.c img_format: AV_PIX_FMT_PAL8 is RGB 2017-10-09 15:15:53 +02:00
img_format.h Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
mp_image_pool.c video: remove special path for hwdec screenshots 2017-10-16 17:07:35 +02:00
mp_image_pool.h vf_vavpp: use libavutil hw frames API for frame pool and upload 2017-09-29 18:17:51 +02:00
mp_image.c vd_lavc: move display mastering data stuff to mp_image 2017-10-30 21:07:48 +01:00
mp_image.h video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
sws_utils.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
sws_utils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vaapi.c vaapi: Use libva2 message callbacks 2017-10-09 21:35:47 +02:00
vaapi.h vaapi: replace error macro implementation 2017-09-30 16:07:00 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vdpau_mixer.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vdpau.c vdpau: remove some more dead code 2017-10-16 18:19:19 +02:00
vdpau.h vdpau: remove some more dead code 2017-10-16 18:19:19 +02:00