summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/af.h
AgeCommit message (Collapse)Author
2022-07-14ipa: rkisp1: Add AF algorithm basing on common AfHillClimbing classDaniel Semkowicz via libcamera-devel
Rockchip ISP AF block allows calculation of sharpness and luminance in up to three user defined windows. If no windows are set, there are some default settings applied for the first window and exposed through the driver. For each frame, use the sharpness value calculated for this default window and feed the hill climbing algorithm with them. Then set the lens position to value calculated by the algorithm. Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>