diff options
author | Andreas Rheinhardt <[email protected]> | 2024-02-11 19:34:58 +0100 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2024-03-04 00:05:11 +0100 |
commit | c0a1ce1c406be2a70948ace5188aa1fdfdeea556 (patch) | |
tree | de190aba8e27ad1d047587f892ba547c54f27401 /libavfilter/dnn_filter_common.h | |
parent | c305dbf745a7ce8f8f47bab33605b31d3879128f (diff) |
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 <[email protected]>
Diffstat (limited to 'libavfilter/dnn_filter_common.h')
0 files changed, 0 insertions, 0 deletions