1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 04:31:39 +00:00
mpv/video
wm4 c54fc507da video/filter: change filter API, use refcounting, remove filter DR
Change the entire filter API to use reference counted images instead
of vf_get_image().

Remove filter "direct rendering". This was useful for vf_expand and (in
rare cases) vf_sub: DR allowed these filters to pass a cropped image to
the filters before them. Then, on filtering, the image was "uncropped",
so that black bars could be added around the image without copying. This
means that in some cases, vf_expand will be slower (-vf gradfun,expand
for example).

Note that another form of DR used for in-place filters has been replaced
by simpler logic. Instead of trying to do DR, filters can check if the
image is writeable (with mp_image_is_writeable()), and do true in-place
if that's the case. This affects filters like vf_gradfun and vf_sub.

Everything has to support strides now. If something doesn't, making a
copy of the image data is required.
2013-01-13 20:04:10 +01:00
..
decode video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
filter video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
out video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
csputils.c
csputils.h
fmt-conversion.c video: silence warnings for missing libavutils pixel formats 2012-12-14 21:34:56 +01:00
fmt-conversion.h
image_writer.c video: fix bogus uses of mp_image.w/width 2012-11-21 19:58:51 +01:00
image_writer.h
img_format.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
img_format.h video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
memcpy_pic.h memcpy_pic: kill useless/dangerous optimization 2012-11-25 23:40:07 +01:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image.c mp_image: require using mp_image_set_size() for setting w/h 2013-01-13 17:39:32 +01:00
mp_image.h video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
sws_utils.c sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00