Hi All,
- I am using DM8168 board, now I want to use "OMX.TI.VPSSM3.VFCC" component in openmax lib to capture video and use video stream (frame data) for my work.
- Steps used:
+ Load component: OMX_GetHandle ( &hVFCC, ( OMX_STRING ) "OMX.TI.VPSSM3.VFCC", &oAppData, &omxCallback );”
+ Set parameter: OMX_SetParameter
+ Change component to IDLE state: OMX_SendCommand ( hVFCC, OMX_CommandStateSet, OMX_StateIdle, NULL );
+ Alloc buffer for 16 port: OMX_AllocateBuffer(hVFCC, &pBuffer, tPortDef.nPortIndex, NULL,tPortDef.nBufferSize);
- Here is issue: "OMX_AllocateBuffer" return to error code:
- OMX_ErrorUndefined: while the component is in the process to switch to IDLE
- OMX_ErrorIncorrectStateOperation: When the component finished switching to IDLE
- Code build to run on A8 core
- Please help me to resolve this problem !!!