aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode_h265.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-11 18:09:27 +0100
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:31 -0300
commitdd397d05f1856dd4ca5aff69f17f53c147ba63cb (patch)
treea79e8a68d9300d152811cd73d2d31fe329dadde1 /libavcodec/vaapi_encode_h265.c
parent060277136d1ce028d9ae619196951e03d3bcd594 (diff)
downloadffmpeg-dd397d05f1856dd4ca5aff69f17f53c147ba63cb.tar.gz
avutil/hwcontext: Allocate AVHWDevCtx jointly with its internals
This is possible because the lifetime of these structures coincide. It has the advantage of allowing to remove the AVHWDeviceInternal from the public header; given that AVHWDeviceInternal.priv is no more, all accesses to it happen in hwcontext.c, so that this commit moves the joint structure there. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vaapi_encode_h265.c')
0 files changed, 0 insertions, 0 deletions