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.

[DM388][AR0521] The image is strange for 5M resolution (2560 x 1920).

Other Parts Discussed in Thread: DM388

Hi Ti:

We have completed porting of AR0521 sensor on dm388.

We meet a problem that image has strange line at right side.

I have no idea about it.

And the image is normal in 1080p resolution (1920 x 1080)

And our sensor 5M output is 2592 x 1944.

But TI DM388 5M can only set to 2560 x 1920.

I am not sure if it is the root cause.

Our 5M settings is below.

/   * Camera Link params */
    CameraLink_CreateParams_Init(&cameraPrm);
    cameraPrm.captureMode = CAMERA_LINK_CAPMODE_ISIF;
    cameraPrm.outQueParams[0].nextLink = dup5MId ;
    cameraPrm.outQueParams[1].nextLink = dupVGAId;
    cameraPrm.numAudioChannels = 0;
    cameraPrm.numVipInst = 1;
    cameraPrm.tilerEnable = FALSE;
    cameraPrm.maxWidth[0]  = 2560;
    cameraPrm.maxHeight[0] = 1920;
    cameraPrm.maxWidth[1]  = LCM_WIDTH;
    cameraPrm.maxHeight[1] = LCM_HEIGHT;

    /* setup sensor output */
    cameraPrm.vsEnable = 0;
    pCameraInstPrm = &cameraPrm.vipInst[0];
    pCameraInstPrm->vipInstId = SYSTEM_CAMERA_INST_VP_CSI2;
    pCameraInstPrm->videoDecoderId = MultiCh_getSensorId(gUI_mcfw_config.sensorId);
    pCameraInstPrm->inDataFormat = SYSTEM_DF_BAYER_RAW;
    pCameraInstPrm->sensorOutWidth  = 2560;
    pCameraInstPrm->sensorOutHeight = 1920;
    pCameraInstPrm->standard = SYSTEM_STD_5MP_2560_1920;
    pCameraInstPrm->numOutput = 2;

    /* First stream */
    pCameraOutPrm = &pCameraInstPrm->outParams[0];
    pCameraOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
    pCameraOutPrm->scEnable = FALSE;
    pCameraOutPrm->scOutWidth = 2560;
    pCameraOutPrm->scOutHeight = 1920;
    pCameraOutPrm->standard    = SYSTEM_STD_5MP_2560_1920;
    pCameraOutPrm->outQueId = 0;

    /* Second stream */
    pCameraOutPrm = &pCameraInstPrm->outParams[1];
    pCameraOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
    pCameraOutPrm->scEnable = FALSE;
    pCameraOutPrm->scOutWidth = 320;
    pCameraOutPrm->scOutHeight = 240;
    pCameraOutPrm->standard = SYSTEM_STD_VGA_60;
    pCameraOutPrm->outQueId = 1;

DarkHou