[enhance]query for whether data could be fast accessed in directly mapping.
Open
- Dominant language
- C
- Stars
- 784
- Forks
- 314
- PR merge metrics
- No merged PRs in 30d
Description
Base on the discussion in MSDK:
https://github.com/Intel-Media-SDK/MediaSDK/issues/1550
A query in libva is needed for both VAAPI and MSDK.
1.if directly map access is slow, use copy or GPUCopy could get the best performance.
2.if directly map access is quick, use mapped memory and avoid additional memcopy could get the best performance.
So IMHO, a query in libva may also be needed whether data of specific format could be fast accessed on specific platform in directly mapping.
For example, currently RGB32 could be fast accessed in KBL, but couldn't on APL:
https://github.com/intel/media-driver/issues/620
Contributor guide
Assessment
This issue has not been assessed yet.