Lindeni Forum

Full Version: AW_MPI_VI_SetVirChnAttr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
Thank you Michael.   
We just got our Lindenis V5 board.  I will give that a try.