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.

FVID_allocBuffer didn't work

Hi,

First,I'm working with the platform evmDM6437. I have used the project "video_preview" provided by the software  "dvsdk_1_11_00_00", this project has worked correctly with the evmDM6437 and I have displayed the video frames with  TV. Now , I'm working with a small board based on the dm6437 processor, I have used the same project "video_preview" with a small modifications to make it convenient to my needs. But, I have found a major issue in the function "FVID_allocBuffer". In fact, by the execution of this function my program would be blocked and I don't know what's the reason of this.

 

Beginning of "video_preview" program

--------------------------------
--------------------------------

/* allocate some frame buffers */
  if (status == 0) {
    for (i=0; i<FRAME_BUFF_CNT && status == 0; i++) {
      result = FVID_allocBuffer(hGioVpfeCcdc, &frameBuffTable[i]);--------------------------------------------------> My program is blocked here.
      status = (result == IOM_COMPLETED && frameBuffTable[i] != NULL ? 0 : -1);
    }
  }

------------------------------------
------------------------------------

End of "video_preview" program