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_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 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 decode_data_free().

post_process_opaque_free

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

Definition at line 46 of file decode.h.

Referenced by decode_data_free().

hwaccel_priv

void* FrameDecodeData::hwaccel_priv

Per-frame private data for hwaccels.

Definition at line 51 of file decode.h.

Referenced by decode_data_free(), dpb_add(), ff_nvdec_get_ref_idx(), ff_nvdec_start_frame(), ff_nvdec_start_frame_sep_ref(), nvdec_av1_start_frame(), nvdec_h264_start_frame(), nvdec_hevc_start_frame(), nvdec_mjpeg_start_frame(), nvdec_mpeg12_start_frame(), nvdec_mpeg4_start_frame(), nvdec_retrieve_data(), nvdec_vc1_start_frame(), nvdec_vp8_start_frame(), and nvdec_vp9_start_frame().

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:

Generated on Thu Sep 26 2024 23:16:29 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /