RFC H.264 stateless encoder RFC 0/6
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | media: verisilicon Correct a typo in H1_REG_ENC_CTRL2_DEBLOCKING_FILTER_MODEdrivers/ | +1 | 1 reply | |
| 2/6 | media: verisilicon: Correct a typo in H1_REG_MAD_CTRL_MAD_THRESHOLDdrivers/ | +1 | 1 reply | |
| 3/6 | media: verisilicon: Improve constant's namedrivers/ drivers/ | +2 | 2 replies | |
| 4/6 | media: verisilicon: Update H1 register definitionsdrivers/ | +9 | 2 replies | |
| 5/6 | media: uapi: Add H.264 stateless encoding uAPIdrivers/ drivers/ include/ +1 more | +150 | 0 replies | |
| 6/6 | media: verisilicon: Add H.264 stateless encoderdrivers/ drivers/ drivers/ +5 more | +1333 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Chen-Yu Tsai |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 0/6] H.264 stateless encoder RFC 0/6
Dear All,
This series adds uAPI for stateless H.264 encoding and an accompanying driver using it.
It has been tested on an stm32mp25 and there exists a gstreamer user:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5676
example pipeline:
gst-launch-1.0 videotestsrc num-buffers=30 ! video/x-raw, format=YUY2 ! v4l2slh264enc ! filesink location=test.h264
Rebased onto v6.6 with:
- some patches from ST to actually run the hardware
- my previous VP8 statless encoding series
- VP8 support for H1 from Hugues Fruchet
In particular, this series depends on the latter, which can be found here:
https://patchwork.linuxtv.org/project/linux-media/list/?series=11358
Here's a branch which contains everything needed to actually run:
https://gitlab.collabora.com/linux/for-upstream/-/tree/h264-enc-rfc-6.6
I kindly ask for comments.
Regards,
Andrzej Pietrasiewicz (6):
media: verisilicon Correct a typo in
H1_REG_ENC_CTRL2_DEBLOCKING_FILTER_MODE
media: verisilicon: Correct a typo in H1_REG_MAD_CTRL_MAD_THRESHOLD
media: verisilicon: Improve constant's name
media: verisilicon: Update H1 register definitions
media: uapi: Add H.264 stateless encoding uAPI
media: verisilicon: Add H.264 stateless encoder
drivers/media/platform/verisilicon/Makefile | 1 + drivers/media/platform/verisilicon/hantro.h | 3 + .../media/platform/verisilicon/hantro_drv.c | 10 + .../platform/verisilicon/hantro_h1_h264_enc.c | 493 +++++++++++ .../platform/verisilicon/hantro_h1_regs.h | 20 +- .../platform/verisilicon/hantro_h1_vp8_enc.c | 2 +- .../media/platform/verisilicon/hantro_h264.c | 777 ++++++++++++++++++ .../media/platform/verisilicon/hantro_hw.h | 23 + .../platform/verisilicon/stm32mp25_venc_hw.c | 22 +- drivers/media/v4l2-core/v4l2-ctrls-core.c | 54 ++ drivers/media/v4l2-core/v4l2-ctrls-defs.c | 9 + include/uapi/linux/v4l2-controls.h | 85 ++ include/uapi/linux/videodev2.h | 2 + 13 files changed, 1496 insertions(+), 5 deletions(-) create mode 100644 drivers/media/platform/verisilicon/hantro_h1_h264_enc.c
Signature · 1 line
2.25.1