diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-11 17:46:26 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-07 08:53:31 -0300 |
commit | 51f04054506fa1b9baaf79a6b37aac34d988b944 (patch) | |
tree | 00dd1c5462808bbc15908aa236d7425cb7215801 /libavcodec/alacdsp.c | |
parent | 71c7e9c5f48bb11c7f79a1d4f75fdc0bb3fd7c96 (diff) | |
download | ffmpeg-51f04054506fa1b9baaf79a6b37aac34d988b944.tar.gz |
avutil/hwcontext_d3d12va: 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 D3D12VADevicePriv as one no longer has to
go through AVHWDeviceInternal.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/alacdsp.c')
0 files changed, 0 insertions, 0 deletions