linux/drivers/media/platform/allegro-dvt
Michael Tretter 7f8e438b90 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>
2021-01-27 16:04:04 +01:00
..
allegro-core.c media: allegro: rename stream_id to dst_handle 2021-01-04 13:22:54 +01:00
allegro-mail.c media: allegro: rename stream_id to dst_handle 2021-01-04 13:22:54 +01:00
allegro-mail.h media: allegro: rename stream_id to dst_handle 2021-01-04 13:22:54 +01:00
Makefile media: allegro: add HEVC NAL unit generator 2021-01-27 16:04:04 +01:00
nal-h264.c media: allegro: extract RBSP handler from H.264 NAL generator 2021-01-27 15:51:51 +01:00
nal-h264.h
nal-hevc.c media: allegro: add HEVC NAL unit generator 2021-01-27 16:04:04 +01:00
nal-hevc.h media: allegro: add HEVC NAL unit generator 2021-01-27 16:04:04 +01:00
nal-rbsp.c media: allegro: add helper to report unsupported fields 2021-01-27 15:52:23 +01:00
nal-rbsp.h media: allegro: add helper to report unsupported fields 2021-01-27 15:52:23 +01:00