linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: imx-jpeg, Add support for contiguous NV12
@ 2022-09-21  2:29 Ming Qian
  2022-09-21  2:29 ` [PATCH v2 1/2] media: imx-jpeg: Implement g_selection and s_selection Ming Qian
  2022-09-21  2:29 ` [PATCH v2 2/2] media: imx-jpeg: Support contiguous and non contiguous format Ming Qian
  0 siblings, 2 replies; 3+ messages in thread
From: Ming Qian @ 2022-09-21  2:29 UTC (permalink / raw)
  To: mchehab, mirela.rabulea, hverkuil-cisco
  Cc: shawnguo, s.hauer, kernel, festevam, xiahong.bao, linux-imx,
	linux-media, linux-kernel, devicetree, linux-arm-kernel

mxc-jpeg supports non contiguous format nv12m,
and in order to compatible with the devices
who only supports contiguous format nv12,
jpeg can support nv12 and nv12m in the same time.

And client needs to calculate plane size for format NV12.
driver needs to report the aligned resolution,
otherwise they can't the correct uv address.
So driver needs to implement g_selection to report
the actual picture size.

v2
- correct the target V4L2_SEL_TGT_COMPOSE_PADDED of decoder
- add Fixes tag

Ming Qian (2):
  media: imx-jpeg: Implement g_selection and s_selection
  media: imx-jpeg: Support contiguous and non contiguous format

 .../media/platform/nxp/imx-jpeg/mxc-jpeg.c    | 545 ++++++++++++------
 .../media/platform/nxp/imx-jpeg/mxc-jpeg.h    |   8 +-
 2 files changed, 389 insertions(+), 164 deletions(-)

-- 
2.37.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-09-21  2:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  2:29 [PATCH v2 0/2] media: imx-jpeg, Add support for contiguous NV12 Ming Qian
2022-09-21  2:29 ` [PATCH v2 1/2] media: imx-jpeg: Implement g_selection and s_selection Ming Qian
2022-09-21  2:29 ` [PATCH v2 2/2] media: imx-jpeg: Support contiguous and non contiguous format Ming Qian

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