media: rockchip: rkisp1: reduce number of histogram grid

A patch from »Fix the rkisp1 userspace API for later IP versions« in state Mailinglist for linux-kernel

From: Heiko Stuebner <heiko.stuebner@...> Date: Mon, 18 Jan 2021 11:49:52 +0100

Commit-Message

The uapi right now specifies an array size of 28 but the actual number of elements is only 25 with the last 3 being unused. Reduce the array size to the correct number of elements. Signed-off-by: Heiko Stuebner <heiko.stuebner@...>

Patch-Comment

include/uapi/linux/rkisp1-config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Statistics

  • 1 lines added
  • 2 lines removed

Changes

---------------------- include/uapi/linux/rkisp1-config.h ----------------------
index ba443771cc0b..ecfb8f7a6c70 100644
@@ -102,8 +102,7 @@
/*
* Histogram calculation
*/
-/* Last 3 values unused. */
-#define RKISP1_CIF_ISP_HISTOGRAM_WEIGHT_GRIDS_SIZE 28
+#define RKISP1_CIF_ISP_HISTOGRAM_WEIGHT_GRIDS_SIZE 25
/*
* Defect Pixel Cluster Correction
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...