avfilter/internal: Combine get_(audio|video)_buffer into union
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 17 Aug 2021 03:48:27 +0000 (05:48 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 17 Aug 2021 17:13:16 +0000 (19:13 +0200)
commit1aa640c7d785c39e0e19407521132d77b594e654
treecd0e2657493e2c80f11c056b630cd3bb52674452
parent90550856e5182487bdfbb0527110e4b94ac5ec0f
avfilter/internal: Combine get_(audio|video)_buffer into union

These fields are mutually exclusive, so putting them in a union
is possible and makes AVFilterPad smaller.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
15 files changed:
libavfilter/audio.c
libavfilter/avf_concat.c
libavfilter/f_interleave.c
libavfilter/internal.h
libavfilter/vf_format.c
libavfilter/vf_hwmap.c
libavfilter/vf_pad.c
libavfilter/vf_scale_cuda.c
libavfilter/vf_swapuv.c
libavfilter/vf_transpose.c
libavfilter/vf_transpose_opencl.c
libavfilter/vf_transpose_vaapi.c
libavfilter/vf_vflip.c
libavfilter/vf_xfade_opencl.c
libavfilter/video.c