() Cause
The case link here is like this camera-"SCLR (yuv420sp CIF) -dup-ipcframeoutm3-ipcframerocess-ipncframeindsp-dspalg-osdalg-scdalg
|
| Swms-"display
|
Ipcoutm3-ipcinvideo-ENC-ipcbitoutrtos-ipcbitinhost
Previously, the processdata function was used for Grayscale processing in the DSP's alglink, and there was a stripe below. It was solved by writing it back to the memory with cache_wb.
After the SCLR module was added this time, the video was choppy and the frequency modulation occurred!
() Solution
Shielding the added grayscale processing. This 1080/2 1920/2 is okay. If there is a problem with other methods, I have tested this method. If there is anything else to do with it, it may be that the cache is not enabled on the DSP !!!, First go to SCD, and then start with this!
// Memset (pframe-> ADDR [0] [1], 0x80,192 0*1080/2); // Add by PKF 11-4 128
// Cache_wb (pframe-> ADDR [0] [0], 1920*1080, cache_type_all, true );
// Cache_wb (pframe-> ADDR [0] [1], 1920*1080/2, cache_type_all, true );
// Memset (pframe-> ADDR [1] [1], 0x80,192 0*1080/4 );
Embedded Development-DaVinci --- SCLR and swms for image scaling in 8148/8168/8127/, image and video freezing and screen jumping Problems