FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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...
 
voidpriv
 Hardware-specific private data associated with the mapping. More...
 

Detailed Description

Definition at line 131 of file hwcontext_internal.h.

Field Documentation

AVFrame* HWMapDescriptor::source

A reference to the original source of the mapping.

Definition at line 135 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().

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 141 of file hwcontext_internal.h.

Referenced by ff_hwframe_map_create(), and ff_hwframe_unmap().

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

Unmap function.

Definition at line 145 of file hwcontext_internal.h.

Referenced by ff_hwframe_map_create(), and ff_hwframe_unmap().

void* HWMapDescriptor::priv

Hardware-specific private data associated with the mapping.

Definition at line 150 of file hwcontext_internal.h.

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


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