Tool/software:
Hi TI Experts,
I am working capture pipline and want to zero copy v4l2 buffer to vx_image and using VPAC LDC to process color format to NV12.
1. V4L2 setup
- Setup v4l2 with V4L2_MEMORY_MMAP
2. Create vx_image from V4l2 buffer
- Using vxCreateImageFromHandle to create vx_image
=> I can use vxMapImagePatch this vx_image and convert to cv::Mat and view this frame.
3. Processing vx_image with LDC VPAC
- Put the vx_image (created by vxCreateImageFromHandle) to LDC VPAC, the output is incorrect.
Ninh,
BRS