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.

DM385 + YUV 16bit 数据请教



仿照开发板,我们在DM385前端ISS接了FPGA,由FPGA提供YUV 4:2:2 16bit的数据给385,使用的是ipnc-rdk-3.8.

参照OV10630在cameraLink_drv.c做了如下修改:

pVipCreateArgs->inFmt.dataFormat = FVID2_DF_YUV422SP_VU;
pVipCreateArgs->videoIfMode = ISS_CAPT_YUV_16BIT;

在issDrv_captureApi.c中

isif_reg->SYNCEN = 0x3;

ipipe_reg->SRC_COL  = 27;
ipipeif_reg->CFG2 = 0x0E;

ipipe_reg->SRC_HPS=0;
    ipipe_reg->SRC_VPS=0;
 ipipe_reg->SRC_VSZ  = 1081;
    ipipe_reg->SRC_HSZ  = 1921;
 gIss_captCommonObj.pModuleInstance->nLscTableIsValid       = MSP_TRUE;
 ipipe_reg->WB2_WGN_R = 600;
    ipipe_reg->WB2_WGN_B = 750;
    ipipe_reg->RGB1_MUL_RR = 256;
    ipipe_reg->RGB1_MUL_GR = 0;
    ipipe_reg->RGB1_MUL_BR = 0;
    ipipe_reg->RGB1_MUL_RG = 0;
    ipipe_reg->RGB1_MUL_GG = 256;
    ipipe_reg->RGB1_MUL_BG = 0;
    ipipe_reg->RGB1_MUL_RB = 0;
    ipipe_reg->RGB1_MUL_GB = 0;
    ipipe_reg->RGB1_MUL_BB = 256;
 *(MSP_U32 *)(0x5505006C) &= 0xBFFFFF;

现在采集到的图像如下:

请教各位,还有什么需要注意的呢?可能是什么原因呢?