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.

Problem about VPBE based on dm6437 platform

the following codes are part of  an "video_preview"   example provide by TI. 

 if you have installed the dvsdk of dm6437_evm,   the example is located  in such directory: " dvsdk_1_01_00_15\examples\video_preview"

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

/* create video input channel */
  if (status == 0) {
    PSP_VPFEChannelParams vpfeChannelParams;
    vpfeChannelParams.id     = PSP_VPFE_CCDC;
    vpfeChannelParams.params = (PSP_VPFECcdcConfigParams*)&vpfeCcdcConfigParams;
    hGioVpfeCcdc = FVID_create("/VPFE0",IOM_INOUT,NULL,&vpfeChannelParams,NULL);
    status = (hGioVpfeCcdc == NULL ? -1 : 0);
  }

  /* create video output channel, plane 0 */
  if (status == 0) {
    PSP_VPBEChannelParams vpbeChannelParams;
    vpbeChannelParams.id     = PSP_VPBE_VIDEO_0;
    vpbeChannelParams.params = (PSP_VPBEOsdConfigParams*)&vpbeOsdConfigParams;
    hGioVpbeVid0 = FVID_create("/VPBE0",IOM_INOUT,NULL,&vpbeChannelParams,NULL);
    status = (hGioVpbeVid0 == NULL ? -1 : 0);
  }

  /* create video output channel, venc */
  if (status == 0) {
    PSP_VPBEChannelParams vpbeChannelParams;
    vpbeChannelParams.id     = PSP_VPBE_VENC;
    vpbeChannelParams.params = (PSP_VPBEVencConfigParams *)&vpbeVencConfigParams;
    hGioVpbeVenc = FVID_create("/VPBE0",IOM_INOUT,NULL,&vpbeChannelParams,NULL);
    status = (hGioVpbeVenc == NULL ? -1 : 0);
  }
-------------------------------------------------------------------------------------------------------------------------------------------------------------

I have tinted different colors on the word  where i am doubt about it.  questions as follows:

1)  FVID_create : we could know that GIO driver mode is used here,  but i want to use the SIO driver mode , because in the future the code may communication with dspLinker which uses the sio driver mode.    how can i do it ?

2) in this example ,the second and third  FVID_create function  have the same dev name Params :VPBE0  ,

 does it means that we have create two VPBE instance ?  One for OSD ,The other for VENC?

I have upload the project.   thans for your help.

VIDEO_Preview_evmDM6437.rar