FFmpeg
Loading...
Searching...
No Matches
FFHWFramesContext Struct Reference

#include <hwcontext_internal.h>

Data Fields

AVHWFramesContext p
 The public AVHWFramesContext.
 
const HWContextType * hw_type
 
AVBufferPool * pool_internal
 
AVBufferPool * transfer_pool
 Buffers of transfer_pool_size bytes for av_hwframe_get_transfer_buffer(), both guarded by transfer_pool_lock.
 
size_t transfer_pool_size
 
AVMutex transfer_pool_lock
 
AVBufferRef * source_frames
 For a derived context, a reference to the original frames context it was derived from.
 
int source_allocation_map_flags
 Flags to apply to the mapping from the source to the derived frame context when trying to allocate in the derived context.
 

Detailed Description

Definition at line 102 of file hwcontext_internal.h.

Field Documentation

◆ p

◆ hw_type

◆ pool_internal

◆ transfer_pool

AVBufferPool* FFHWFramesContext::transfer_pool

Buffers of transfer_pool_size bytes for av_hwframe_get_transfer_buffer(), both guarded by transfer_pool_lock.

Definition at line 116 of file hwcontext_internal.h.

Referenced by hwframe_ctx_free(), and transfer_buffer_alloc().

◆ transfer_pool_size

size_t FFHWFramesContext::transfer_pool_size

Definition at line 117 of file hwcontext_internal.h.

Referenced by transfer_buffer_alloc().

◆ transfer_pool_lock

AVMutex FFHWFramesContext::transfer_pool_lock

◆ source_frames

AVBufferRef* FFHWFramesContext::source_frames

For a derived context, a reference to the original frames context it was derived from.

Definition at line 124 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_create_derived(), av_hwframe_ctx_init(), av_hwframe_get_buffer(), av_hwframe_map(), av_hwframe_transfer_data(), hwframe_ctx_free(), and qsv_dynamic_pool_unmap().

◆ source_allocation_map_flags

int FFHWFramesContext::source_allocation_map_flags

Flags to apply to the mapping from the source to the derived frame context when trying to allocate in the derived context.

Definition at line 129 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_create_derived(), and av_hwframe_get_buffer().


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