mpv/video
wm4 ea4332daf4 vo_xv: don't require frame stepping to remove OSD or subs
In order to improve performance, vo_xv didn't create a backup of the
video frame before drawing OSD and subtitles during normal playback. It
required the frontend to do frame stepping if it wanted to redraw the
OSD, but no backup of the video frame was available. (Consider the
following use case: enable the OSD permanently with --osd-level=3, then
pause during playback and do something that shows an OSD message. The
player will advance the video by one frame at the time the new OSD
message is first drawn.)

This also meant that taking a screenshot during playback with vo_xv
would include OSD and subtitles in the resulting image.

Fix this by always creating a backup before drawing OSD or subtitles.
In order to avoid having to create a full copy of the whole image frame,
introduce a complex scheme that tries to backup only the changed
regions.

It's unclear whether the additional complexity in draw_bmp.c for
backing up only the changed areas of the frame is worth it. Possibly
a simpler implementation would suffice, such as tracking only Y ranges
of changed image data, or even just copying the full frame.

vo_xv's get_screenshot() now always creates a copy in order not to
modify the currently displayed frame.
2012-11-21 19:56:59 +01:00
..
decode options, vo_x11: remove -zoom option, make it default 2012-11-16 21:21:14 +01:00
filter vf_softpulldown: fix possible regression 2012-11-20 18:00:15 +01:00
out vo_xv: don't require frame stepping to remove OSD or subs 2012-11-21 19:56:59 +01:00
csputils.c
csputils.h
fmt-conversion.c video: add IMGFMT_Y16/PIX_FMT_GRAY16 2012-11-14 11:50:02 +01:00
fmt-conversion.h
image_writer.c Add missing compat/libav.h includes 2012-11-12 20:08:24 +01:00
image_writer.h
img_format.c video: add IMGFMT_Y16/PIX_FMT_GRAY16 2012-11-14 11:50:02 +01:00
img_format.h video: add IMGFMT_Y16/PIX_FMT_GRAY16 2012-11-14 11:50:02 +01:00
memcpy_pic.h
mp_image.c video: add IMGFMT_Y16/PIX_FMT_GRAY16 2012-11-14 11:50:02 +01:00
mp_image.h
sws_utils.c
sws_utils.h
vfcap.h options, vo_x11: remove -zoom option, make it default 2012-11-16 21:21:14 +01:00