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.

Regarding video_preview example

Hi, i am able to capture a 320x240 stream with this example from my digital camera. So, i wanted to use it in my code. So, i made few changes with the DSP/BIOS config and when i am trying to run the example now, all i am getting is black frames or "davinci i2c warning: i2c: cmd complete failed......".

 

The changes i have made are

added a funtion to interrupt 5

added an IDL and TSK

reduced the heap size to 0x00080000

 

I tried running the original video_preview example with this changes and its working fine. But, when i am running it with my code it is not working. I have attached the code.

shm.rar