diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2020-12-03 14:00:51 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 18:04:04 +0300 |
commit | 7f8e438b90c91541d784feb5f71be1a0b01a6010 (patch) | |
tree | 84be9db45437b9e6f5c48b87edb0c229e64cd621 /drivers/media/platform/allegro-dvt/Makefile | |
parent | 98c588b6d27c04460a590f55f1e2474129abe87c (diff) | |
download | linux-7f8e438b90c91541d784feb5f71be1a0b01a6010.tar.xz |
media: allegro: add HEVC NAL unit generator
When encoding a video as HEVC, the allegro driver needs to generate the
Non-VCL NAL units for HEVC. Do the same as for H.264 and add a module
that takes C structs for the VPS/SPS/PPS and encodes the fields as RBPS
as specified by "ITU-T Rec. H.265 (02/2018) high efficiency video
coding".
[hverkuil: add missing static for nal_hevc_write/read_start_code_prefix]
[hverkuil: fix typo: pps -> vps in nal_hevc_write_vps]
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/allegro-dvt/Makefile')
-rw-r--r-- | drivers/media/platform/allegro-dvt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/allegro-dvt/Makefile b/drivers/media/platform/allegro-dvt/Makefile index 10119e84a60f..66108a303774 100644 --- a/drivers/media/platform/allegro-dvt/Makefile +++ b/drivers/media/platform/allegro-dvt/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 allegro-objs := allegro-core.o allegro-mail.o -allegro-objs += nal-rbsp.o nal-h264.o +allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o obj-$(CONFIG_VIDEO_ALLEGRO_DVT) += allegro.o |