Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4dcb50c5
Unverified
Commit
4dcb50c5
authored
May 23, 2020
by
Lynne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwcontext_vulkan: use host mapped buffers when uploading and downloading
Speeds up both use cases by 30%.
parent
b8d9bc2e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
41 deletions
+116
-41
hwcontext_vulkan.c
libavutil/hwcontext_vulkan.c
+114
-39
hwcontext_vulkan.h
libavutil/hwcontext_vulkan.h
+2
-2
No files found.
libavutil/hwcontext_vulkan.c
View file @
4dcb50c5
This diff is collapsed.
Click to expand it.
libavutil/hwcontext_vulkan.h
View file @
4dcb50c5
...
...
@@ -86,8 +86,8 @@ typedef struct AVVulkanDeviceContext {
int
nb_enabled_inst_extensions
;
/**
* Enabled device extensions. By default, VK_KHR_external_memory_fd,
* VK_EXT_external_memory_dma_buf, VK_EXT_image_drm_format_modifier
and
* VK_KHR_external_semaphore_fd are enabled if found.
* VK_EXT_external_memory_dma_buf, VK_EXT_image_drm_format_modifier
,
* VK_KHR_external_semaphore_fd a
nd VK_EXT_external_memory_host a
re enabled if found.
* If supplying your own device context, these fields takes the same format as
* the above fields, with the same conditions that duplicates are possible
* and accepted, and that NULL and 0 respectively means no extensions are enabled.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment