0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/video
wm4 3d6d549dac vo_xv, vo_x11: simplify OSD redrawing
In order to support OSD redrawing for vo_xv and vo_x11, draw_bmp.c
included an awkward "backup" mechanism to copy and restore image
regions that have been changed by OSD/subtitles.

Replace this by a much simpler mechanism: keep a reference to the
original image, and use that to restore the Xv/X framebuffers.

In the worst case, this may increase cache pressure and memory usage,
even if no OSD or subtitles are rendered. In practice, it seems to be
always faster.
2013-01-13 20:04:12 +01:00
..
decode video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
filter sub: do not copy the target image if there is no OSD/subs 2013-01-13 20:04:12 +01:00
out vo_xv, vo_x11: simplify OSD redrawing 2013-01-13 20:04:12 +01:00
csputils.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
csputils.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
fmt-conversion.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
fmt-conversion.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
image_writer.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
image_writer.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
img_format.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
img_format.h video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
img_fourcc.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +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 video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
mp_image.h video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
sws_utils.c video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00