aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/timecode.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2021-12-07 17:05:49 +0800
committerLynne <dev@lynne.ee>2021-12-10 17:03:39 +0100
commite050959103f375e6494937fa28ef2c4d2d15c9ef (patch)
tree61dd03f9a94e0d80fbde0827b0db4ecec23f4352 /libavutil/timecode.h
parent58816f6927745d3512b26efcc7e5d88bee249e53 (diff)
downloadffmpeg-e050959103f375e6494937fa28ef2c4d2d15c9ef.tar.gz
hwcontext_vaapi: Use PRIME_2 memory type for modifiers.
This way we can pass explicit modifiers in. Sometimes the modifier matters for the number of memory planes that libva accepts, in particular when dealing with driver-compressed textures. Furthermore the driver might not actually be able to determine the implicit modifier if all the buffer-passing has used explicit modifier. All these issues should be resolved by passing in the modifier, and for that we switch to using the PRIME_2 memory type. Tested with experimental radeonsi patches for modifiers and kmsgrab. Also tested with radeonsi without the patches to double-check it works without PRIME_2 support. v2: Cache PRIME_2 support to avoid doing two calls every time on libva drivers that do not support it. v3: Remove prime2_vas usage. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Diffstat (limited to 'libavutil/timecode.h')
0 files changed, 0 insertions, 0 deletions