Linux Media Controller development
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bod@kernel.org>
To: Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Vikash Garodia <vikash.garodia@oss.qualcomm.com>,
	Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
	Abhinav Kumar <abhinav.kumar@linux.dev>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, kernel test robot <lkp@intel.com>
Subject: Re: [PATCH v3 2/3] media: v4l2-core: Add support for video encoder ROI control
Date: Wed, 5 Aug 2026 04:51:22 +0100	[thread overview]
Message-ID: <3cb31ce1-bb06-4202-aeb6-8e8437e57085@kernel.org> (raw)
In-Reply-To: <20260804-enc_roi_enable-v3-2-e03b622a2d48@oss.qualcomm.com>

On 04/08/2026 21:05, Deepa Guthyappa Madivalara wrote:
> @@ -1588,6 +1606,7 @@ void cur_to_new(struct v4l2_ctrl *ctrl)
>   		return;
>   	if (ctrl->is_dyn_array)
>   		ctrl->new_elems = ctrl->elems;
> +
>   	ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems);
>   }
> 
> @@ -2030,6 +2049,9 @@ static struct v4l2_ctrl *v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl,
>   	case V4L2_CTRL_TYPE_U32:
>   		elem_size = sizeof(u32);
>   		break;
> +	case V4L2_CTRL_TYPE_S8:
> +		elem_size = sizeof(s8);
> +		break;
>   	case V4L2_CTRL_TYPE_MPEG2_SEQUENCE:
>   		elem_size = sizeof(struct v4l2_ctrl_mpeg2_sequence);
>   		break;
> @@ -2247,7 +2269,6 @@ static struct v4l2_ctrl *v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl,
> 
>   	if (flags & V4L2_CTRL_FLAG_HAS_WHICH_MIN_MAX) {
>   		void *ptr = ctrl->p_def.p;
> -
>   		if (p_min.p_const) {
>   			ptr += elem_size;
>   			ctrl->p_min.p = ptr;

You're adding and subtracting newlines here in code you otherwise aren't 
touching.

---
bod


  reply	other threads:[~2026-08-05  3:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <_l91CrDl1TZCUzjX1JcRr1cgRM6CNFGa4eRe52VgXTUOOcx8yjj9YCeBaulfAgFkrnN6fCpZfpCIilkjdOV_JA==@protonmail.internalid>
2026-08-04 20:05 ` [PATCH v3 0/3] Implement Region of Interest(ROI) support Deepa Guthyappa Madivalara
2026-08-04 20:05   ` [PATCH v3 1/3] media: uapi: Introduce new control for video encoder ROI Deepa Guthyappa Madivalara
2026-08-05  3:49     ` Bryan O'Donoghue
2026-08-05 16:37       ` Deepa Guthyappa Madivalara
2026-08-04 20:05   ` [PATCH v3 2/3] media: v4l2-core: Add support for video encoder ROI control Deepa Guthyappa Madivalara
2026-08-05  3:51     ` Bryan O'Donoghue [this message]
2026-08-05 16:37       ` Deepa Guthyappa Madivalara
2026-08-04 20:05   ` [PATCH v3 3/3] media: iris: Add ROI support framework for iris video encoder Deepa Guthyappa Madivalara
2026-08-05  4:06     ` Bryan O'Donoghue
2026-08-06 18:36       ` Deepa Guthyappa Madivalara
2026-08-05  4:09   ` [PATCH v3 0/3] Implement Region of Interest(ROI) support Bryan O'Donoghue
2026-08-05 16:39     ` Deepa Guthyappa Madivalara
2026-08-06  5:24     ` Vikash Garodia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cb31ce1-bb06-4202-aeb6-8e8437e57085@kernel.org \
    --to=bod@kernel.org \
    --cc=abhinav.kumar@linux.dev \
    --cc=deepa.madivalara@oss.qualcomm.com \
    --cc=dikshita.agarwal@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mchehab@kernel.org \
    --cc=vikash.garodia@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox