1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 21:42:18 +00:00
mpv/video/filter
wm4 6e0b730044 vf_screenshot: simplify
Instead of using a callback to "capture" the image next time the filter
function is called, do it the other way around: on every filter
invocation, create a reference to the image, and return it if a
screenshot is requested. This also fixes the 1-frame delay when taking
screenshots with the filter.

This also allows simplifying screenshot.c.
2013-01-13 20:04:10 +01:00
..
pullup.c
pullup.h
vf_crop.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_delogo.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_divtc.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_dlopen.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_dlopen.h
vf_down3dright.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_dsize.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_eq.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_expand.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_flip.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_format.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_gradfun.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_hqdn3d.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_ilpack.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_mirror.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_noformat.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_noise.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_phase.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_pp.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_pullup.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_rotate.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_scale.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_screenshot.c vf_screenshot: simplify 2013-01-13 20:04:10 +01:00
vf_softpulldown.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_stereo3d.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_sub.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_swapuv.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_unsharp.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_vo.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_yadif.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf.h vf_screenshot: simplify 2013-01-13 20:04:10 +01:00