diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-11 17:26:54 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-04 00:04:38 +0100 |
commit | c305dbf745a7ce8f8f47bab33605b31d3879128f (patch) | |
tree | a8c9609cc4c650e860c2e92df89d771b69c1e059 /libswresample/version.c | |
parent | 1b7308b61db02fb2475585933a146253c87812de (diff) | |
download | ffmpeg-c305dbf745a7ce8f8f47bab33605b31d3879128f.tar.gz |
avutil/hwcontext_opencl: Allocate pub and priv device hwctx together
This is possible because the lifetime of both coincide.
Besides reducing the number of allocations this also simplifies
access to OpenCLDeviceContext as one no longer has to
go through AVHWDeviceInternal.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libswresample/version.c')
0 files changed, 0 insertions, 0 deletions