Tool/software:
Hello,
I want to pass the SRV output (vx_image) through mosaic -> display.
I saw a thread with the same problem.
Attached: e2e.ti.com/.../tda4vm-problems-encountered-when-converting-rgbx-to-nv12-using-m2m-nodes
Unfortunately, I haven't received a response.
I'm experiencing some issues during this process and would like to ask for help.
I ran the following tests: SDK version 9.2.0.5
1. capture(raw) -> viss(NV12) -> srv(RGBX) -> m2m(NV12) -> display
I confirmed the output is normal.
2. capture(raw) -> viss(NV12) -> srv(RGBX) -> m2m(NV12) -> mosaic(NV12) -> display
It doesn't display properly.
Only a magenta image is output.
After gathering various information, I've gathered the following:
In scenario 1, the srv node's output is of type vx_image, the m2m node's output is also of type vx_image, and the display node's input is also of type vx_image, so there should be no problem.
However, the mosaic node has a problem because its input is an array.
The mosaic input type is NV12 and vx_object_array.
However, both the srv node output (RGBX) and the m2m node output (NV12) are of type vx_image.
I'm having trouble here. If there's a way to pass values from a vx_image to a vx_object_array, please let me know.
I believe the vxCreateObjectArray function only creates an array and doesn't read the vx_image values within the objectarray, resulting in a magenta color output.
If there's a way to pass image information from a vx_image to a vx_object_array, please let me know.
I tried changing it using memcpy in graph run, but the frame drop was severe, so I think I need another method.