diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-04 11:59:16 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-07 22:35:05 +0200 |
commit | 3e9b8d14e5d0df72765a1c9ca683c9d0f1d51e1a (patch) | |
tree | fd1b7cbc5358212171beb26f98e21cc0bf02216e /libavfilter/vf_spp.h | |
parent | 56dd585146288070c98a9429ae85dc3551940a4b (diff) | |
download | ffmpeg-3e9b8d14e5d0df72765a1c9ca683c9d0f1d51e1a.tar.gz |
avcodec/cbs: Use RefStruct-API for unit content
This avoids allocations and error checks etc. as well
as duplicate pointer lists in the CodedBitstreamFooContexts.
It also avoids casting const away for use as opaque,
as the RefStruct API supports const opaques.
The fact that some of the units are not refcounted
(i.e. they are sometimes part of an encoding context
like VAAPIEncodeH264Context) meant that CodedBitstreamUnit
still contains two pointers, one to the content
and another ownership pointer, replacing the AVBufferRef* pointer.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_spp.h')
0 files changed, 0 insertions, 0 deletions