diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-11 19:27:09 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-05 18:45:36 +0100 |
commit | 68f48d5c3021bb31f44cf99f52593b44c553db53 (patch) | |
tree | 0b8e34799c36ac59f071fab6188bf42e25051d83 /libavfilter/fflcms2.h | |
parent | 1a34eb3ffc3236d555b03dd60522545783f10fb7 (diff) | |
download | ffmpeg-68f48d5c3021bb31f44cf99f52593b44c553db53.tar.gz |
avutil/hwcontext_videotoolbox: Allocate pub and priv frames hwctx together
This is possible because the lifetime of both coincide.
Besides reducing the number of allocations this also simplifies
access to VTFramesContext as one no longer has to
go through AVHWFramesInternal.
Tested-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/fflcms2.h')
0 files changed, 0 insertions, 0 deletions