FFmpeg
Data Fields
HWMapDescriptor Struct Reference

#include <hwcontext_internal.h>

Data Fields

AVFramesource
 A reference to the original source of the mapping. More...
 
AVBufferRefhw_frames_ctx
 A reference to the hardware frames context in which this mapping was made. More...
 
void(* unmap )(AVHWFramesContext *ctx, struct HWMapDescriptor *hwmap)
 Unmap function. More...
 
void * priv
 Hardware-specific private data associated with the mapping. More...
 

Detailed Description

Definition at line 120 of file hwcontext_internal.h.

Field Documentation

◆ source

AVFrame* HWMapDescriptor::source

A reference to the original source of the mapping.

Definition at line 124 of file hwcontext_internal.h.

Referenced by av_hwframe_map(), dxva2_unmap_frame(), ff_hwframe_map_create(), ff_hwframe_map_replace(), ff_hwframe_unmap(), opencl_unmap_frame(), vaapi_unmap_frame(), and vt_unmap().

◆ hw_frames_ctx

AVBufferRef* HWMapDescriptor::hw_frames_ctx

A reference to the hardware frames context in which this mapping was made.

May be the same as source->hw_frames_ctx, but need not be.

Definition at line 130 of file hwcontext_internal.h.

Referenced by ff_hwframe_map_create(), and ff_hwframe_unmap().

◆ unmap

void(* HWMapDescriptor::unmap) (AVHWFramesContext *ctx, struct HWMapDescriptor *hwmap)

Unmap function.

Definition at line 134 of file hwcontext_internal.h.

Referenced by ff_hwframe_map_create(), and ff_hwframe_unmap().

◆ priv

void* HWMapDescriptor::priv

Hardware-specific private data associated with the mapping.

Definition at line 139 of file hwcontext_internal.h.

Referenced by drm_unmap_frame(), dxva2_unmap_frame(), ff_hwframe_map_create(), opencl_unmap_frame(), qsv_dynamic_pool_unmap(), vaapi_unmap_frame(), and vt_unmap().


The documentation for this struct was generated from the following file: