Skip to content

media: imx-jpeg, Add support for contiguous NV12

Ming Qian linux-arm-kernel linux-devicetree linux-media lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: imx-jpeg: Implement g_selection and s_selectiondrivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h+208 -1201 reply
2/2media: imx-jpeg: Support contiguous and non contiguous formatdrivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h+185 -481 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMirela Rabulea
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] media: imx-jpeg, Add support for contiguous NV12

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.

v3
- correct the strm_bufsize of encoder

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(-)
Signature · 7 lines
2.37.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel