• Hans Verkuil's avatar
    media: omap_vout: fix various v4l2-compliance failures · 839b9d2c
    Hans Verkuil authored
    This patch fixes the following v4l2-compliance failures:
    
    - FIELD_ANY could be returned, which is not allowed.
    - JPEG colorspace was set instead of SRGB.
    - No control events.
    - Empty bus_info in QUERYCAP.
    - Overlay format handling wasn't zeroing bitmap/clips and
      didn't return the chromakey correctly.
    - G_FBUF didn't fill in many of the v4l2_framebuffer values.
      Now also return the base address of the corresponding
      framebuffer that this overlays.
    - Missing ENUM/G/S_OUTPUT ioctls.
    - ROTATE/VFLIP controls were added when the HW didn't support them.
    
    With these changes 'v4l2-compliance' passes all non-streaming tests.
    
    Tested on a Pandaboard and a Beagle XM board.
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    839b9d2c
omap_vout.c 56.8 KB