[PATCH v0 0/3] Add encoder features

From: Jackson.lee

Date: Thu Mar 19 2026 - 01:32:52 EST


From: Jackson Lee <jackson.lee@xxxxxxxxxxxxxxx>

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.


Jackson Lee (3):
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 | 5 ++
.../platform/chips-media/wave5/wave5-helper.h | 2 +-
.../platform/chips-media/wave5/wave5-hw.c | 7 ++-
.../chips-media/wave5/wave5-vpu-enc.c | 49 +++++++++++++++++--
.../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, 64 insertions(+), 5 deletions(-)

--
2.43.0