Hi,
Can we switch between resizer mode at run time, in case if we like to use continuous mode while recording and single shot while playback?
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.
Hi,
Can we switch between resizer mode at run time, in case if we like to use continuous mode while recording and single shot while playback?
Hi vipul,
you cannot switch between single shot and continuous mode in dvsdk 4_02_06 which has linux .2.6.32-17. If you are using dvsdk 4.2 then you can mention the single shot or continuous mode by passing dm365_imp.oper_mode as parameter to the kernel while booting (operation mode =1 single shot and 0 for continuous ) mode
regards
pradeep
Thanks Pradeep,
But i was looking for solution in which I can switch between continuous / single shot mode in run time. Currently, I am using dvsdk 4 provided by TI.
Hi vipul,
The dvsdk 4_02_06 which has 2.6.32-17 linux kernel ipipe driver does not support switching b/w continuous and single shot mode. if your concern is to how to use resizer for capture and playback paths simultaneously , then u need to configure the previewer + resizer in single shot mode, get the image from memory--> previewer + resizer ---> memory (capture path) and memory----> resizer ----> memory (playback) path. hope this helps
regards
pradeep
Hi Pardeep,
Actually during capture, we need two resizer operation simultaneously
Ist for yuv422 to yuv420sp conversion (required for encoder)
2nd for LCD display.
Currently we are using single shot in capture because of single shot resizer requirement for the playback case.
Capture:
CVBS->memory(PAL:yuv422)->(Resizer)->memory(PAL:yuv420sp)->Resizer)->memory(480x272 LCD: yuv420sp).
Playback:
File->encode->memory(PAL:yuv420sp)->Resizer)->memory(480x272 LCD: yuv420sp).
Issue: in the capture scenario we are not able to achieve 25 FPS. we are facing huge fps drop
because of two single shot operations.
Questions:
1) In the single shot mode can we get parallel output from two resizers?
like: CVBS->memory(yuv422)->(resizer A&B)->memory(PAL(yuv420sp) & 480x272(yuv420sp)) any reference code?
2) Can we increase the resizer speed(clock)?
3) Do we have any SW routine or any hw unit inside dm368 for resizing? In case if we want to use continuous mode for capture.
BR,
Amit Sharma
Hi Pardeep,
Actually during capture, we need two resizer operation simultaneously
Ist for yuv422 to yuv420sp conversion (required for encoder)
2nd for LCD display.
Currently we are using single shot in capture because of single shot resizer requirement for the playback case.
Capture:
CVBS->memory(PAL:yuv422)->(Resizer)->memory(PAL:yuv420sp)->Resizer)->memory(480x272 LCD: yuv420sp).
Playback:
File->encode->memory(PAL:yuv420sp)->Resizer)->memory(480x272 LCD: yuv420sp).
Issue: in the capture scenario we are not able to achieve 25 FPS. we are facing huge fps drop
because of two single shot operations.
Questions:
1) In the single shot mode can we get parallel output from two resizers?
like: CVBS->memory(yuv422)->(resizer A&B)->memory(PAL(yuv420sp) & 480x272(yuv420sp)) any reference code?
2) Can we increase the resizer speed(clock)?
3) Do we have any SW routine or any hw unit inside dm368 for resizing? In case if we want to use continuous mode for capture.
BR,
Vipul Mahajan
Hi vipul,
How much is the drop in fps ? you should not get frame drops at least till D1. I'm also using the same concept but i'm capturing VGA and i get 30fps. You may need to check your capture thread and ur architecture ?. R u running resizing in the same thread as the capture thread ? you should have a separate thread for resizing. you can get 2 o/ps
after giving to previewer i,,e mem ----> uyvy ----}> resizer A (yuv 420sp) ------>encoder
|
|------> resizer B ( u y v v ) -----> LCD (/dev/fb2)
There is a resizer present in IMCOP (look at the DM 368 chip diagram), It has only down sizing but not upscaling. If you need upscaling of play back video there is no option other than using single shot mode
regards
pradeep