@@ -60,6 +60,21 @@ static void displayBNR(struct ipu3_uapi_params *params)
bnr.thr_ctrl_shd.gb, bnr.thr_ctrl_shd.b);
}
+static void displayGD(struct ipu3_uapi_bnr_static_config_green_disparity *gd)
+{
+ printf("red: %u, green: %u, blue: %u, black: %u\n",
+ gd->gd_red,
+ gd->gd_green,
+ gd->gd_blue,
+ gd->gd_black);
+
+ printf("shading: %u, support: %u, clip: %u, central weight: %u\n",
+ gd->gd_shading,
+ gd->gd_support,
+ gd->gd_clip,
+ gd->gd_central_weight);
+}
+
int main(int argc, char *argv[])
{
int in_fd;
@@ -98,6 +113,11 @@ start:
displayGrid(¶ms.acc_param.awb_fr.grid_cfg, "awb_fr");
}
+ if (params.use.acc_green_disparity) {
+ printf("\n**** Green disparity parameters ****\n");
+ displayGD(¶ms.acc_param.green_disparity);
+ }
+
close(in_fd);
return ret ? 1 : 0;