Metal video processing for iOS and tvOS