Skip to content

Add encoder features

Jackson.lee linux-media lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Changes in v1 from the cover letter

* For [PATCH v1 1/4] media: v4l2-controls: Add control for background detection
- Added spaces around '+' in CID macro definition per CI suggestion

* For [PATCH v1 2/4] media: chips-media: wave5: Add support for background detection
- Split into two patches: API addition and driver implementation

* For [PATCH v1 3/4] media: chips-media: wave5: Support CBP profile
- Added Fixed tag
- Added braces to all branches in the else-if/else block

* For [PATCH v1 4/4] media: chips-media: wave5: Add Support for Packed YUV422 Formats
- Added Reviewed-by tag

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: v4l2-controls: Add control for background detectionDocumentation/userspace-api/media/v4l/ext-ctrls-codec.rst drivers/media/v4l2-core/v4l2-ctrls-defs.c include/uapi/linux/v4l2-controls.h+10 -01 reply
2/4media: chips-media: wave5: Add support for background detectiondrivers/media/platform/chips-media/wave5/wave5-hw.c drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c drivers/media/platform/chips-media/wave5/wave5-vpuapi.h+11 -11 reply
3/4media: chips-media: wave5: Support CBP profiledrivers/media/platform/chips-media/wave5/wave5-hw.c drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c drivers/media/platform/chips-media/wave5/wave5-vpuapi.h+8 -12 replies
4/4media: chips-media: wave5: Add Support for Packed YUV422 Formatsdrivers/media/platform/chips-media/wave5/wave5-helper.h drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c+33 -11 reply

Reviews trailers per patch

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

PatchNicolas DufresneBrandon Brnich
1/4R-b
2/4R-b
3/4R-b T-b
4/4R-b T-b

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

Read the v1 thread

Cover letter [PATCH v1 0/4] Add encoder features

From: Jackson Lee <[email protected]>

This series adds several encoder-side enhancements for the Wave5 driver.

The following features are introduced:
- Background detection support via V4L2 controls
- CBP profile support
- Support for packed YUV422 formats

Background detection allows the encoder to differentiate between foreground and background regions, potentially improving compression efficiency depending on the use case.

CBP profile support extends compatibility with additional encoding profiles.

Support for packed YUV422 formats enables handling of commonly used input formats such as YUYV and YVYU.

The changes include updates to control definitions, documentation, and driver implementation.

Tested on Wave5 encoder pipeline with GStreamer.

Change since v0:
* For [PATCH v1 1/4] media: v4l2-controls: Add control for background detection
- Added spaces around '+' in CID macro definition per CI suggestion

* For [PATCH v1 2/4] media: chips-media: wave5: Add support for background detection
- Split into two patches: API addition and driver implementation

* For [PATCH v1 3/4] media: chips-media: wave5: Support CBP profile
- Added Fixed tag
- Added braces to all branches in the else-if/else block

* For [PATCH v1 4/4] media: chips-media: wave5: Add Support for Packed YUV422 Formats
- Added Reviewed-by tag

Jackson Lee (4):
media: v4l2-controls: Add control for background detection
media: chips-media: wave5: Add support for background detection
media: chips-media: wave5: Support CBP profile
media: chips-media: wave5: Add Support for Packed YUV422 Formats

 .../media/v4l/ext-ctrls-codec.rst             |  6 +++
 .../platform/chips-media/wave5/wave5-helper.h |  2 +-
 .../platform/chips-media/wave5/wave5-hw.c     |  7 ++-
 .../chips-media/wave5/wave5-vpu-enc.c         | 45 ++++++++++++++++++-
 .../platform/chips-media/wave5/wave5-vpuapi.h |  2 +
 drivers/media/v4l2-core/v4l2-ctrls-defs.c     |  2 +
 include/uapi/linux/v4l2-controls.h            |  2 +
 7 files changed, 63 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0