Mark Thompson
ac993e73de
hwcontext_opencl: Add support for mapping DRM objects to Beignet
...
Also use that to support mapping VAAPI to Beignet.
7 years ago
Mark Thompson
9313422dfc
hwcontext_opencl: Avoid deprecation warnings when built with post-1.2 headers
...
Matching the previous commit. This is not applied to the installed header
because it could incorrectly suppress the warning inside user programs.
7 years ago
Carl Eugen Hoyos
9b79c65ec0
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
7 years ago
Mark Thompson
f4e319d8a9
hwcontext_opencl: Reset internal command queue on device_uninit
...
device_uninit can be called twice if device_init fails.
7 years ago
Mark Thompson
7faae6e745
hwcontext_opencl: DRM to OpenCL mapping for ARM
...
Using cl_arm_import_memory. Unfortunately, despite this not being a
standard extension, the function clImportMemoryARM() is not accessible
via clGetExtensionFunctionAddressForPlatform(). This means that it has
to be linked directly to the ARM OpenCL binary, so making a portable
binary is not possible as it is with all other mapping extensions.
7 years ago
Mark Thompson
f06754e4f3
hwcontext_opencl: D3D11 to OpenCL mapping
...
Using cl_khr_d3d11_sharing and cl_intel_d3d11_nv12_media_sharing.
7 years ago
Mark Thompson
9e7cda1b1e
hwcontext_opencl: DXVA2 to OpenCL mapping
...
Using cl_khr_dx9_media_sharing.
7 years ago
Mark Thompson
403cde8e85
hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDK
...
Uses the cl_intel_va_api_media_sharing extension, which supports only
NV12 surfaces and only mapping from QSV to OpenCL.
7 years ago
Mark Thompson
eb3e9f469a
hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignet
...
Supports all surface formats in common between the two.
7 years ago
Mark Thompson
b25d8ef0a7
lavu: OpenCL hwcontext implementation
7 years ago