diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-11 19:34:58 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-04 00:05:11 +0100 |
commit | c0a1ce1c406be2a70948ace5188aa1fdfdeea556 (patch) | |
tree | de190aba8e27ad1d047587f892ba547c54f27401 /libavformat/rso.c | |
parent | c305dbf745a7ce8f8f47bab33605b31d3879128f (diff) | |
download | ffmpeg-c0a1ce1c406be2a70948ace5188aa1fdfdeea556.tar.gz |
avutil/hwcontext_opencl: 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 OpenCLFramesContext as one no longer has to
go through AVHWFramesInternal.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rso.c')
0 files changed, 0 insertions, 0 deletions