Hi,
I am using PSP_1_10_03 in DM6437 built board. So far, I am able to successfully test and run video capture/display programs.
When I tried to capture the histogram, GIO_submit(histHandle, PSP_VPSS_DEQUEUE, &histReadBuffer, &sizeOfbuff, NULL); returned error -2.
I traced it to ddc_hist.c file, and found out that
PAL_osSemTake (channelDB->semIsr, DDC_HIST_ISRSEM_TMOUT)) returned error.
Note: there is no problem to enqueue the buffer.
Additional information: the capture program runs slower than the CCDC interrupt, due to the long wait in histogram capture. Another word, there could be several frames captured in CCDC, but only one histogram is requested.
Could you tell me where it might be wrong, and how to fix it?
Thanks
Alan