Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 0/3] Vimc code readability improvements
@ 2022-06-16 10:07 Daniel Oakley
  2022-06-16 10:07 ` [PATCH 1/3] media: vimc: expand the names of vimc entity types Daniel Oakley
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Daniel Oakley @ 2022-06-16 10:07 UTC (permalink / raw)
  To: linux-media, Shuah Khan, Kieran Bingham, Mauro Carvalho Chehab
  Cc: Daniel Oakley

These patches are supposed to be applied on top of the not yet merged
vimc ancillary patch (65b957cb0a926ee178100f4af8fea0e516fc7604).

While the vimc ancillary lens patch series was being reviewed, it was made
apparent that there were a few issues with the vimc code clarity:
 - The data link entity names were unclear, leading to a possible confusion
   with len and lens, e.g. vimc_len_type refers to the lens.
 - Raw index numbers in the VIMC_DATA_LINK declarations made understanding
   that code hard.

This patch series aims to solve these problems.


Link to lens patch review:
https://lore.kernel.org/r/165037056336.2548121.16870543641391713634@Monstersaurus

Daniel Oakley (3):
  media: vimc: expand the names of vimc entity types
  media: vimc: enumerate data link entities for clarity
  media: vimc: use data link entities enum to index the ent_config array

 .../media/test-drivers/vimc/vimc-capture.c    | 270 ++++++------
 drivers/media/test-drivers/vimc/vimc-common.h |  10 +-
 drivers/media/test-drivers/vimc/vimc-core.c   |  80 ++--
 .../media/test-drivers/vimc/vimc-debayer.c    | 393 +++++++++---------
 drivers/media/test-drivers/vimc/vimc-lens.c   |  82 ++--
 drivers/media/test-drivers/vimc/vimc-scaler.c | 216 +++++-----
 drivers/media/test-drivers/vimc/vimc-sensor.c | 307 +++++++-------
 7 files changed, 691 insertions(+), 667 deletions(-)


base-commit: 65b957cb0a926ee178100f4af8fea0e516fc7604
-- 
2.36.1


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

end of thread, other threads:[~2022-06-28 20:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-16 10:07 [PATCH 0/3] Vimc code readability improvements Daniel Oakley
2022-06-16 10:07 ` [PATCH 1/3] media: vimc: expand the names of vimc entity types Daniel Oakley
2022-06-16 14:29   ` Shuah Khan
2022-06-16 14:41     ` Shuah Khan
2022-06-16 21:24       ` Kieran Bingham
2022-06-16 21:57         ` Shuah Khan
2022-06-17  7:05           ` Kieran Bingham
2022-06-16 10:07 ` [PATCH 2/3] media: vimc: enumerate data link entities for clarity Daniel Oakley
2022-06-16 14:30   ` Shuah Khan
2022-06-16 10:07 ` [PATCH 3/3] media: vimc: use data link entities enum to index the ent_config array Daniel Oakley
2022-06-16 14:31   ` Shuah Khan
2022-06-28 20:05     ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox