diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-04 15:39:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-07 22:34:28 +0200 |
commit | 2db94a96c890be232e09fb79b49480fbc94610b5 (patch) | |
tree | 9017b7cb862f8c61231f376414ad0fd8a5770c3a /libavcodec/speedhqenc.c | |
parent | 787351a68e9f3cbe46c3dcf6d0d9b001bcd139b3 (diff) | |
download | ffmpeg-2db94a96c890be232e09fb79b49480fbc94610b5.tar.gz |
avcodec/hevc_ps: Use RefStruct API for parameter sets
Avoids allocations and error checks for these allocations;
e.g. syncing buffers across threads can't fail any more
and needn't be checked. It also gets rid of casts and
indirections.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/speedhqenc.c')
0 files changed, 0 insertions, 0 deletions