Hi ,
I am trying to capture 1080P Component video ,scale it down to SD resolution 720 x 480 and trying to display via composite port .
I am using OMX Capture-Encode application for this purpose . As there is no support for Composite video Display using OMX VFDC in EZSDK 5.02 ,i am trying to integrate the OMX Capture-Encode application and the saFBdevDisplay application for Composite Video display .
The way i approached is ,
As the DEI Component fills the Buffer at its Output Ports ,it calls the FillBufferDone() callback function which puts the message FBD in the local pipe of the component .The IL_Client thread reads the msg FBD from the local pipe and calls IL_ClientProcessPipeCmdFBD() function .
I have tried to access the Processed Buffer at the output port of the DEI component and copied this buffer into the buffer_addr (this is the memory mapped buffer in the user space of saFbdevDisplay )
OMX_ERRORTYPE IL_ClientProcessPipeCmdFBD (IL_CLIENT_COMP_PRIVATE *thisComp, IL_CLIENT_PIPE_MSG *pipeMsg){ OMX_ERRORTYPE err = OMX_ErrorNone; OMX_BUFFERHEADERTYPE *pBufferOut; IL_CLIENT_PIPE_MSG remotePipeMsg; IL_CLIENT_OUTPORT_PARAMS *outPortParamsPtr; int retVal = 0; pBufferOut = pipeMsg->pbufHeader; //add the Code for copying Buffer from DEI COMP output port into Framebuffer . if(thisComp->startOutportIndex == OMX_VFPC_OUTPUT_PORT_START_INDEX) { printf("into the ProcessPipeCmdFBD function,copying pBuffer to FB\r\n"); buffer_addr = pBufferOut->pBuffer; } I don't see any Display on the Composite channel ,Can anyone help me to integrate the OMX Capture-Encode app and saFbdevDisplay app for Composite Video Display .
Any help is appreciated .
Thanks,
Siva.
Hi,
Here are the few questions to summarize the above problem .
1 .How to access the processed Buffer at the output port of the DEI Component?
2 .Can I give this buffer to the saFbdevDisplay application for the composite display?