This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

reducing frame rate in Video Preview code

Hi,

I'm using DaVinci board TSM320DM6437 and i'm looking for a way to seperate the capture of the frame form it display.

I am familiar with the function FVID EXCHANGE but when it display frame and concurrently takes new one to the buffer.

In my project i need to capture frame from web camera attached to the board, make some process (about 200msec) and display it.

The process should be continuously at this rate (about 5 frame per sec).

For this to happen i have to options; the first to duplicate the same frame to all buffer cells or to find different function with ability to do either load or display spereately.

So, actually i'm looking for a way to "reduce" the frames rate in order to give me sufficient time period to do the process.

I will be grateful for any idea or guidelines regarding this topic.

Thanks.

Best Regards,

Ohad

  • Hi,

     I am not sure what data format your input is, but you can change the memory address in every frame.

    You may allocate two memory spaces, and use "A" memory space for the data you want to handle and use "B" for the data you want to throw away.

    You may use VD interrupt (or field/frame start depending on the data format) to rewrite the address to register. 

     

    Regards,

    Sang-Yong