FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
FFFrameSync Struct Reference

Frame sync structure. More...

#include <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

const AVClass* FFFrameSync::class

Definition at line 147 of file framesync.h.

Referenced by ff_framesync_preinit().

AVFilterContext* FFFrameSync::parent
unsigned FFFrameSync::nb_in
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(), filter_callback(), framesync_inject_frame(), and process_frame().

int64_t FFFrameSync::pts

Timestamp of the current event.

Definition at line 167 of file framesync.h.

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

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(), init_framesync(), lut2_config_output(), overlay_opencl_init(), and program_opencl_config_output().

void* FFFrameSync::opaque

Opaque pointer, not used by the API.

Definition at line 177 of file framesync.h.

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

unsigned FFFrameSync::in_request

Index of the input that requires a request.

Definition at line 182 of file framesync.h.

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

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

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

FFFrameSyncIn* FFFrameSync::in
int FFFrameSync::opt_repeatlast

Definition at line 205 of file framesync.h.

Referenced by config_output(), and ff_framesync_configure().

int FFFrameSync::opt_shortest

Definition at line 206 of file framesync.h.

Referenced by ff_framesync_configure().

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: