-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add MediaCopy #1070
add MediaCopy #1070
Conversation
One more thing. This change a relatively simple, it's a proxy to DdiMedia_CopyInternal which seems to do all work. So reviewing this PR only , it's impossible to identify which sub-features of vaCopy the current PR introduce. Under sub-features I mean VA_COPY_SYNC_BLOCK/VA_COPY_SYNC_NONBLOCK/VA_COPY_MODE_BALANCE/etc , VACopyObjectBuffer/VACopyObjectSurface. Could you describe it in git commit message ? |
|
If full support of all underlying vaCopy features is appeared by this PR - then I don't think we need additional info in git message. But even above you wrote "currently, buffer copy is not supported by vaCopy". I assume such things better to capture in git message, together with other limitations if any. |
okay, will add some notification in this git commit message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change is ok for async copy, but still need to check the parameter of copy_sync.
add New libva API vaCopy DDI implementation. 1. only support VACopyObjectSurface copy, VACopyObjectBuffer copy is not ready since it could be handled by CPU. 2. currently, copy sync handle mode is absent, app can call vaSyncSurface to make sure copy complete. 3. linked libva PR: intel/libva#243 4. linked libva-utils sample code PR: intel/libva-utils#203
add mediaCopy ddi implementation.
linked libva PR: intel/libva#243
add libva-utils PR: intel/libva-utils#203