-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
missing V4L2_PIX_FMT_Y12 support #16620
Copy link
Copy link
Closed
Milestone
Description
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?
Reactions are currently unavailable