diff options
| author | Michael Tretter <[email protected]> | 2019-05-28 13:11:20 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-29 06:42:36 -0400 |
| commit | 878344de61d0d5f351a1b84fce009a321be3eb45 (patch) | |
| tree | 2e8ca7f2a77d350f46f54eb01bdb17a157e47ec9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f20387dfd065693ba7ea2788a2f893bf653c9cb8 (diff) | |
media: allegro: add SPS/PPS nal unit writer
The allegro hardware encoder does not write SPS/PPS nal units into the
encoded video stream. Therefore, we need to write the units in software.
The implementation follows Rec. ITU-T H.264 (04/2017) to allow to
convert between a C struct and the RBSP representation of the SPS and
PPS nal units.
The allegro driver writes the nal units into the v4l2 capture buffer in
front of the actual video data which is written at an offset by the IP
core. The remaining gap is filled with a filler nal unit.
[[email protected]: added missing @dev description for nal_h264_read_sps()]
[[email protected]: removed uneeded "-ccflags-y $(src)" from Makefile]
Signed-off-by: Michael Tretter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions