n8ers
Posts: 11
Joined: Tue Feb 10, 2015 3:42 am

Misadentures trying to use the ISP (/dev/video12) via V4L2 M2M - FOLLOW UP

Wed Mar 15, 2023 5:24 pm

This is a follow up to the now locked thread "Misadentures trying to use the ISP (/dev/video12) via V4L2 M2M"

I'm finally getting around to posting my code to use the ISP, including the off-by-one-frame work around. This code has been working solidly in production, hopefully it helps anyone out there who is trying to use the video12 device. See lines 206-211 of libpsresample.cpp for the hack, which simply cycles through an extra frame.

Here's the code:
https://gist.github.com/n8allan/6192f41 ... ce6e38cff6

trejan
Posts: 5526
Joined: Tue Jul 02, 2019 2:28 pm

Re: Misadentures trying to use the ISP (/dev/video12) via V4L2 M2M - FOLLOW UP

Wed Mar 15, 2023 6:59 pm

Posts are autolocked after a few months of inactive. A moderator can unlock it if you ask. Click on the report flag/button at the top of viewtopic.php?p=2001140#p1997917 and ask for it to be unlocked.

Return to “Graphics programming”