• Ian Armstrong's avatar
    V4L/DVB (7243): ivtv: yuv framebuffer tracking · 88ab075a
    Ian Armstrong authored
    The existing yuv code limits output to the display area occupied by the
    framebuffer. This patch allows the yuv output to be 'detached' via
    V4L2_FBUF_FLAG_OVERLAY.
    
    By default, the yuv output window will be restricted to the framebuffer
    dimensions and the output position is relative to the top left corner of the
    framebuffer. This matches the behaviour of previous versions.
    
    If V4L2_FBUF_FLAG_OVERLAY is cleared, the yuv output will no longer be linked
    to the framebuffer. The maximum dimensions are either 720x576 or 720x480
    depending on the current broadcast standard, with the output position
    relative to the top left corner of the display. The framebuffer itself can be
    resized, moved and panned without affecting the yuv output.
    Signed-off-by: default avatarIan Armstrong <ian@iarmst.demon.co.uk>
    Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
    88ab075a
ivtv-driver.c 42.9 KB