All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: imx: add capture support for RGB565_2X8 on parallel bus
@ 2018-05-03 16:41 Jan Luebbe
  2018-05-03 16:41 ` [PATCH 1/2] media: imx: capture: refactor enum_/try_fmt Jan Luebbe
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jan Luebbe @ 2018-05-03 16:41 UTC (permalink / raw)
  To: linux-media; +Cc: Jan Luebbe, slongerbeam, p.zabel

The IPU can only capture RGB565 with two 8-bit cycles in bayer/generic
mode on the parallel bus, compared to a specific mode on MIPI CSI-2.
To handle this, we extend imx_media_pixfmt with a cycles per pixel
field, which is used for generic formats on the parallel bus.

Before actually adding RGB565_2X8 support for the parallel bus, this
series simplifies handing of the the different configurations for RGB565
between parallel and MIPI CSI-2 in imx-media-capture. This avoids having
to explicitly pass on the format in the second patch.

Jan Luebbe (2):
  media: imx: capture: refactor enum_/try_fmt
  media: imx: add support for RGB565_2X8 on parallel bus

 drivers/staging/media/imx/imx-media-capture.c | 38 +++++++--------
 drivers/staging/media/imx/imx-media-csi.c     | 47 +++++++++++++++++--
 drivers/staging/media/imx/imx-media-utils.c   |  1 +
 drivers/staging/media/imx/imx-media.h         |  2 +
 4 files changed, 63 insertions(+), 25 deletions(-)

-- 
2.17.0

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

end of thread, other threads:[~2018-05-08 18:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 16:41 [PATCH 0/2] media: imx: add capture support for RGB565_2X8 on parallel bus Jan Luebbe
2018-05-03 16:41 ` [PATCH 1/2] media: imx: capture: refactor enum_/try_fmt Jan Luebbe
2018-05-03 16:41 ` [PATCH 2/2] media: imx: add support for RGB565_2X8 on parallel bus Jan Luebbe
2018-05-04  5:07   ` kbuild test robot
2018-05-04 14:44     ` Jan Lübbe
2018-05-04  6:44   ` [PATCH] media: imx: fix semicolon.cocci warnings kbuild test robot
2018-05-04  6:44   ` [PATCH 2/2] media: imx: add support for RGB565_2X8 on parallel bus kbuild test robot
2018-05-04  8:37   ` kbuild test robot
2018-05-05 22:22 ` [PATCH 0/2] media: imx: add capture " Steve Longerbeam
2018-05-07 14:23   ` Jan Lübbe
2018-05-07 18:21     ` Steve Longerbeam
2018-05-08 14:13       ` Jan Lübbe
2018-05-08 18:23         ` Steve Longerbeam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.