Lindeni Forum
AW_MPI_VI_SetVirChnAttr - Printable Version

+- Lindeni Forum (http://forum.lindeni.org)
+-- Forum: Lindenis V5 (http://forum.lindeni.org/forumdisplay.php?fid=5)
+--- Forum: General Discussion on Lindenis V5 (http://forum.lindeni.org/forumdisplay.php?fid=6)
+--- Thread: AW_MPI_VI_SetVirChnAttr (/showthread.php?tid=3)



AW_MPI_VI_SetVirChnAttr - tylerjbrooks - 09-16-2018

Does this call actually take an attribute structure?  If so, which one?

My problem...
I want to setup two channels with different resolutions from the same sensor.  One channel is 1080p and the other is 720p.  I can create the VIPP for my sensor with the 1080p resolution and bind it to the encoder.  Works fine.  But there doesn't seem to be a way to ask the VI to scale down the image to 720p for the second channel.  Is there a way to do this?  Currently, I am doing a AW_MPI_VI_GetFrame on the second VI channel and then using G2D to scale down the image before I send it along to the encoder.  That works but I am surprised I can't just ask the VI to do that.


RE: AW_MPI_VI_SetVirChnAttr - Michael - 09-20-2018

In Lindenis V5 board,/dev/video0 and /dev/video2 link to MIPI_CSI 0, /dev/video1 and /dev/video3 link to MIPI_CSI 1.
So, video0 and video2 are showing the camera's picture. u can use video0 to 1080p, and usd video2 to 720p


RE: AW_MPI_VI_SetVirChnAttr - tylerjbrooks - 09-30-2018

Thank you Michael.   
We just got our Lindenis V5 board.  I will give that a try.