Re: [PATCH v3 0/2] media: verisilicon: Simplification and clean up

Frank Li
2026-04-17T10:43:39Z

On Wed, Apr 15, 2026 at 04:04:18PM +0200, Benjamin Gaignard wrote:
> Simplify motion vectors and reference allocation with common helpers.
> Since it requires to move some of codecs specific functions and
> structure in codecs header files add a patch to finish the clean up.
>

Already V3:
where the change log?

Frank

> Benjamin Gaignard (2):
> media: verisilicon: Simplify motion vectors and rfc buffers allocation
> media: verisilicon: Clean up messy include
>
> drivers/media/platform/verisilicon/hantro.h | 31 +-
> .../media/platform/verisilicon/hantro_av1.c | 7 -
> .../media/platform/verisilicon/hantro_av1.h | 100 +++-
> .../platform/verisilicon/hantro_g1_h264_dec.c | 1 +
> .../verisilicon/hantro_g1_mpeg2_dec.c | 2 +-
> .../platform/verisilicon/hantro_g1_vp8_dec.c | 2 +-
> .../media/platform/verisilicon/hantro_g2.c | 36 --
> .../platform/verisilicon/hantro_g2_hevc_dec.c | 26 +-
> .../platform/verisilicon/hantro_g2_vp9_dec.c | 12 +-
> .../media/platform/verisilicon/hantro_h264.c | 2 +-
> .../media/platform/verisilicon/hantro_h264.h | 98 ++++
> .../media/platform/verisilicon/hantro_hevc.c | 37 +-
> .../media/platform/verisilicon/hantro_hevc.h | 82 ++++
> .../media/platform/verisilicon/hantro_hw.h | 446 +-----------------
> .../media/platform/verisilicon/hantro_mpeg2.c | 1 +
> .../media/platform/verisilicon/hantro_mpeg2.h | 27 ++
> .../platform/verisilicon/hantro_postproc.c | 29 +-
> .../media/platform/verisilicon/hantro_v4l2.c | 262 +++++++++-
> .../media/platform/verisilicon/hantro_vp8.c | 1 +
> .../media/platform/verisilicon/hantro_vp8.h | 29 ++
> .../media/platform/verisilicon/hantro_vp9.h | 104 ++++
> .../media/platform/verisilicon/imx8m_vpu_hw.c | 5 +
> .../verisilicon/rockchip_vpu2_hw_h264_dec.c | 2 +-
> .../verisilicon/rockchip_vpu2_hw_mpeg2_dec.c | 2 +-
> .../verisilicon/rockchip_vpu2_hw_vp8_dec.c | 2 +-
> .../verisilicon/rockchip_vpu981_hw_av1_dec.c | 16 +-
> .../platform/verisilicon/rockchip_vpu_hw.c | 3 +
> .../platform/verisilicon/stm32mp25_vpu_hw.c | 2 +
> .../media/platform/verisilicon/sunxi_vpu_hw.c | 1 +
> 29 files changed, 796 insertions(+), 572 deletions(-)
> create mode 100644 drivers/media/platform/verisilicon/hantro_h264.h
> create mode 100644 drivers/media/platform/verisilicon/hantro_hevc.h
> create mode 100644 drivers/media/platform/verisilicon/hantro_mpeg2.h
> create mode 100644 drivers/media/platform/verisilicon/hantro_vp8.h
>
> --
> 2.43.0
>