From: Sylwester Nawrocki <snjw23@gmail.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com,
s.nawrocki@samsung.com,
Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [PATCH 1/1] v4l: Remove "_ACTUAL" from subdev selection API target definition names
Date: Thu, 17 May 2012 23:37:47 +0200 [thread overview]
Message-ID: <4FB56FAB.7030308@gmail.com> (raw)
In-Reply-To: <1337289325-19336-1-git-send-email-sakari.ailus@iki.fi>
Hi Sakari,
thanks for the patch.
On 05/17/2012 11:15 PM, Sakari Ailus wrote:
> The string "_ACTUAL" does not say anything more about the target names. Drop
> it. V4L2 selection API was changed by "V4L: Rename V4L2_SEL_TGT_[CROP/COMPOSE]_ACTIVE to
> V4L2_SEL_TGT_[CROP/COMPOSE]" by Sylwester Nawrocki. This patch does the same
> for the V4L2 subdev API.
>
> Signed-off-by: Sakari Ailus<sakari.ailus@iki.fi>
Are these all changes, or do you think we could try to drop the _SUBDEV
part as well from the below selection target names, so they are same
across V4L2 and subdev API ? :-)
I realize it might me quite a bit of documentation work and it's pretty
late for getting these patches in for v3.5.
I still have a dependency on my previous pull request which is pending
for the patch you mentioned. Do you think we should leave "_SUBDEV"
in subdev selection target names for now (/ever) ?
Regards,
Sylwester
> ---
...
> diff --git a/include/linux/v4l2-subdev.h b/include/linux/v4l2-subdev.h
> index 812019e..01eee06 100644
> --- a/include/linux/v4l2-subdev.h
> +++ b/include/linux/v4l2-subdev.h
> @@ -128,11 +128,11 @@ struct v4l2_subdev_frame_interval_enum {
> #define V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG (1<< 2)
>
> /* active cropping area */
> -#define V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL 0x0000
> +#define V4L2_SUBDEV_SEL_TGT_CROP 0x0000
> /* cropping bounds */
> #define V4L2_SUBDEV_SEL_TGT_CROP_BOUNDS 0x0002
> /* current composing area */
> -#define V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL 0x0100
> +#define V4L2_SUBDEV_SEL_TGT_COMPOSE 0x0100
> /* composing bounds */
> #define V4L2_SUBDEV_SEL_TGT_COMPOSE_BOUNDS 0x0102
>
next prev parent reply other threads:[~2012-05-17 21:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 17:17 [PATCH] V4L: Rename V4L2_SEL_TGT_[CROP/COMPOSE]_ACTIVE to V4L2_SEL_TGT_[CROP/COMPOSE] Sylwester Nawrocki
2012-05-14 23:21 ` Laurent Pinchart
2012-05-17 21:04 ` Sakari Ailus
2012-05-17 21:15 ` [PATCH 1/1] v4l: Remove "_ACTUAL" from subdev selection API target definition names Sakari Ailus
2012-05-17 21:37 ` Sylwester Nawrocki [this message]
2012-05-17 22:35 ` Sakari Ailus
2012-05-17 23:07 ` Sylwester Nawrocki
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=4FB56FAB.7030308@gmail.com \
--to=snjw23@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=s.nawrocki@samsung.com \
--cc=sakari.ailus@iki.fi \
/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;
as well as URLs for NNTP newsgroup(s).