Skip to content

media: amphion: add support for contiguous format

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesIn review
  2. v44 patches 15 repliesSuperseded
  3. v34 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches0 repliesSuperseded
v14 patches1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: add nv12_8l128 and nv12_10be_8l128 video format.Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst drivers/media/v4l2-core/v4l2-ioctl.c include/uapi/linux/videodev2.h+12 -00 replies
2/4media: amphion: tell and handle contiguous and non contiguous formatdrivers/media/platform/amphion/vdec.c drivers/media/platform/amphion/venc.c drivers/media/platform/amphion/vpu.h +7 more+297 -1654 replies
3/4media: amphion: decoder add support for contiguous planesdrivers/media/platform/amphion/vdec.c+16 -00 replies
4/4media: amphion: encoder add support for contiguous planesdrivers/media/platform/amphion/venc.c+8 -00 replies

Reviews trailers per patch

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

PatchNicolas DufresneTommaso Merciai
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v5 thread

Cover letter [PATCH v5 0/4] media: amphion: add support for contiguous format

amphion vpu support non contiguous planes yuv format, but when we make pipeline with other device, the device may only support contiguous format, for example, amphion encoder support NV12M, but the capture device may only support NV12. we can't connect them directly.

So to improve compatibility, driver can add support for contiguous format in the same time.

Then encoder can support NV12 and NV12M,
decoder can support NV12_8L128 and NV12M_8L128.

v5
- make some change according to Tommaso's comments v4
- set bytesperline of compressed formats to 0 v3
- negotiate bytesperline with user
- zero the reserved of v4l2_format
v2
-- fix an uninitialized array index read error -- remove an used variable

Ming Qian (4):
media: add nv12_8l128 and nv12_10be_8l128 video format.
media: amphion: tell and handle contiguous and non contiguous format
media: amphion: decoder add support for contiguous planes
media: amphion: encoder add support for contiguous planes

 .../media/v4l/pixfmt-yuv-planar.rst           |   8 +
 drivers/media/platform/amphion/vdec.c         | 203 ++++++++++--------
 drivers/media/platform/amphion/venc.c         |  41 ++--
 drivers/media/platform/amphion/vpu.h          |   4 +-
 drivers/media/platform/amphion/vpu_dbg.c      |   8 +-
 drivers/media/platform/amphion/vpu_helpers.c  |  45 +++-
 drivers/media/platform/amphion/vpu_helpers.h  |   2 +
 drivers/media/platform/amphion/vpu_malone.c   |   3 +-
 drivers/media/platform/amphion/vpu_v4l2.c     | 169 +++++++++++----
 drivers/media/platform/amphion/vpu_v4l2.h     |   3 +-
 drivers/media/platform/amphion/vpu_windsor.c  |   8 +-
 drivers/media/v4l2-core/v4l2-ioctl.c          |   2 +
 include/uapi/linux/videodev2.h                |   2 +
 13 files changed, 333 insertions(+), 165 deletions(-)
Signature · 7 lines
2.37.1


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