lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200618190506.11892-1-kgupta@es.iitr.ac.in>
Date:   Fri, 19 Jun 2020 00:35:04 +0530
From:   Kaaira Gupta <kgupta@...iitr.ac.in>
To:     Helen Koike <helen.koike@...labora.com>,
        Shuah Khan <skhan@...uxfoundation.org>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
        Kieran Bingham <kieran.bingham@...asonboard.com>,
        hverkuil@...all.nl
Cc:     Kaaira Gupta <kgupta@...iitr.ac.in>
Subject: [PATCH v3 0/2] media: Add colors' order and other info over test image

This patchset aims to add a method to display the correct order of
colors for a test image generated. It does so by adding a function
which returns a string of correct order of the colors for a test
pattern. It then adds a control in vimc which displays the string 
over test image. It also displays some other information like saturation,
hue, contrast and brightness over test image generated by vimc.

Changes since v3:
	In 1st patch:
	-Improved formatting of returned string.

	In 2nd patch:
	 - Add CID prefix in control name and change it to a more
	   generic name.
	 - Rename bool variable to a generic name.
	 - Disable text rendering instead of stopping stream if no
	   font found.
	 - Display more info like VIVID in VIMC.

Changes since v2:
	In 1st patch:
	- Create a 'define' to prevent repetition of the common color
          sequence string.
        - Use 'fallthrough' on case statement to prevent repetition of
          code.

Changes since v1:
        - Divided the patch into two patches.
        - Returned NULL for patterns whose color order cannot be
          defined. (Reported-by: kernel test robot <lkp@...el.com>)
        - Made separate switch cases for separate test patterns
         (Reported-by: kernel test robot <lkp@...el.com>)
        - Renamed variables from camelcase to use '_'
        - prefixed 'media' to the patches.

Kaaira Gupta (2):
  media: tpg: Add function to return colors' order of test image
  media: vimc: Add a control to display info on test image

 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 32 ++++++++++++-
 drivers/media/test-drivers/vimc/Kconfig       |  2 +
 drivers/media/test-drivers/vimc/vimc-common.h |  1 +
 drivers/media/test-drivers/vimc/vimc-sensor.c | 47 ++++++++++++++++++-
 include/media/tpg/v4l2-tpg.h                  |  1 +
 5 files changed, 80 insertions(+), 3 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