Hi All,
This was with regards to capturing and rendering of an Analog signal, on the DM 6467.
Following is the code snippet that we are using to create a Capture device to receive an Analog signal:
#define NUM_CAPTURE_BUFS 5
Capture_Attrs cAttrs=Capture_Attrs_DM6467_DEFAULT;
Unsigned int TimeInUs=0;
Time_reset(hTime);
cAttrs.videoInput = Capture_Input_TUNER;
cAttrs.numBufs = NUM_CAPTURE_BUFS;
cAttrs.decoderIdx = 0;
Capture_detectVideoStd(stRecvModApp.hCapture, &stRecvModApp.videoStd, &cAttrs); //detects video std of signal present at input
Time_delta(hTime,&TimeInUs);
cAttrs.videoStd=stRecvModApp.videoStd; //video std as detected above
stRecvModApp.hCapture = Capture_create(hBufTab, &cAttrs);//capture device creation
Time_delta(hTime,&TimeInUs);
We profiled the code as shown above and the results that we consistently get are:
Capture_detectVideoStd – requires 3.5 sec to execute
Capture_create – requires 0.9 sec to execute.
As a result of this analog video requires approximately 5.5 to 6 sec to start rendering. This figure is very high and does not give a good user experience when viewing/swapping analog broadcasts.
Kindly guide us regarding:
- Is our strategy correct when creating the capture device?
- Kindly suggest us a mean as to how we could optimize the performance of creation of the capture device, so that the overall time to render decreases.
Let me know if you require any further information.
Thanking all in advance. Awaiting an early reply.
Regards,
Veenit