FFmpeg  4.0
Data Fields
FFFrameSync Struct Reference

Frame sync structure. More...

#include <libavfilter/framesync.h>

Data Fields

const AVClassclass
 
AVFilterContextparent
 Parent filter context. More...
 
unsigned nb_in
 Number of input streams. More...
 
AVRational time_base
 Time base for the output events. More...
 
int64_t pts
 Timestamp of the current event. More...
 
int(* on_event )(struct FFFrameSync *fs)
 Callback called when a frame event is ready. More...
 
voidopaque
 Opaque pointer, not used by the API. More...
 
unsigned in_request
 Index of the input that requires a request. More...
 
unsigned sync_level
 Synchronization level: only inputs with the same sync level are sync sources. More...
 
uint8_t frame_ready
 Flag indicating that a frame event is ready. More...
 
uint8_t eof
 Flag indicating that output has reached EOF. More...
 
FFFrameSyncInin
 Pointer to array of inputs. More...
 
int opt_repeatlast
 
int opt_shortest
 
int opt_eof_action
 

Detailed Description

Frame sync structure.

Definition at line 146 of file framesync.h.

Field Documentation

◆ class

const AVClass* FFFrameSync::class

Definition at line 147 of file framesync.h.

Referenced by ff_framesync_preinit().

◆ parent

AVFilterContext* FFFrameSync::parent

◆ nb_in

unsigned FFFrameSync::nb_in

◆ time_base

AVRational FFFrameSync::time_base

Time base for the output events.

Definition at line 162 of file framesync.h.

Referenced by ff_framesync_configure(), ff_framesync_dualinput_get(), framesync_inject_frame(), and process_frame().

◆ pts

int64_t FFFrameSync::pts

Timestamp of the current event.

Definition at line 167 of file framesync.h.

Referenced by ff_framesync_dualinput_get(), framesync_advance(), and process_frame().

◆ on_event

int(* FFFrameSync::on_event) (struct FFFrameSync *fs)

Callback called when a frame event is ready.

Definition at line 172 of file framesync.h.

Referenced by config_output(), ff_framesync_activate(), init(), lut2_config_output(), overlay_opencl_init(), and program_opencl_config_output().

◆ opaque

void* FFFrameSync::opaque

Opaque pointer, not used by the API.

Definition at line 177 of file framesync.h.

Referenced by config_output(), lut2_config_output(), process_frame(), and program_opencl_config_output().

◆ in_request

unsigned FFFrameSync::in_request

Index of the input that requires a request.

Definition at line 182 of file framesync.h.

◆ sync_level

unsigned FFFrameSync::sync_level

Synchronization level: only inputs with the same sync level are sync sources.

Definition at line 188 of file framesync.h.

Referenced by ff_framesync_configure(), framesync_advance(), and framesync_sync_level_update().

◆ frame_ready

uint8_t FFFrameSync::frame_ready

Flag indicating that a frame event is ready.

Definition at line 193 of file framesync.h.

Referenced by ff_framesync_activate(), ff_framesync_get_frame(), framesync_advance(), and framesync_eof().

◆ eof

uint8_t FFFrameSync::eof

Flag indicating that output has reached EOF.

Definition at line 198 of file framesync.h.

Referenced by ff_framesync_activate(), framesync_advance(), and framesync_eof().

◆ in

FFFrameSyncIn* FFFrameSync::in

◆ opt_repeatlast

int FFFrameSync::opt_repeatlast

Definition at line 205 of file framesync.h.

Referenced by config_output(), and ff_framesync_configure().

◆ opt_shortest

int FFFrameSync::opt_shortest

Definition at line 206 of file framesync.h.

Referenced by ff_framesync_configure().

◆ opt_eof_action

int FFFrameSync::opt_eof_action

Definition at line 207 of file framesync.h.

Referenced by ff_framesync_configure().


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