[PATCH v3 0/7] Enable 10bits bitstream for Hantro/G2 HEVC codec

Benjamin Gaignard benjamin.gaignard at collabora.com
Mon Aug 29 09:21:52 PDT 2022


This series add 10bits support for newer hardware blocks (i.e without
legacy regs) and for HEVC codec.

Tested on IMX8MQ with HEVC conformance tests, the result is that all 
10bits bitstreams are OK.

version 3:
- Based on top of Ezequiel's patch "media: destage Hantro VPU driver"

Benjamin Gaignard (7):
  media: hantro: Store HEVC bit depth in context
  media: hantro: HEVC: Fix auxilary buffer size calculation
  media: hantro: HEVC: Fix chroma offset computation
  media: hantro: postproc: Configure output regs to support 10bit
  media: Hantro: HEVC: Allows 10-bit bitstream
  media: hantro: imx8m: Enable 10bit decoding
  media: hantro: Allows luma and chroma depth to be different

 .../media/platform/verisilicon/hantro_drv.c   | 14 ++++++----
 .../platform/verisilicon/hantro_g2_hevc_dec.c |  4 +--
 .../media/platform/verisilicon/hantro_hevc.c  |  4 +--
 .../platform/verisilicon/hantro_postproc.c    |  7 ++++-
 .../media/platform/verisilicon/imx8m_vpu_hw.c | 27 +++++++++++++++++++
 5 files changed, 45 insertions(+), 11 deletions(-)

-- 
2.32.0




More information about the linux-arm-kernel mailing list