Skip to content

media: hantro: Add support for H264 decoding

Ezequiel Garcia linux-media linux-rockchip lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest11 patches 11 repliesIn review
  2. v611 patches 8 repliesSuperseded
  3. v511 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v411 patches9 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11lib/sort.c: implement sort() variant taking context argumentinclude/linux/sort.h lib/sort.c+33 -60 replies
2/11media: uapi: h264: Rename pixel formatDocumentation/media/uapi/v4l/pixfmt-compressed.rst drivers/media/v4l2-core/v4l2-ioctl.c drivers/staging/media/sunxi/cedrus/cedrus_dec.c +2 more+8 -87 replies
3/11media: uapi: h264: Add the concept of decoding modeDocumentation/media/uapi/v4l/ext-ctrls-codec.rst Documentation/media/uapi/v4l/pixfmt-compressed.rst drivers/media/v4l2-core/v4l2-ctrls.c +1 more+79 -30 replies
4/11media: uapi: h264: Add the concept of start codeDocumentation/media/uapi/v4l/ext-ctrls-codec.rst Documentation/media/uapi/v4l/pixfmt-compressed.rst drivers/media/v4l2-core/v4l2-ctrls.c +1 more+51 -22 replies
5/11media: uapi: h264: Get rid of the p0/b0/b1 ref-listsDocumentation/media/uapi/v4l/ext-ctrls-codec.rst include/media/h264-ctrls.h+0 -120 replies
6/11media: cedrus: Cleanup control initializationdrivers/staging/media/sunxi/cedrus/cedrus.c drivers/staging/media/sunxi/cedrus/cedrus.h+25 -231 reply
7/11media: cedrus: Specify H264 startcode and decoding modedrivers/staging/media/sunxi/cedrus/cedrus.c+18 -01 reply
8/11media: hantro: Move copy_metadata() before doing a decode operationdrivers/staging/media/hantro/hantro_drv.c+6 -20 replies
9/11media: hantro: Add core bits to support H264 decodingdrivers/staging/media/hantro/Makefile drivers/staging/media/hantro/hantro.h drivers/staging/media/hantro/hantro_drv.c +3 more+762 -10 replies
10/11media: hantro: Add support for H264 decoding on G1drivers/staging/media/hantro/Makefile drivers/staging/media/hantro/hantro_g1_h264_dec.c drivers/staging/media/hantro/hantro_hw.h+294 -00 replies
11/11media: hantro: Enable H264 decoding on rk3288drivers/staging/media/hantro/rk3288_vpu_hw.c+20 -10 replies

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by.

PatchBoris BrezillonAndrew MortonPhilipp ZabelPaul KocialkowskiNicolas DufresneEzequiel Garcia
1/11Requested-by A-b T-b
2/11T-b
3/11T-b R-b
4/11T-b R-b
5/11T-b R-b R-b R-b
6/11A-b
7/11
8/11T-b
9/11T-b
10/11T-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v7 thread

Cover letter [PATCH v7 00/11] media: hantro: Add support for H264 decoding

Yet another small respin of H264 uAPI review and Hantro G1 H264 decoding support, addressing some last minute feedback from Hans.

It would be awesome if we can get this first part merged for v5.4. We have lots of changes and improvements in the pipeline for this driver!

Thanks,
Ezequiel

Boris Brezillon (3):
media: uapi: h264: Add the concept of decoding mode
media: uapi: h264: Get rid of the p0/b0/b1 ref-lists
media: hantro: Move copy_metadata() before doing a decode operation

Ezequiel Garcia (4):
media: uapi: h264: Rename pixel format
media: uapi: h264: Add the concept of start code
media: cedrus: Cleanup control initialization
media: cedrus: Specify H264 startcode and decoding mode

Hertz Wong (3):
media: hantro: Add core bits to support H264 decoding
media: hantro: Add support for H264 decoding on G1
media: hantro: Enable H264 decoding on rk3288

Rasmus Villemoes (1):
lib/sort.c: implement sort() variant taking context argument

 .../media/uapi/v4l/ext-ctrls-codec.rst        |  99 ++-
 .../media/uapi/v4l/pixfmt-compressed.rst      |  11 +-
 drivers/media/v4l2-core/v4l2-ctrls.c          |  18 +
 drivers/media/v4l2-core/v4l2-ioctl.c          |   2 +-
 drivers/staging/media/hantro/Makefile         |   2 +
 drivers/staging/media/hantro/hantro.h         |   9 +-
 drivers/staging/media/hantro/hantro_drv.c     |  50 +-
 .../staging/media/hantro/hantro_g1_h264_dec.c | 292 ++++++++
 drivers/staging/media/hantro/hantro_h264.c    | 646 ++++++++++++++++++
 drivers/staging/media/hantro/hantro_hw.h      |  56 ++
 drivers/staging/media/hantro/hantro_v4l2.c    |  10 +
 drivers/staging/media/hantro/rk3288_vpu_hw.c  |  21 +-
 drivers/staging/media/sunxi/cedrus/cedrus.c   |  63 +-
 drivers/staging/media/sunxi/cedrus/cedrus.h   |   3 +-
 .../staging/media/sunxi/cedrus/cedrus_dec.c   |   2 +-
 .../staging/media/sunxi/cedrus/cedrus_video.c |   6 +-
 include/linux/sort.h                          |   5 +
 include/media/h264-ctrls.h                    |  21 +-
 lib/sort.c                                    |  34 +-
 19 files changed, 1294 insertions(+), 56 deletions(-)
 create mode 100644 drivers/staging/media/hantro/hantro_g1_h264_dec.c
 create mode 100644 drivers/staging/media/hantro/hantro_h264.c
Signature · 1 line
2.22.0