Hii
I am using tvp5146m2 digitizer.The driver code for this digitizer is saMmapLoopback.c.
What modifications are to be done to the code to reduce the frame rate.The present frame rate is 30fps.
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.
vennela aasha said:I am using tvp5146m2 digitizer.The driver code for this digitizer is saMmapLoopback.c.
What modifications are to be done to the code to reduce the frame rate.The present frame rate is 30fps.
This depends on how you want to reduce the frame rate, which likely depends on the reason you want to reduce the frame rate. Since the saMmapLoopback.c example application is just looping back the video, I am guessing you just want your output video to look like it is lower frame rate?
Since the TVP5146 is capturing NTSC video it will always be passing it in at 30 FPS, so the easiest way to have an effectively lower frame rate would be to go into the application and have it ignore a new frame every so often (i.e. if you wanted 15 FPS just ignore every other frame event). In the case of saMmapLoopback.c you could put an if statement around the dequeue display buffer code in the main loopback loop (around line 652 from the PSP 3.00.01.06 examples), such that it only updates the display every so many captured frames.
Thnq.
I'm using Devkit 8000.The video captured is PAL.The arm processor captures the frames resizes to QVGA and gives the input to dsp.dsp processes the frames and writes back to display buffers.I need to reduce the capture frame rate as my alogorithm on dsp runs around 17 fps.The algorithm is very much optimized.