linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: Add colors' order over test image
@ 2020-06-14 20:02 Kaaira Gupta
  2020-06-14 20:02 ` [PATCH v2 1/2] media: tpg: Add function to return colors' order of " Kaaira Gupta
  2020-06-14 20:02 ` [PATCH v2 2/2] media: vimc: Add a control to show test pattern colors' order Kaaira Gupta
  0 siblings, 2 replies; 7+ messages in thread
From: Kaaira Gupta @ 2020-06-14 20:02 UTC (permalink / raw)
  To: Helen Koike, Shuah Khan, Mauro Carvalho Chehab, linux-media,
	linux-kernel, Kieran Bingham, hverkuil
  Cc: Kaaira Gupta

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 and a control using which displays the string over test image.

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@intel.com>)
	- Made separate switch cases for separate test patterns
	 (Reported-by: kernel test robot <lkp@intel.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 show test pattern colors' order

 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 | 34 +++++++++++++++++++
 include/media/tpg/v4l2-tpg.h                  |  1 +
 5 files changed, 68 insertions(+), 2 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-15 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 20:02 [PATCH v2 0/2] media: Add colors' order over test image Kaaira Gupta
2020-06-14 20:02 ` [PATCH v2 1/2] media: tpg: Add function to return colors' order of " Kaaira Gupta
2020-06-15 11:42   ` Kieran Bingham
2020-06-14 20:02 ` [PATCH v2 2/2] media: vimc: Add a control to show test pattern colors' order Kaaira Gupta
2020-06-15 11:48   ` Kieran Bingham
2020-06-15 14:17     ` Kaaira Gupta
2020-06-15 15:55       ` Kieran Bingham

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).