SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
The LDC first performs an affine transform, which can be used for rotations and scaling, as shown in Figure 9-211. The output of the pixel coordinate is used as the input address to the affine transform.
Figure 9-211 Affine TransformationThe mapping from destination coordinate to the source coordinate is expressed as:
haff = a × hd + b × vd + c
vaff = d × hd + e × vd + f
This transform allows full rotation, expansion, contraction, and translation. The parameters {a, b, d, e} are in S16Q12 (signed number on 14 bits with 2 bits for integer and 12 bits of fraction) format, and parameters {c, f} are in S16Q3 format (signed number on 16 bits with 13 bits for integer and 3 bits of fraction). These parameters must be set in following bit fields:
The affine transform is not supported in Bayer mode.