aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_opencl.c
Commit message (Collapse)AuthorAgeFilesLines
* hwcontext_opencl: remove an unused variableJun Zhao2018-06-291-1/+0
| | | | | | remove an unused variable Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* hwcontext_opencl: Remove the opencl_device_init in opencl_device_deriveJun Zhao2018-06-291-4/+1
| | | | | | In opencl device derived case, don't need to call opencl_device_init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* configure: fix check for opencl_vaapi_intel_media.Jun Zhao2018-06-291-1/+6
| | | | | | | | | opencl_vaapi_intel_media doesn't depend on libmfx, OpenCL™ Drivers and Runtimes for Intel® Architectureis is a standalone release, more information can be found in the link: https://software.intel.com/en-us/articles/opencl-drivers. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* hwcontext_opencl: Remove unused variableMark Thompson2018-06-241-1/+0
| | | | Unused since a2613647c4f40b9e802cd21f37545ef1fdf370d1.
* hwcontext_opencl: use ff_hwframe_map_replace()Rostislav Pehlivanov2018-06-211-4/+1
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* lavu/hwcontext_opecl: fix the build warningJun Zhao2018-06-071-2/+2
| | | | | | fix the build warning when use Portable Computing Language (pocl). Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavu: add calling convention for OpenCL callback.Ruiling Song2018-06-061-3/+4
| | | | | | | This fix a build error on Windows: C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall *)(...)'. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* hwcontext_opencl: Add support for mapping DRM objects to BeignetMark Thompson2018-03-221-135/+130
| | | | Also use that to support mapping VAAPI to Beignet.
* hwcontext_opencl: Avoid deprecation warnings when built with post-1.2 headersMark Thompson2018-03-221-0/+2
| | | | | Matching the previous commit. This is not applied to the installed header because it could incorrectly suppress the warning inside user programs.
* lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.Carl Eugen Hoyos2017-12-171-1/+1
|
* hwcontext_opencl: Reset internal command queue on device_uninitMark Thompson2017-11-251-0/+1
| | | | device_uninit can be called twice if device_init fails.
* hwcontext_opencl: DRM to OpenCL mapping for ARMMark Thompson2017-11-221-0/+263
| | | | | | | | 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.
* hwcontext_opencl: D3D11 to OpenCL mappingMark Thompson2017-11-221-2/+319
| | | | Using cl_khr_d3d11_sharing and cl_intel_d3d11_nv12_media_sharing.
* hwcontext_opencl: DXVA2 to OpenCL mappingMark Thompson2017-11-221-0/+397
| | | | Using cl_khr_dx9_media_sharing.
* hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDKMark Thompson2017-11-221-0/+365
| | | | | Uses the cl_intel_va_api_media_sharing extension, which supports only NV12 surfaces and only mapping from QSV to OpenCL.
* hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignetMark Thompson2017-11-221-0/+298
| | | | Supports all surface formats in common between the two.
* lavu: OpenCL hwcontext implementationMark Thompson2017-11-221-0/+1303