[PATCH v2 0/4] media: cedrus: hevc: Add support for scaling matrix and multi-slice frames
From: Jernej Skrabec
Date: Fri Dec 13 2019 - 11:04:44 EST
Currently there is no control for HEVC scaling matrix and segment address
field is also missing. This series adds those and implements support for
them in Cedrus driver.
Following videos were used for testing:
- scaling matrix:
http://jernej.libreelec.tv/videos/h265/slist_test.mp4
- multi-slice:
http://jernej.libreelec.tv/videos/h265/Dredd%20%E2%80%93%20DTS%20Sound%20Check%20DTS-HD%20MA%207.1.m2ts
Best regards,
Jernej
Changes from v1:
- always set CTB_ADDR_X and CTB_ADDR_Y (patch 4)
Jernej Skrabec (4):
media: uapi: hevc: Add scaling matrix control
media: cedrus: hevc: Add support for scaling matrix
media: uapi: hevc: Add segment address field
media: cedrus: hevc: Add support for multiple slices
.../media/uapi/v4l/ext-ctrls-codec.rst | 46 ++++++++-
.../media/uapi/v4l/pixfmt-compressed.rst | 1 +
drivers/media/v4l2-core/v4l2-ctrls.c | 10 ++
drivers/staging/media/sunxi/cedrus/cedrus.c | 7 ++
drivers/staging/media/sunxi/cedrus/cedrus.h | 1 +
.../staging/media/sunxi/cedrus/cedrus_dec.c | 2 +
.../staging/media/sunxi/cedrus/cedrus_h265.c | 96 ++++++++++++++++---
.../staging/media/sunxi/cedrus/cedrus_regs.h | 2 +
.../staging/media/sunxi/cedrus/cedrus_video.c | 1 +
include/media/hevc-ctrls.h | 16 +++-
10 files changed, 169 insertions(+), 13 deletions(-)
--
2.24.0