Home
last modified time | relevance | path

Searched refs:hwdev (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dhwcontext_opencl.c161 static void opencl_device_free(AVHWDeviceContext *hwdev) in opencl_device_free() argument
163 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_device_free()
168 av_log(hwdev, AV_LOG_ERROR, "Failed to release OpenCL " in opencl_device_free()
276 static av_unused int opencl_check_extension(AVHWDeviceContext *hwdev, in opencl_check_extension() argument
279 AVOpenCLDeviceContext *hwctx = hwdev->hwctx; in opencl_check_extension()
280 OpenCLDeviceContext *priv = hwdev->internal->priv; in opencl_check_extension()
283 av_log(hwdev, AV_LOG_DEBUG, in opencl_check_extension()
289 av_log(hwdev, AV_LOG_DEBUG, in opencl_check_extension()
297 static int opencl_enumerate_platforms(AVHWDeviceContext *hwdev, in opencl_enumerate_platforms() argument
306 av_log(hwdev, AV_LOG_ERRO in opencl_enumerate_platforms()
328 opencl_filter_platform(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context) opencl_filter_platform() argument
363 opencl_enumerate_devices(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context) opencl_enumerate_devices() argument
403 opencl_filter_device(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context) opencl_filter_device() argument
493 opencl_device_create_internal(AVHWDeviceContext *hwdev, const OpenCLDeviceSelector *selector, cl_context_properties *props) opencl_device_create_internal() argument
626 opencl_device_create(AVHWDeviceContext *hwdev, const char *device, AVDictionary *opts, int flags) opencl_device_create() argument
659 opencl_device_init(AVHWDeviceContext *hwdev) opencl_device_init() argument
895 opencl_device_uninit(AVHWDeviceContext *hwdev) opencl_device_uninit() argument
911 opencl_filter_intel_media_vaapi_platform(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context) opencl_filter_intel_media_vaapi_platform() argument
929 opencl_enumerate_intel_media_vaapi_devices(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context) opencl_enumerate_intel_media_vaapi_devices() argument
981 opencl_filter_intel_media_vaapi_device(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context) opencl_filter_intel_media_vaapi_device() argument
999 opencl_filter_dxva2_platform(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context) opencl_filter_dxva2_platform() argument
1015 opencl_enumerate_dxva2_devices(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context) opencl_enumerate_dxva2_devices() argument
1072 opencl_filter_d3d11_platform(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context) opencl_filter_d3d11_platform() argument
1088 opencl_enumerate_d3d11_devices(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context) opencl_enumerate_d3d11_devices() argument
1143 opencl_filter_gpu_device(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context) opencl_filter_gpu_device() argument
1169 opencl_filter_drm_arm_platform(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context) opencl_filter_drm_arm_platform() argument
1185 opencl_filter_drm_arm_device(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context) opencl_filter_drm_arm_device() argument
1202 opencl_device_derive(AVHWDeviceContext *hwdev, AVHWDeviceContext *src_ctx, AVDictionary *opts, int flags) opencl_device_derive() argument
1484 opencl_frames_get_constraints(AVHWDeviceContext *hwdev, const void *hwconfig, AVHWFramesConstraints *constraints) opencl_frames_get_constraints() argument
[all...]
H A Dhwcontext_drm.c43 static void drm_device_free(AVHWDeviceContext *hwdev) in drm_device_free() argument
45 AVDRMDeviceContext *hwctx = hwdev->hwctx; in drm_device_free()
50 static int drm_device_create(AVHWDeviceContext *hwdev, const char *device, in drm_device_create() argument
53 AVDRMDeviceContext *hwctx = hwdev->hwctx; in drm_device_create()
62 av_log(hwdev, AV_LOG_ERROR, "Failed to get version information " in drm_device_create()
68 av_log(hwdev, AV_LOG_VERBOSE, "Opened DRM device %s: driver %s " in drm_device_create()
75 hwdev->free = &drm_device_free; in drm_device_create()
H A Dhwcontext_vaapi.c178 static int vaapi_get_image_format(AVHWDeviceContext *hwdev, in vaapi_get_image_format() argument
182 VAAPIDeviceContext *ctx = hwdev->internal->priv; in vaapi_get_image_format()
195 static int vaapi_frames_get_constraints(AVHWDeviceContext *hwdev, in vaapi_frames_get_constraints() argument
199 AVVAAPIDeviceContext *hwctx = hwdev->hwctx; in vaapi_frames_get_constraints()
201 VAAPIDeviceContext *ctx = hwdev->internal->priv; in vaapi_frames_get_constraints()
214 av_log(hwdev, AV_LOG_ERROR, "Failed to query surface attributes: " in vaapi_frames_get_constraints()
229 av_log(hwdev, AV_LOG_ERROR, "Failed to query surface attributes: " in vaapi_frames_get_constraints()
357 static int vaapi_device_init(AVHWDeviceContext *hwdev) in vaapi_device_init() argument
359 VAAPIDeviceContext *ctx = hwdev->internal->priv; in vaapi_device_init()
360 AVVAAPIDeviceContext *hwctx = hwdev in vaapi_device_init()
447 vaapi_device_uninit(AVHWDeviceContext *hwdev) vaapi_device_uninit() argument
[all...]
H A Dhwcontext_d3d11va.c471 static int d3d11va_device_init(AVHWDeviceContext *hwdev) in d3d11va_device_init() argument
473 AVD3D11VADeviceContext *device_hwctx = hwdev->hwctx; in d3d11va_device_init()
509 static void d3d11va_device_uninit(AVHWDeviceContext *hwdev) in d3d11va_device_uninit() argument
511 AVD3D11VADeviceContext *device_hwctx = hwdev->hwctx; in d3d11va_device_uninit()

Completed in 8 milliseconds