I recompile the examle of previewer_on_the_fly in the path of C:\dvsdk_1_11_00_00\pspdrivers_1_10_00\packages.....\video\.But when it run the following instructions, the program run into the if:
for(i = 0; i < NumOfIterations; i++)
{
if (IOM_COMPLETED != FVID_exchange(ccdcHandle, &FBAddr))
{
PREV_APP_PRINT("VPSS: Error in CCDC Exchange\r\n");
}
if (IOM_COMPLETED != FVID_exchange(vid0Handle, &FBAddr))
{
PREV_APP_PRINT("VPSS: Error in Video 0 Exchange\r\n");
}
}
It means FVID_exchange() faied.But I am sure the PrevHandle, ccdhandle, vencHandle and vid0Handle are all created successful!
Why did FVID_exchange() fail?How can I corrected?
Could you help me?