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
9e7cda1b
Commit
9e7cda1b
authored
Mar 05, 2017
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwcontext_opencl: DXVA2 to OpenCL mapping
Using cl_khr_dx9_media_sharing.
parent
403cde8e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
403 additions
and
0 deletions
+403
-0
configure
configure
+6
-0
hwcontext_opencl.c
libavutil/hwcontext_opencl.c
+397
-0
No files found.
configure
View file @
9e7cda1b
...
...
@@ -2120,6 +2120,7 @@ HAVE_LIST="
$TYPES_LIST
makeinfo
makeinfo_html
opencl_dxva2
opencl_vaapi_beignet
opencl_vaapi_intel_media
perl
...
...
@@ -6166,6 +6167,11 @@ if enabled_all opencl vaapi ; then
fi
fi
if
enabled_all opencl dxva2
;
then
check_type
"CL/cl_dx9_media_sharing.h"
cl_dx9_surface_info_khr
&&
enable
opencl_dxva2
fi
enabled vdpau
&&
check_cpp_condition vdpau/vdpau.h
"defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP"
||
disable vdpau
...
...
libavutil/hwcontext_opencl.c
View file @
9e7cda1b
This diff is collapsed.
Click to expand it.
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