Skip to content

missing V4L2_PIX_FMT_Y12 support #16620

Closed

Description

@firebladed

I am trying to get an AMG88xx infra red camera working see question which only outputs Y12

after exploring the source for video4linux capture i noticed that cap_v4l.cpp is missing V4L2_PIX_FMT_Y12 but supports V4L2_PIX_FMT_Y10 and V4L2_PIX_FMT_Y16

im not very familiar with the inner working of OpenCV but the supported y10 format is very similar to the Y12 see YUV picture formats the both are stored as 16bit words with the y10 having more zero padding than the y12 which was added by this patch

could i do the same and would anything else be needed to add support for Y12?

Activity

  1. alalek commented on Feb 19, 2020

    @alalek
    Member

    Feel free to propose PR similar to Y10.
    We don't have this camera, so validation for this H/W is on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions