SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
The H3A module supports the control loops for auto focus (AF), auto white balance (AWB) and auto exposure (AE) by computing image statistics. The statistics are typically used by the host CPU to adjust the various parameters for processing the image data. The H3A module comprises two sub modules: the AF and AE/AWB. The H3A module, which is integrated inside RFE module of VISS, can be configured to produce either AE/AWB or AF statistics in a sigle run. Data generated is stored into a separate SL2 memory buffer by writes of 32-Byte data in a single burst. There is support of only one H3A output channel between LSE and HTS.
The H3A output data is a single dimensional data and the amount of data produced depends on number of windows/paxel in a frame, varions functional modes and corner cases of multiple of 8 windows/paxels in a row, finishing row level statistics at 32-Byte boundary, etc. Table 6-115 shows the size of data produced, depending on H3A configuration.
Register Settings | Number of Bytes | Special care | |
---|---|---|---|
AF H3A_PCR[0] AF_EN = ‘1’ | Vertical AF disabled H3A_PCR[20] AF_VF_EN = ‘0’ | 48 Bytes/paxel | If paxel_no_x odd, add 16B per row to make it 32B multiple per row. |
Vertical AF enabled H3A_PCR[20] AF_VF_EN = ‘1’ | 64 Bytes/paxel | None | |
AE and AWB H3A_PCR[16] AEW_EN = ‘1’ | Sum of square H3A_AEW_CFG[9-8] AEFMT = ‘0’ | 34 Bytes/window | (+16B) After 8 windows (+16B) At end of row, but no end of windows, if H3A size at Row != 32B (+16B) Num of windows %8 !=0 (+16B) At end of windows, if H3A size at end of windows != 32B |
Min/Max H3A_AEW_CFG[9-8] AEFMT = ‘1’ | 34 Bytes/window | ||
Sum only H3A_AEW_CFG[9-8] AEFMT = ‘2’ | 18 Bytes/window |
The parameters of H3A output buffer need to be configured via VISS LSE register settings. Some special considerations include: