Re: [PATCH v3 2/3] docs: media: document media multi-committers rules and process

2024-12-02 Thread Hans Verkuil
gt; > Signed-off-by: Mauro Carvalho Chehab > Signed-off-by: Hans Verkuil Same typo in my email. > Reviewed-by: Ricardo Ribalda > --- > Documentation/driver-api/media/index.rst | 1 + > .../media/maintainer-entry-profile.rst| 8 + > .../driver

Re: [PATCH v3 0/3] Document the new media-committer's model

2024-12-02 Thread Hans Verkuil
On 02/12/2024 10:26, Mauro Carvalho Chehab wrote: > The media subsystem used to have a multi-commiter's model in the > past, but things didn't go well on that time, and we had to move to > a centralized model. > > As the community has evolved, and as there are now new policies in > place like CoC,

Re: [PATCH] docs: media: document media multi-committers rules and process

2024-11-27 Thread Hans Verkuil
gt; >> Signed-off-by: Mauro Carvalho Chehab >> Signed-off-by: Hans Verkuil >> --- >> Documentation/driver-api/media/index.rst | 1 + >> .../media/maintainer-entry-profile.rst| 193 ++ >> .../driver-api/media/media-committer.rst

Re: [PATCH 1/9] media: docs: v4l2-controls: fix sentence rendered in a nonsense way

2019-06-14 Thread Hans Verkuil
On 6/13/19 4:18 PM, Luca Ceresoli wrote: > This sentence renders as: > >> Since such compound controls need to expose more information about >> themselves than is possible with ioctls VIDIOC_QUERYCTRL, >> VIDIOC_QUERY_EXT_CTRL and VIDIOC_QUERYMENU the VIDIOC_QUERY_EXT_CTRL >

Re: [PATCH 02/11] media: videobuf2: Add new uAPI for DVB streaming I/O

