the DdrBuffersPrepare function problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

the DdrBuffersPrepare function problems

1,022件の閲覧回数
caihuanming
Contributor I

Hi Dear,

      I find a problem in the DdrBuffersPrepare function in main.cpp, and the isp_ov10640_quad (demos) uses the original way, is same to the WAY 1. and I change it with the WAY 2, BUT the pictures have some lines. SO I don't know the difference between the two ways, and why the WAY 2  appears the regular lines. 

   Please refer to the attached file.

WAY1:
SDI_ImageDescriptor lQuadFrmDesc;
SDI_DdrBufferArr lQuadBuffArr;
SDI_DdrBufferArr lQuadBuffArrRoi;

lQuadFrmDesc = SDI_ImageDescriptor
lQuadBuffArr.Allocate(lQuadFrmDesc, DDR_OUT_BUFFER_CNT)
lQuadBuffArrRoi = lQuadBuffArr.Roi

lQuadBuffArrRoi.ChannelIdxSet(FDMA_IX_ISP_OUTPUT0);
arContext.mpFdma->DdrBuffersSet(lQuadBuffArrRoi)

WAY2:
SDI_ImageDescriptor lFrmDesc;
sdi_FdmaIO* lpFdma = arContext.mpFdma;

lFrmDesc = SDI_ImageDescriptor
lpFdma->DdrBufferDescSet(FDMA_IX_ISP_OUTPUT0, lFrmDesc)
arContext.mpFdma->DdrBuffersAlloc(DDR_BUFFER_CNT)

タグ(4)
0 件の賞賛
返信
0 返答(返信)