SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
The sequence in Figure 6-165 describes a high level initialization sequence for Optical Flow processing when input images (current and reference) are organized in a fully packed 12-bit format. A pyramid of images is created by the MSC inside VPAC for every frame before it can be fed to the DMPAC Optical Flow processing engine. The sequence below needs to be repeated for every level of such a pyramid. The parameters pertaining to frame resolution, input and output dependencies, data movement and algorithm needs to be updated for every level.
Figure 6-165 DMPAC 12bpp Optical Flow Processing Initialization Sequence| Variable | Equation | Comments |
|---|---|---|
| RefTop | multiple_of_2(vsr_n+6) | /* 6=census tr + hamming dist */ |
| RefCurr | 2 | |
| RefBott | multiple_of_2(vsr_p+6+2+1) | /* 6=census tr + hamming dist; 2=prefetch; 1=adv-pred */ |
| RefThreshold | RefTop + RefCurr + RefBott | |
| CurTop | 6 | /* 6=census tr + hamming dist */ |
| CurCurr | 2 | |
| CurBott | 8 | /* 6=census tr + hamming dist; 1=adv-pred; 1= round */ |
| CurThreshold | CurTop + CurCurr + CurBott | |
| mf_en | Median Filter Enable |