2018-01-08 Thread Hans Verkuil
A quick follow-up: On 01/08/2018 02:54 PM, Hans Verkuil wrote: >> +/* >> + * Videobuf operations >> + */ >> +int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int nonblocking) >> +{ >> +struct vb2_queue *q = &ctx->vb_q; >> +i

Re: [PATCH 02/11] media: videobuf2: Add new uAPI for DVB streaming I/O

2018-01-08 Thread Hans Verkuil
Hi Mauro, Thanks for this patch series, nice to see this moving forward. Some comments below (note the wrong queue_setup code in particular since that relates to my comment about the '[PATCH v3] media: videobuf2-core: don't go out of the buffer range' patch). On 12/21/2017 05:18 PM, Mauro Carval

Re: [PATCH v2 08/17] media: v4l2-ioctl.h: convert debug macros into enum and document

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > Currently, there's no way to document #define foo > with kernel-doc. So, convert it to an enum, and document. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Thanks, Hans > --- > include/

Re: [PATCH v2 09/17] media: cec-pin.h: convert comments for cec_pin_state into kernel-doc

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > This enum is already documented, but it is not using a kernel-doc > format. Convert its format, in order to produce documentation. > > Signed-off-by: Mauro Carvalho Chehab No, this does not belong in the kernel API doc. It is really just an inter

Re: [PATCH v2 07/17] media: v4l2-event.rst: improve events description

2017-10-13 Thread Hans Verkuil
Nice! I have some small fixes and one little rewrite for the replace/merge documentation: On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > Both v4l2-event.rst and v4l2-event.h have an overview of > events, but there are some inconsistencies there: > > - at v4l2-event, the event's ringbuffer is c

Re: [PATCH v2 06/17] media: v4l2-dv-timings.h: convert comment into kernel-doc markup

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > The can_reduce_fps() is already documented, but it is not > using the kernel-doc markup. Convert it, in order to generate > documentation from it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil > --- >

Re: [PATCH v2 05/17] media: v4l2-device.h: document ancillary macros

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > There are several widely macros that aren't documented using kernel-docs > markups. > > Add it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards, Hans > --- > incl

Re: [PATCH v2 04/17] media: v4l2-common.h: document ancillary functions

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > There are several ancillary functions that aren't documented. s/ancillary/helper/g > > Document them. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/v4l2-core/v4l2-common.c | 14 - > include/media/v4l2-common.h |

Re: [PATCH v2 03/17] media: v4l2-common: get rid of struct v4l2_discrete_probe

2017-10-13 Thread Hans Verkuil
num_sizes; > -}; > - > -const struct v4l2_frmsize_discrete *v4l2_find_nearest_format( > - const struct v4l2_discrete_probe *probe, > - s32 width, s32 height); > +const struct v4l2_frmsize_discrete > +*v4l2_find_nea

Re: [PATCH v2 02/17] media: v4l2-common: get rid of v4l2_routing dead struct

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > This struct is not used anymore. Get rid of it and update > the documentation about what should still be converted. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil > --- > include/media/v4l2-common.h | 14 +

Re: [PATCH v8 4/7] media: open.rst: document vdevnode-centric and mc-centric types

2017-10-10 Thread Hans Verkuil
More word-smithing... On 10/10/2017 01:45 PM, Mauro Carvalho Chehab wrote: > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. > > Yet, we have never clearly documented in the V4L2 specification > the diff

Re: [PATCH v8 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-10 Thread Hans Verkuil
More (mostly) small stuff: On 10/10/2017 01:45 PM, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/glossary.rst | 167 > ++

Re: [PATCH v7 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-10 Thread Hans Verkuil
On 10/10/2017 10:20 AM, Mauro Carvalho Chehab wrote: > Em Tue, 10 Oct 2017 09:47:13 +0200 > Hans Verkuil escreveu: > >> On 09/28/2017 12:23 AM, Mauro Carvalho Chehab wrote: >>> Add a glossary of terms for V4L2, as several concepts are complex >>> enough to cause

Re: [PATCH v7 7/7] media: open.rst: add a notice about subdev-API on vdev-centric

2017-10-10 Thread Hans Verkuil
-specific > controls. Just to note that there is a pull request pending from me that removes this from the cobalt driver. So once that's merged there are only two drivers that do this. Anyway: Acked-by: Hans Verkuil Regards, Hans > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH v7 6/7] media: videodev2: add a flag for MC-centric devices

2017-10-10 Thread Hans Verkuil
ces' configuration > can be controlled via the :ref:`sub-device API `, which creates one > device node per sub-device. > > +.. attention:: > + > + Devices that require **MC-centric** media hardware control should should -> shall After that change you can add my:

Re: [PATCH v7 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-10 Thread Hans Verkuil
On 09/28/2017 12:23 AM, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/glossary.rst | 136 > ++ > Docu

Re: [PATCH 09/24] media: v4l2-dev: document video_device flags

2017-10-09 Thread Hans Verkuil
On 09/10/17 12:19, Mauro Carvalho Chehab wrote: > Convert #defines to enums and add kernel-doc markups for V4L2 > video_device flags. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards, Hans > --- > include/media/v4l2-dev.h | 25

Re: [PATCH 07/24] media: get rid of i2c-addr.h

2017-10-09 Thread Hans Verkuil
driver or at tvtuner. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Huh, I thought this header was nuked a long time ago... Regards, Hans > --- > drivers/media/i2c/tda7432.c | 1 - > drivers/media/i2c/tvaudio.c | 2 -- > driver

Re: [PATCH 08/24] media: v4l2-dev: document VFL_DIR_* direction defines

2017-10-09 Thread Hans Verkuil
On 09/10/17 12:19, Mauro Carvalho Chehab wrote: > The V4L_DIR_* direction flags document the direction for a > V4L2 device node. Convert them to enum and document. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards, Hans > --- > include/med

Re: [PATCH 06/24] media: i2c-addr.h: get rid of now unused defines

2017-10-09 Thread Hans Verkuil
On 09/10/17 12:19, Mauro Carvalho Chehab wrote: > Some of the previously used I2C addresses there aren't used > anymore. So, get rid of them. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards, Hans > --- > include/media/i2c-addr.h | 7 --

Re: [PATCH 05/24] media: v4l2-dev: convert VFL_TYPE_* into an enum

2017-10-09 Thread Hans Verkuil
On 09/10/17 12:19, Mauro Carvalho Chehab wrote: > Using enums makes easier to document, as it can use kernel-doc > markups. It also allows cross-referencing, with increases the > kAPI readability. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards

Re: [PATCH 04/24] media: v4l2-mediabus: convert flags to enums and document them

2017-10-09 Thread Hans Verkuil
ers > are obsolete and in the process of cleanings, I opted to just > keep the behavior, using an unsigned int inside those two > drivers. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Nice cleanup. Regards, Hans -- To unsubscribe from this l

Re: [PATCH] media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16

2017-10-09 Thread Hans Verkuil
On 09/10/17 12:23, Mauro Carvalho Chehab wrote: > Despite the struct says "color16", it was actually using 32 bits > for each color. Fix it. > > Suggested-by: Hans Verkuil > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Thanks! Hans > ---

Re: [PATCH 24/24] media: v4l2-tpg.h: rename color structs

2017-10-09 Thread Hans Verkuil
omewhat public header! > > So rename them to: > color -> tpg_rbg_color8 > color16 -> tpg_rbg_color16 > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Thanks! Hans > --- > drivers/media/common/v4l2-tpg/v4l2-tpg-colors.

Re: [PATCH 23/24] media: v4l2-tpg*.h: move headers to include/media/tpg and merge them

2017-10-09 Thread Hans Verkuil
gether. So, merge them. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Thanks! Hans > --- > drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c | 2 +- > drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 2 +- > drivers/media/platform/vimc/vimc-sensor.c

Re: [PATCH v6 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-09-01 Thread Hans Verkuil
On 29/08/17 15:17, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/glossary.rst | 150 > ++ > Documenta

Re: [PATCH v4 7/7] media: open.rst: add a notice about subdev-API on vdev-centric

2017-08-29 Thread Hans Verkuil
On 29/08/17 10:31, Ramesh Shanmugasundaram wrote: > Hi Hans, > >> On 28/08/17 12:30, Mauro Carvalho Chehab wrote: >>> Em Mon, 28 Aug 2017 12:05:06 +0200 >>> Hans Verkuil escreveu: >>> >>>> On 26/08/17 13:53, Mauro Carvalho Chehab wrote: >

Re: [PATCH v4 7/7] media: open.rst: add a notice about subdev-API on vdev-centric

2017-08-28 Thread Hans Verkuil
On 28/08/17 12:30, Mauro Carvalho Chehab wrote: > Em Mon, 28 Aug 2017 12:05:06 +0200 > Hans Verkuil escreveu: > >> On 26/08/17 13:53, Mauro Carvalho Chehab wrote: >>> The documentation doesn't mention if vdev-centric hardware >>> control would have subdev

Re: [PATCH v4 7/7] media: open.rst: add a notice about subdev-API on vdev-centric

2017-08-28 Thread Hans Verkuil
On 26/08/17 13:53, Mauro Carvalho Chehab wrote: > The documentation doesn't mention if vdev-centric hardware > control would have subdev API or not. > > Add a notice about that, reflecting the current status, where > three drivers use it, in order to support some subdev-specific > controls. I pos

Re: [PATCH v4 6/7] media: videodev2: add a flag for MC-centric devices

2017-08-28 Thread Hans Verkuil
On 26/08/17 13:53, Mauro Carvalho Chehab wrote: > As both vdev-centric and MC-centric devices may implement the > same APIs, we need a flag to allow userspace to distinguish > between them. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/open.rst| 7

Re: [PATCH v4 5/7] media: open.rst: Adjust some terms to match the glossary

2017-08-28 Thread Hans Verkuil
On 26/08/17 13:53, Mauro Carvalho Chehab wrote: > As we now have a glossary, some terms used on open.rst > require adjustments. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Regards, Hans > --- > Documentation/media/uapi/v4l/open.rst | 12

Re: [PATCH v4 4/7] media: open.rst: document devnode-centric and mc-centric types

2017-08-28 Thread Hans Verkuil
On 26/08/17 13:53, Mauro Carvalho Chehab wrote: > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. > > Yet, we have never clearly documented in the V4L2 specification > the differences between the two type

Re: [PATCH v4 3/7] media: open.rst: remove the minor number range

2017-08-28 Thread Hans Verkuil
gt; this is not relevant, as udev will take care of it. > > So, remove this useless misinformation. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil > --- > Documentation/media/uapi/v4l/open.rst | 9 - > 1 file changed, 4 insertions(+), 5 deletion

Re: [PATCH v4 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-08-28 Thread Hans Verkuil
This is a partial review. I think I need to review the other patches first before continuing this review. But it doesn't hurt to post this now. On 26/08/17 13:53, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. >

Re: [PATCH 1/3] media: open.rst: document devnode-centric and mc-centric types

2017-08-25 Thread Hans Verkuil
On 25/08/17 15:11, Laurent Pinchart wrote: > Hi Mauro, > > Thank you for the patch. > > On Friday, 25 August 2017 12:40:05 EEST Mauro Carvalho Chehab wrote: >> From: "mche...@s-opensource.com" >> >> When we added support for omap3, back in 2010, we added a new >> type of V4L2 devices that aren't

Re: [PATCH v2 2/3] media: open.rst: document devnode-centric and mc-centric types

2017-08-25 Thread Hans Verkuil
On 25/08/17 14:52, Mauro Carvalho Chehab wrote: > From: "mche...@s-opensource.com" > > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. Yet, we never made it clear, at the V4L2 spec, > about the differenc

Re: [PATCH v2 1/3] media: open.rst: better document device node naming

2017-08-25 Thread Hans Verkuil
b-OmniVision._USB_Camera-B4.04.27.1-video-index0 -> > ../../video0 > + └── by-path > + └── pci-:00:14.0-usb-0:2:1.0-video-index0 -> ../../video0 > + > > Many drivers support "video_nr", "radio_nr" or "vbi_nr" module >

Re: [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices

2017-08-25 Thread Hans Verkuil
On 25/08/17 13:35, Mauro Carvalho Chehab wrote: > Em Fri, 25 Aug 2017 08:30:37 -0300 > Mauro Carvalho Chehab escreveu: > >> Em Fri, 25 Aug 2017 08:15:03 -0300 >> Mauro Carvalho Chehab escreveu: >> >>> Em Fri, 25 Aug 2017 12:56:30 +0200 >>> Hans

Re: [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices

2017-08-25 Thread Hans Verkuil
On 25/08/17 12:50, Mauro Carvalho Chehab wrote: > Em Fri, 25 Aug 2017 12:42:51 +0200 > Hans Verkuil escreveu: > >> On 08/25/2017 12:35 PM, Mauro Carvalho Chehab wrote: >>> Em Fri, 25 Aug 2017 12:13:53 +0200 >>> Hans Verkuil escreveu: >>> >>

Re: [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices

2017-08-25 Thread Hans Verkuil
On 08/25/2017 12:35 PM, Mauro Carvalho Chehab wrote: > Em Fri, 25 Aug 2017 12:13:53 +0200 > Hans Verkuil escreveu: > >> On 08/25/2017 12:06 PM, Mauro Carvalho Chehab wrote: >>> Em Fri, 25 Aug 2017 11:44:27 +0200 >>> Hans Verkuil escreveu: >>> &

Re: [PATCH 1/3] media: open.rst: document devnode-centric and mc-centric types

2017-08-25 Thread Hans Verkuil
On 25/08/17 11:40, Mauro Carvalho Chehab wrote: > From: "mche...@s-opensource.com" > > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. Yet, we never made it clear, at the V4L2 spec, > about the differenc

Re: [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices

2017-08-25 Thread Hans Verkuil
On 08/25/2017 12:06 PM, Mauro Carvalho Chehab wrote: > Em Fri, 25 Aug 2017 11:44:27 +0200 > Hans Verkuil escreveu: > >> On 08/25/2017 11:40 AM, Mauro Carvalho Chehab wrote: >>> From: Mauro Carvalho Chehab >>> >>> As both vdev-centric and mc-centric d

Re: [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices

2017-08-25 Thread Hans Verkuil
On 08/25/2017 11:40 AM, Mauro Carvalho Chehab wrote: > From: Mauro Carvalho Chehab > > As both vdev-centric and mc-centric devices may implement the > same APIs, we need a flag to allow userspace to distinguish > between them. > > Signed-off-by: Mauro Carvalho Chehab > Signed-off-by: Mauro Carv

Re: [PATCH RFC v2] media: open.rst: document devnode-centric and mc-centric types

2017-08-25 Thread Hans Verkuil
On 24/08/17 14:07, Mauro Carvalho Chehab wrote: > From: "mche...@s-opensource.com" > > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. Yet, we never made it clear, at the V4L2 spec, > about the differenc

Re: [PATCH] [media] vidioc-queryctrl.rst: fix menu/int menu references

2017-04-09 Thread Hans Verkuil
On 04/09/2017 12:56 PM, Mauro Carvalho Chehab wrote: > The documentation incorrectly mentions MENU and INTEGER_MENU > at struct v4l2_querymenu table as if they were flags. They're > not: they're types. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Hans Verkui

Re: [PATCH v5 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-31 Thread Hans Verkuil
sferred per bus sample), 1, 1.5 (encoded as 1_5) and 2. With that additional change you can add my: Acked-by: Hans Verkuil Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-20 Thread Hans Verkuil
On 03/17/2017 05:11 PM, Neil Armstrong wrote: > On 03/16/2017 06:01 PM, Archit Taneja wrote: >> >> >> On 3/7/2017 10:12 PM, Neil Armstrong wrote: >>> Add documentation for added Bus Formats to describe RGB and YUS formats used >> >> s/YUS/YUV > > Thanks again > >> >>> as input to the Synopsys

Re: [PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-20 Thread Hans Verkuil
On 03/07/2017 05:42 PM, Neil Armstrong wrote: > Add documentation for added Bus Formats to describe RGB and YUS formats used > as input to the Synopsys DesignWare HDMI TX Controller. > > Signed-off-by: Neil Armstrong > --- > Documentation/media/uapi/v4l/subdev-formats.rst | 4992 > +

Re: [PATCH] [media] coda: fix warnings when compiling with 64 bits

2017-03-10 Thread Hans Verkuil
On 09/03/17 21:17, Mauro Carvalho Chehab wrote: > drivers/media/platform/coda/coda-common.c: In function ‘coda_alloc_aux_buf’: > ./include/linux/kern_levels.h:4:18: warning: format ‘%u’ expects argument of > type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ > [-Wformat

Re: [PATCH 1/3] [media] platform: compile VIDEO_CODA with COMPILE_TEST

2017-03-10 Thread Hans Verkuil
On 03/09/2017 09:08 PM, Mauro Carvalho Chehab wrote: > Currently, IMX_VDOA and VIDEO_CODA only builds on ARCH_MXC. > > That prevented me to build-test the driver, causing a bad patch > to be applied, and to see other warnings on this driver. Huh, must be the time of year. I just made a similar pa

Re: [PATCH] [media] videodev2.h.rst.exceptions: fix warnings

2016-09-19 Thread Hans Verkuil
ust precede a > section header) > Documentation/output/videodev2.h.rst:6: WARNING: undefined label: > v4l2-in-st-no-std-lock (if the link has no caption the label must precede a > section header) > > Fixes: ab6343956f9c ("[media] V4L2: Add documentation for SDI timings

Re: [PATCH 13/15] [media] cec-core: Convert it to ReST format

2016-08-19 Thread Hans Verkuil
On 08/19/2016 03:05 PM, Mauro Carvalho Chehab wrote: There are some things there that aren't ok for ReST format. Fix them. Signed-off-by: Mauro Carvalho Chehab OK, so I posted a similar patch for this: https://patchwork.linuxtv.org/patch/36376/ It's part of one of my pull requests, but I g

Re: [PATCH v4 10/12] [media] videodev2.h Add HSV encoding

2016-08-12 Thread Hans Verkuil
On 07/18/2016 02:42 PM, Ricardo Ribalda Delgado wrote: > Some hardware maps the Hue between 0 and 255 instead of 0-179. Support > this format with a new field hsv_enc. > > Signed-off-by: Ricardo Ribalda Delgado > --- > include/uapi/linux/videodev2.h | 21 +++-- > 1 file changed,

Re: [PATCH v4 11/12] [media] Documentation: Add HSV encodings

2016-08-12 Thread Hans Verkuil
On 07/18/2016 02:42 PM, Ricardo Ribalda Delgado wrote: > Describe the hsv_enc field and its use. > > Signed-off-by: Ricardo Ribalda Delgado > --- > Documentation/media/uapi/v4l/pixfmt-002.rst| 12 ++- > Documentation/media/uapi/v4l/pixfmt-003.rst| 14 ++-- > Documentation

Re: [PATCH] doc-rst: customize RTD theme, drop padding of inline literal

2016-08-05 Thread Hans Verkuil
On 08/05/2016 11:19 AM, Markus Heiser wrote: > From: Markus Heiser > > Remove the distracting (left/right) padding of inline literals. (HTML > ). Requested and discussed in [1]. > > [1] http://www.spinics.net/lists/linux-media/msg103991.html > > Signed-off-by: Markus

Re: [PATCH] doc-rst: Remove the media docbook

2016-07-27 Thread Hans Verkuil
On 07/27/2016 11:32 AM, Mauro Carvalho Chehab wrote: > Now that all media documentation was converted to Sphinx, we > should get rid of the old DocBook one, as we don't want people > to submit patches against the old stuff. > > Signed-off-by: Mauro Carvalho Chehab Acked-by

Re: [PATCH] [media] Documentation: Fix V4L2_CTRL_FLAG_VOLATILE

2016-07-22 Thread Hans Verkuil
On 07/22/2016 04:07 PM, Ricardo Ribalda Delgado wrote: > V4L2_CTRL_FLAG_VOLATILE behaviour when V4L2_CTRL_FLAG_EXECUTE_ON_WRITE > is set was not properly explained. > > Reported-by: Dimitrios Katsaros > Credit-to: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado >

Re: [PATCH v3 8/9] [media] vivid: Fix YUV555 and YUV565 handling

2016-07-18 Thread Hans Verkuil
On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote: > precalculate_color() had a optimization that avoided duplicated > conversion for YUV formats. This optimization did not take into > consideration YUV444, YUV555, YUV565 or limited range quantization. > > This patch keeps the optimization, bu

Re: [PATCH v3 4/9] [media] vivid: code refactor for color encoding

2016-07-18 Thread Hans Verkuil
On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote: > Replace is_yuv with color_enc Which can be used by other > color encodings such us HSV. > > This change should ease the review of the following patches. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/media/common/v4l2-tpg/v4l2

Re: [ANN] Media documentation converted to ReST markup language

2016-07-08 Thread Hans Verkuil
On 07/08/2016 03:34 PM, Mauro Carvalho Chehab wrote: > As commented on the patch series I just submitted, we finished the conversion > of the Media uAPI book from DocBook to ReST. > > For now, I'm placing the new documentation, after parsed by Sphinx, at this > place: > https://mchehab.fedor

Re: [PATCH 00/54] Second series of ReST convert patches for media

2016-07-08 Thread Hans Verkuil
On 07/08/2016 03:02 PM, Mauro Carvalho Chehab wrote: > That's the second series of patches related to DocBook to ReST > conversion. With this patch series, we're ready to merge it > upstream. > > There are still one thing to do: there are some new updates at > the DocBook pages on two topic branch

Re: [PATCH v2 0/2] moves samples out of Documentation directory

2016-04-26 Thread Hans Verkuil
Arnd >> >> [PATCH v2 1/2] samples: connector: from Documentation to samples >> [PATCH v2 2/2] samples: v4l: from Documentation to samples directory > > I can take them through the docs tree. > > Hans [added], are you OK with moving v4l2-pci-skeleton.c over to > t

Re: Kernel docs: muddying the waters a bit

2016-04-12 Thread Hans Verkuil
Hi Markus, On 04/08/16 17:12, Markus Heiser wrote: > Hi kernel-doc authors, > > motivated by this MT, I implemented a toolchain to migrate the kernel’s > DocBook XML documentation to reST markup. > > It converts 99% of the docs well ... to gain an impression how > kernel-docs could benefit fr

Re: Kernel docs: muddying the waters a bit

2016-02-18 Thread Hans Verkuil
On 02/18/16 13:04, Mauro Carvalho Chehab wrote: > Em Thu, 18 Feb 2016 13:23:37 +0200 > Jani Nikula escreveu: > >> On Thu, 18 Feb 2016, Mauro Carvalho Chehab wrote: >>> For simple documents like the one produced by kernel-doc, I guess >>> all markup languages would work equally. >>> >>> The probl

Re: V4L docs and docbook

2016-02-18 Thread Hans Verkuil
On 02/18/16 11:19, Jani Nikula wrote: > On Thu, 18 Feb 2016, Hans Verkuil wrote: >> I looked at ReStructuredText and it looks like it will be a pain to convert >> the media DocBook code to that, and the main reason is the poor table >> support. >> The syntax for that

Re: V4L docs and docbook

2016-02-17 Thread Hans Verkuil
Hi Jon, On 02/17/2016 10:52 PM, Jonathan Corbet wrote: > Hey, Mauro, > > There's been a conversation going on that I keep meaning to bring you > into. In short, there's a fair amount of interest in improving our > formatted kernel documentation, and, in particular, making it easier to > write; I