FFmpeg
Data Fields
FrameDecodeData Struct Reference

This struct stores per-frame lavc-internal data and is attached to it via private_ref. More...

#include <decode.h>

Data Fields

int(* post_process )(void *logctx, AVFrame *frame)
 The callback to perform some delayed processing on the frame right before it is returned to the caller. More...
 
void * post_process_opaque
 
void(* post_process_opaque_free )(void *opaque)
 
void * hwaccel_priv
 Per-frame private data for hwaccels. More...
 
void(* hwaccel_priv_free )(void *priv)
 

Detailed Description

This struct stores per-frame lavc-internal data and is attached to it via private_ref.

Definition at line 33 of file decode.h.

Field Documentation

◆ post_process

int(* FrameDecodeData::post_process) (void *logctx, AVFrame *frame)

The callback to perform some delayed processing on the frame right before it is returned to the caller.

Note
This code is called at some unspecified point after the frame is returned from the decoder's decode/receive_frame call. Therefore it cannot rely on AVCodecContext being in any specific state, so it does not get to access AVCodecContext directly at all. All the state it needs must be stored in the post_process_opaque object.

Definition at line 44 of file decode.h.

Referenced by attach_post_process_data(), decode_receive_frame_internal(), ff_nvdec_start_frame(), and ff_videotoolbox_alloc_frame().

◆ post_process_opaque

void* FrameDecodeData::post_process_opaque

Definition at line 45 of file decode.h.

Referenced by attach_post_process_data(), decode_data_free(), and ff_lcevc_process().

◆ post_process_opaque_free

void(* FrameDecodeData::post_process_opaque_free) (void *opaque)

Definition at line 46 of file decode.h.

Referenced by attach_post_process_data(), and decode_data_free().

◆ hwaccel_priv

void* FrameDecodeData::hwaccel_priv

◆ hwaccel_priv_free

void(* FrameDecodeData::hwaccel_priv_free) (void *priv)

Definition at line 52 of file decode.h.

Referenced by decode_data_free(), and ff_nvdec_start_frame().


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