ITS: Depend on image area for calculating center offset threshold.

For test_preview_stabilization_fov.py, the max tested size by area, is
1920 x 1440. However, its possible that even if the max area is < 1920 x 1440,
the diagonal is still > diag (1920, 1440). The same goes for the min
tested size : 176 x 144. Therefore, use area of image for interpolation
instead of diagonal.

Bug: 238352851

Test: test_preview_stabilization_fov.py
Test: Vendor testing

Change-Id: I2cfa80a8590988801106329ccd12d9444bcd695b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2 files changed