From patchwork Tue Jul 7 17:08:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 11649377 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A82613B4 for ; Tue, 7 Jul 2020 17:08:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16BBB20771 for ; Tue, 7 Jul 2020 17:08:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727791AbgGGRIz (ORCPT ); Tue, 7 Jul 2020 13:08:55 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:35042 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726911AbgGGRIz (ORCPT ); Tue, 7 Jul 2020 13:08:55 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dafna) with ESMTPSA id 39A22260FA7 From: Dafna Hirschfeld To: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com Cc: dafna.hirschfeld@collabora.com, helen.koike@collabora.com, ezequiel@collabora.com, hverkuil@xs4all.nl, kernel@collabora.com, dafna3@gmail.com, sakari.ailus@linux.intel.com, linux-rockchip@lists.infradead.org, mchehab@kernel.org, tfiga@chromium.org Subject: [PATCH 0/2] change fields of uapi struct rkisp1_cif_isp_ctk_config Date: Tue, 7 Jul 2020 19:08:43 +0200 Message-Id: <20200707170845.28845-1-dafna.hirschfeld@collabora.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The struct rkisp1_cif_isp_ctk_config represents a 3x3 matrix and an offset vector for the color correction. It is nicer to represent those with a 3x3 array and a 3-array fields. - First patch repalces 9 fields 'coeff*' with one field coeff[3][3] - Second patch replaces 3 fields 'ct_offset_{rgb}' with one field 'ct_offset[3]' Dafna Hirschfeld (2): media: staging: rkisp1:: replace 9 coeff* fields with a 3x3 array media: staging: rkisp1: replace 3 fields 'ct_offset_*' with one array drivers/staging/media/rkisp1/rkisp1-params.c | 24 +++++++------------ .../staging/media/rkisp1/uapi/rkisp1-config.h | 20 +++++----------- 2 files changed, 15 insertions(+), 29 deletions(-)