SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
A common shared level 2 (SL2) memory sub-system serves the input output data for both SDE and DOF cores. Same memory is also used by the FOCO module, when required, and it also mapped to SoC address map for external usage. This SL2 memory sub-system has the following configuration:
SL2 size allocation restrictions:
SDE SL2 memory Calculation (M1+M2+M3+M4)
- Internal Memory
M1= (Image Width/8u)*2u*8u*8u;
if(sl2AllocPrms->searchRange == 192)
{
M1 = M1 * 3u;
}
else if(sl2AllocPrms->searchRange == 128)
{
M1 = M1 * 2u;
}
- Reference Frame (M2)/Current Frame (M3)
pitch = ((Image Width)*3/2) + 63 & 0xFFFFFFC0; // 64 byte aligned
if(0u == ((pitch)%256u))
{
pitch += 64u;
}
M3 = M2 = pitch*24;
- Disparity Buffer (M4)
M4 = (Image Width)*2*10*2;
DOF Sl2 memoeru Calculation (M1+M2+M3+M4+M5)
- Reference Frame (M1)/Current Frame (M2)
pitch = ((Image Width)*3/2) + 63 & 0xFFFFFFC0; // 64 byte aligned
if(0u == ((pitch)%256))
{
pitch += 64u;
}
M1 = pitch * (((topSR + 7) & 0xFFFFFFFE) + 2
+ ((botSR + 10) & 0xFFFFFFFE)
+ 2);
M2 = pitch * (6 + 2 + 8 + 2);
- Temporal predictor (M3)
M3 = ((((Image Width) * 4) + 63) & 0xFFFFFFC0) * 2;
- Pyramidal Predictor (M4)
M4 = (((Image Width) + 63) & 0xFFFFFFC0) * 2;
- Output Flow Vector (M5)
M5 = ((((Image Width) * 4) + 63) & 0xFFFFFFC0) * 4;