openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

sim: outputting frames in NV12 format

Open jeroenlammersma opened this issue 3 years ago • 0 comments

Fix for:

  • #25451

Converting is done from YUV to NV12, not from RGB to NV12 directly. I tried changing rgb_to_yuv.cl to real_debayer.cl, but I am not able to compile the cl program. Also I am not sure if that will work.

Nevertheless, a todo is:

  • swapping to real_debayer.cl or creating a dedicated rgb_to_nv12.cl program.

The latter is also something I tried to create, but I had the same issue as mentioned above (see image). I know why it fails (include headers), however I don't know the proper way to fix this in the codebase (I thought SCons would handle building).

clBuildProgram failed

jeroenlammersma avatar Aug 24 '22 08:08 jeroenlammersma