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

Field Documentation

AVFrame* HWMapDescriptor::source

A reference to the original source of the mapping.

Definition at line 117 of file hwcontext_internal.h.

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

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 123 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 127 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 132 of file hwcontext_internal.h.

Referenced by dxva2_unmap_frame(), ff_hwframe_map_create(), and vaapi_unmap_frame().


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