Re: [RFC PATCH] media: v4l2-ctrl: Add control for specific V4L2_EVENT_SRC_CH_RESOLUTION support

2018-10-04 Thread Tomasz Figa
On Wed, Oct 3, 2018 at 7:02 PM Maxime Jourdan wrote: > > On Tue, Oct 2, 2018 at 1:43 PM Hans Verkuil wrote: > > > > On 10/02/18 13:31, Maxime Jourdan wrote: > > > For drivers that expose both an OUTPUT queue and > > > V4L2_EVENT_SRC_CH_RESOLUTION such as video decoders, it is > > > possible that

Re: [RFC PATCH] media: v4l2-ctrl: Add control for specific V4L2_EVENT_SRC_CH_RESOLUTION support

2018-10-03 Thread Maxime Jourdan
On Tue, Oct 2, 2018 at 1:43 PM Hans Verkuil wrote: > > On 10/02/18 13:31, Maxime Jourdan wrote: > > For drivers that expose both an OUTPUT queue and > > V4L2_EVENT_SRC_CH_RESOLUTION such as video decoders, it is > > possible that support for this event is limited to a subset > > of the enumerated

Re: [RFC PATCH] media: v4l2-ctrl: Add control for specific V4L2_EVENT_SRC_CH_RESOLUTION support

2018-10-03 Thread Tomasz Figa
On Tue, Oct 2, 2018 at 8:44 PM Hans Verkuil wrote: > > On 10/02/18 13:31, Maxime Jourdan wrote: > > For drivers that expose both an OUTPUT queue and > > V4L2_EVENT_SRC_CH_RESOLUTION such as video decoders, it is > > possible that support for this event is limited to a subset > > of the enumerated

Re: [RFC PATCH] media: v4l2-ctrl: Add control for specific V4L2_EVENT_SRC_CH_RESOLUTION support

2018-10-02 Thread Hans Verkuil
On 10/02/18 13:31, Maxime Jourdan wrote: > For drivers that expose both an OUTPUT queue and > V4L2_EVENT_SRC_CH_RESOLUTION such as video decoders, it is > possible that support for this event is limited to a subset > of the enumerated OUTPUT formats. > > This adds V4L2_CID_SUPPORTS_CH_RESOLUTION

[RFC PATCH] media: v4l2-ctrl: Add control for specific V4L2_EVENT_SRC_CH_RESOLUTION support

2018-10-02 Thread Maxime Jourdan
For drivers that expose both an OUTPUT queue and V4L2_EVENT_SRC_CH_RESOLUTION such as video decoders, it is possible that support for this event is limited to a subset of the enumerated OUTPUT formats. This adds V4L2_CID_SUPPORTS_CH_RESOLUTION that allows such a driver to notify userspace of