Home
last modified time | relevance | path

Searched refs:hwmap (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext.c724 HWMapDescriptor *hwmap = (HWMapDescriptor*)data; in ff_hwframe_unmap() local
727 if (hwmap->unmap) in ff_hwframe_unmap()
728 hwmap->unmap(ctx, hwmap); in ff_hwframe_unmap()
730 av_frame_free(&hwmap->source); in ff_hwframe_unmap()
732 av_buffer_unref(&hwmap->hw_frames_ctx); in ff_hwframe_unmap()
734 av_free(hwmap); in ff_hwframe_unmap()
740 HWMapDescriptor *hwmap), in ff_hwframe_map_create() argument
744 HWMapDescriptor *hwmap; in ff_hwframe_map_create() local
747 hwmap = av_mallocz(sizeof(*hwmap)); in ff_hwframe_map_create()
748 if (!hwmap) { in ff_hwframe_map_create()
[all …]
Dhwcontext_videotoolbox.c107 static void vt_unmap(AVHWFramesContext *ctx, HWMapDescriptor *hwmap) in vt_unmap() argument
109 CVPixelBufferRef pixbuf = (CVPixelBufferRef)hwmap->source->data[3]; in vt_unmap()
111 CVPixelBufferUnlockBaseAddress(pixbuf, (uintptr_t)hwmap->priv); in vt_unmap()
Dhwcontext_internal.h147 struct HWMapDescriptor *hwmap);
157 HWMapDescriptor *hwmap),
Dhwcontext_vaapi.c723 HWMapDescriptor *hwmap) in vaapi_unmap_frame() argument
726 VAAPIMapping *map = hwmap->priv; in vaapi_unmap_frame()
730 surface_id = (VASurfaceID)(uintptr_t)hwmap->source->data[3]; in vaapi_unmap_frame()
1011 HWMapDescriptor *hwmap) in vaapi_unmap_from_drm() argument
1015 VASurfaceID surface_id = (VASurfaceID)(uintptr_t)hwmap->priv; in vaapi_unmap_from_drm()
1140 HWMapDescriptor *hwmap) in vaapi_unmap_to_drm_esh() argument
1142 AVDRMFrameDescriptor *drm_desc = hwmap->priv; in vaapi_unmap_to_drm_esh()
1237 HWMapDescriptor *hwmap) in vaapi_unmap_to_drm_abh() argument
1240 VAAPIDRMImageBufferMapping *mapping = hwmap->priv; in vaapi_unmap_to_drm_abh()
1244 surface_id = (VASurfaceID)(uintptr_t)hwmap->source->data[3]; in vaapi_unmap_to_drm_abh()
Dhwcontext_opencl.c1919 HWMapDescriptor *hwmap) in opencl_unmap_frame() argument
1922 OpenCLMapping *map = hwmap->priv; in opencl_unmap_frame()
1932 (cl_mem)hwmap->source->data[p], in opencl_unmap_frame()
2052 HWMapDescriptor *hwmap) in opencl_unmap_from_drm_beignet() argument
2054 DRMBeignetToOpenCLMapping *mapping = hwmap->priv; in opencl_unmap_from_drm_beignet()
2201 HWMapDescriptor *hwmap) in opencl_unmap_from_qsv() argument
2203 AVOpenCLFrameDescriptor *desc = hwmap->priv; in opencl_unmap_from_qsv()
2328 HWMapDescriptor *hwmap) in opencl_unmap_from_dxva2() argument
2330 AVOpenCLFrameDescriptor *desc = hwmap->priv; in opencl_unmap_from_dxva2()
2492 HWMapDescriptor *hwmap) in opencl_unmap_from_d3d11() argument
[all …]
Dhwcontext_drm.c105 HWMapDescriptor *hwmap) in drm_unmap_frame() argument
107 DRMMapping *map = hwmap->priv; in drm_unmap_frame()
Dhwcontext_dxva2.c268 static void dxva2_unmap_frame(AVHWFramesContext *ctx, HWMapDescriptor *hwmap) in dxva2_unmap_frame() argument
270 IDirect3DSurface9 *surface = (IDirect3DSurface9*)hwmap->source->data[3]; in dxva2_unmap_frame()
272 av_freep(&hwmap->priv); in dxva2_unmap_frame()
Dhwcontext_vulkan.c1849 static void vulkan_unmap_frame(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) in vulkan_unmap_frame() argument
1851 VulkanMapping *map = hwmap->priv; in vulkan_unmap_frame()
1972 static void vulkan_unmap_from(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) in vulkan_unmap_from() argument
1974 VulkanMapping *map = hwmap->priv; in vulkan_unmap_from()
2559 static void vulkan_unmap_to_drm(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) in vulkan_unmap_to_drm() argument
2561 AVDRMFrameDescriptor *drm_desc = hwmap->priv; in vulkan_unmap_to_drm()
/third_party/ffmpeg/libavfilter/
Dvf_hwmap.c401 AVFILTER_DEFINE_CLASS(hwmap);
/third_party/ffmpeg/doc/
Dindevs.texi953 ffmpeg -crtc_id 42 -framerate 60 -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:…
961 ffmpeg -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,crop=960:540:480:270,scale_vaapi=960:540:nv12…
Dffmpeg.texi1189 or the device to map to with the @code{hwmap} filter. Other filters may also
Dfilters.texi13104 @section hwmap
13116 something else on part of it), the @option{hwmap} filter can be used again