This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IPNC RDK 3.5 - How to change resolution of second camera stream?



Hi,

I am developing for the DM385 and I am modifying the low power tri-streaming use case in MCFW.

I wish to have two 1080p streams from the sensor, instead of 1080p + 480p combo that is used by default.

I have made the following (pretty obvious) modification:

    /* Second stream */
    pCameraOutPrm = &pCameraInstPrm->outParams[1];
    pCameraOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
    pCameraOutPrm->scEnable = FALSE;
    pCameraOutPrm->scOutWidth = 1920;
    pCameraOutPrm->scOutHeight = 1080;
    pCameraOutPrm->standard = SYSTEM_STD_1080P_30; //SYSTEM_STD_NTSC;
    pCameraOutPrm->outQueId = 1;

In addition, I've modified the default resolutions in system server.

Unfortunately, this does not yield the desired result, the secondary stream still works, but instead of displaying a 1080p stream, I get a corrupt image. It seems that the stream is treated as 1080p, but the actual image data is still 480p thus causing the lines to wrap yielding a corrupt image. I've attached the screenshot of the stream.

Where else do I need to make changes to solve this problem?

Eli