Support to emulate touch devices in vivid driver.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 3 +-
drivers/media/platform/vivid/vivid-core.c | 134 ++-
drivers/media/platform/vivid/vivid-core.h | 18 ++
drivers/media/platform/vivid/vivid
v4l_s_fmt, for VFL_TYPE_TOUCH, sets unneeded members of
the v4l2_pix_format structure to default values.This was
missing in v4l_g_fmt, which would lead to failures in
v4l2-compliance tests.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 33 +++-
1
This patch adds support for touch devices in the vivid driver.
Current code provides a framework for touch support and passes
compliance tests.
TODO: Add touch emulation.
Thank you.
Regards,
Vandana.
Vandana BN (2):
v4l2-core: fix touch support in v4l_g_fmt
vivid: Add touch support
drivers
Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in
vivid driver.
Signed-off-by: Vandana BN
---
Change in V3 - modified pixfmt-meta-vivid.rst to have dual GFDL and GPL license.
---
Documentation/media/uapi/v4l/meta-formats.rst | 1 +
.../media/uapi/v4l/pixfmt-meta
Adds support to test metadata output format V4L2_META_FMT_VIVID.
Signed-off-by: Vandana BN
---
Changes in V3:
simplified meta_fillbuffer(), also ensure the brightness and
contrast values are in range 64-255.
---
contrib/freebsd/include/linux/videodev2.h | 1 +
include/linux/videodev2.h
Add new metadata format to support metadata output in vivid.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
This patch adds meatadata capture support in vivid driver.
Adds new files for metadata capture.
Adds vivid controls to generate PTS and SCR for metadata stream.
also fixes v4l2-compliance issues seen on metadata device.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile
Support metadata output in vivid driver.
Metadata output is used to set brightness, contrast, saturation
and hue.
Adds new files for metadata output.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 98
brightness, contrast, sturation and hue.
Changes in V11:
fix in metadata output patch to correctly update sequence.
fix in metadata capture patch updating description of node_types
in module patameter.
Regards,
Vandana.
Vandana BN (3):
vivid: Add metadata capture support
v4l2-core
This patch adds meatadata capture support in vivid driver.
Adds new files for metadata capture.
Adds vivid controls to generate PTS and SCR for metadata stream.
also fixes v4l2-compliance issues seen on metadata device.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile
brightness, contrast, sturation and hue.
Regards,
Vandana.
Vandana BN (3):
vivid: Add metadata capture support
v4l2-core: Add new metadata format
vivid: Add metadata output support
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 197
Support metadata output in vivid driver.
Metadata output is used to set brightness, contrast, saturation
and hue.
Adds new files for metadata output.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 98
Add new metadata format to support metadata output in vivid.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in
vivid driver.
Signed-off-by: Vandana BN
---
Documentation/media/uapi/v4l/meta-formats.rst | 1 +
.../media/uapi/v4l/pixfmt-meta-vivid.rst | 43 +++
2 files changed, 44 insertions(+)
create mode
Support metadata output in vivid driver.
Metadata output is used to set brightness, contrast, saturation
and hue.
Adds new files for metadata output.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 98
Add new metadata format to support metadata output in vivid.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
This patch adds metadata output support in vivid driver.
New metadata format V4L2_META_FMT_VIVID is added,
which is used to set brightness, contrast, sturation and hue.
V2 has changes in metadata output structure and metadata format define.
V3 addresses review comments.
Regards,
Vandana.
Vandana
Adds new file for describing new metadata format V4L2_META_FMT_VIVID added in
vivid driver.
Signed-off-by: Vandana BN
---
Documentation/media/uapi/v4l/meta-formats.rst | 1 +
.../media/uapi/v4l/pixfmt-meta-vivid.rst | 43 +++
2 files changed, 44 insertions(+)
create mode
This patch adds meatadata capture support in vivid driver.
Adds new files for metadata capture.
Adds vivid controls to generate PTS and SCR for metadata stream.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c
This patch adds meatadata capture support in vivid driver.
Adds new files for metadata capture.
Adds vivid controls to generate PTS and SCR for metadata stream.
Signed-off-by: Vandana BN
---
V8 - squash commit:fixes for v4l2-compliance issues.
---
drivers/media/platform/vivid/Makefile
Support metadata output in vivid driver.
Metadata output is used to set brightness, contrast, saturation
and hue.
Adds new files for metadata output.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 98
Add new metadata format to support metadata output in vivid.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
This patch adds metadata output support in vivid driver.
New metadata format V4L2_META_FMT_VIVID is added,
which is used to set brightness, contrast, sturation and hue.
V2 has changes in metadata output structure and metadata format define.
Regards,
Vandana.
Vandana BN (2):
v4l2-core: Add new
Adds support to test metadata output format V4L2_META_FMT_VIVID.
Signed-off-by: Vandana BN
---
contrib/freebsd/include/linux/videodev2.h | 1 +
include/linux/videodev2.h | 1 +
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 35 +++
utils/v4l2-ctl/v4l2-ctl
This patch adds metadata output support in vivid driver.
New metadata format V4L2_META_FMT_VIVID is added,
which is used to set brightness, contrast, sturation and hue.
Regards,
Vandana.
Vandana BN (2):
v4l2-core: Add new metadata format
vivid: Add metadata output support
drivers/media
Add new metadata format to support metadata output in vivid.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2
Support metadata output in vivid driver.
Metadata output is used to set brightness, contrast, saturation
and hue.
Adds new files for metadata output.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 98
Adds support to test metadata output format V4L2_META_FMT_VIVID.
Signed-off-by: Vandana BN
---
contrib/freebsd/include/linux/videodev2.h | 1 +
include/linux/videodev2.h | 1 +
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 31 +++
utils/v4l2-ctl/v4l2-ctl
This patch fixes test failure in the v4l2-compliance
for metadata output support.
Signed-off-by: Vandana BN
---
utils/v4l2-compliance/v4l2-compliance.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp
b/utils/v4l2-compliance/v4l2
Metadata formats may not be defined for a given input or output type.
This patch checks, if given input/output type enumerates metadata formats
and validates G_FMT accordingly.
Signed-off-by: Vandana BN
---
utils/v4l2-compliance/v4l2-test-formats.cpp | 17 +
1 file changed, 13
From: Hans Verkuil
This patch fixes v4l2-compliance issues seen on metadata device.
Signed-off-by: Hans Verkuil
---
drivers/media/platform/vivid/vivid-core.c | 16 +++-
drivers/media/platform/vivid/vivid-meta-cap.c | 2 +-
drivers/media/platform/vivid/vivid-vid-cap.c | 5 +++
.
Vandana BN (1):
vivid: Add metadata capture support
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 107 +-
drivers/media/platform/vivid/vivid-core.h | 14 ++
drivers/media/platform/vivid/vivid-ctrls.c| 64
This patch adds meatadata capture support in vivid driver.
Adds new files for metadata capture.
Adds vivid controls to generate PTS and SCR for metadata stream.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v7:
Not to call print_meta_buffer, if V4L2_BUF_FLAG_ERROR is set or
bytesused is 0.
Changes since v6:
Not to print PTS/SCR if not present.
Remove loop in print_meta_buffer
changes to testEnumFormats() and testGetFormats() to verify METADATA type.
G_FMT sets node->valid_buftypes, so TRY/S_FMT does not get called for
other input types, hence did not modify them.
Signed-off-by: Vandana BN
---
utils/v4l2-compliance/v4l2-test-formats.cpp | 17 +
1 f
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v6:
Not to print PTS/SCR if not present.
Remove loop in print_meta_buffer()
Changes since v5:
Use proper print format.
split fprintf.
Changes since v4:
Print PTS
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v5:
Use proper print format.
split fprintf.
Changes since v4:
Print PTS and SCR info.
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 45 +++
utils/v4l2-ctl
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v4:
Print PTS and SCR info.
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 42 +++
utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14 +
utils/v4l2-ctl/v4l2-ctl.h
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v3:
- Coding style corrections in print_meta_buffer.
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 27 +++
utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14 --
utils/v4l2-ctl
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v2
- Converted if to switch statement.
- Corrected format specifier in print.
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 25 +
utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
Changes since v1
- Removed static form type declaration of structure vivid_uvc_meta_buf.
- to print time in seconds.
- extract vivid_uvc_meta_buf properly from buf.
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 22
This patch adds meatadata capture support in vivid driver.
Added new files for metadata capture.
Signed-off-by: Vandana BN
---
Changes since v5:
-Use multiline comment in vivid-core.c.
-changed vivid_meta_cap_gen() to take proper length.
---
drivers/media/platform/vivid/Makefile | 2
This patch adds meatadata capture support in vivid driver.
Added new files for metadata capture.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 92 -
drivers/media/platform/vivid/vivid-core.h
Add VFL_TYPE_METADATA, to detect devices of type metadata and
to disable unneeded ioctls.
Without this change, format ioctls for both video and metadata devices
could be called on both device nodes.This is true for other ioctls as
well.
Signed-off-by: Vandana BN
---
V3 Updated commit message
Add VFL_TYPE_METADATA, to detect devices of type metadata and
to disable unneeded ioctls.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-dev.c | 57 ++--
drivers/media/v4l2-core/v4l2-ioctl.c | 5 ++-
include/media/v4l2-dev.h | 2 +
3 files
This patch adds meatadata capture support in vivid driver.
Added new files for metadata capture.
Signed-off-by: Vandana BN
---
v2 Add UVC metadata structure.
v3 Use correct metadata size.
v4 use VFL_TYPE_METADATA.
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform
Use vfl_type VFL_TYPE_METADATA instead of VFL_TYPE_GRABBER for metadata device.
Signed-off-by: Vandana BN
---
drivers/media/platform/vsp1/vsp1_histo.c | 4 ++--
drivers/media/usb/uvc/uvc_driver.c | 4 +++-
drivers/staging/media/ipu3/ipu3-v4l2.c | 8 +++-
3 files changed, 12
Add VFL_TYPE_METADATA, to detect devices of type metadata and
to disable unneeded ioctls.
Signed-off-by: Vandana BN
---
drivers/media/v4l2-core/v4l2-dev.c | 57 ++--
drivers/media/v4l2-core/v4l2-ioctl.c | 5 ++-
include/media/v4l2-dev.h | 2 +
3 files
This patch adds meatadata capture support in vivid driver.
Added new files for metadata capture.
Signed-off-by: Vandana BN
---
v2 Add UVC metadata structure.
v3 Use correct metadata size.
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c
Verkuil it appears that these 'if (dev->kthread_vid_cap)'
checks are a left-over from the original vivid development and should never
have been there.
Signed-off-by: Vandana BN
Cc: # for v3.18 and up
---
drivers/media/platform/vivid/vivid-vid-cap.c | 3 ---
drivers/media/platform/vi
: Vandana BN
---
drivers/media/platform/vivid/vivid-vid-cap.c | 3 ---
drivers/media/platform/vivid/vivid-vid-out.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/drivers/media/platform/vivid/vivid-vid-cap.c
b/drivers/media/platform/vivid/vivid-vid-cap.c
index 8cbaa0c998ed..2d030732feac
Print UVC Metadata information in verbose mode.
Signed-off-by: Vandana BN
---
utils/v4l2-ctl/v4l2-ctl-meta.cpp | 20
utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14 --
utils/v4l2-ctl/v4l2-ctl.h | 1 +
3 files changed, 29 insertions(+), 6 deletions
This patch adds meatadata capture support in vivid driver.
Added new files for metadata capture.
Signed-off-by: Vandana BN
---
drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 90 -
drivers/media/platform/vivid/vivid-core.h
On 19/07/19 7:11 AM, Akihiro TSUKADA wrote:
>> Will it be better, if dvb_pll_devcount is decremented in dvb_pll_release(),
>> instead of removing module params?
> But you cannot know deterministically which device corrensponds to
> what "id" (when you have multiple dvb_pll devices),
> since "id
On 18/07/19 6:05 AM, Akihiro TSUKADA wrote:
> Hi,
>
>> diff --git a/drivers/media/dvb-frontends/dvb-pll.c
>> b/drivers/media/dvb-frontends/dvb-pll.c
>> index ba0c49107bd2..c850f1d69bce 100644
>> --- a/drivers/media/dvb-frontends/dvb-pll.c
>> +++ b/drivers/media/dvb-frontends/dvb-pll.c
>> @@ -788
55 matches
Mail list logo