For video they can rely on VAAPI or Vulkan video (the latter might be behind on AV1 encoding options though) which can work on any GPU with video acceleration hardware.