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
 
voidparent
 
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...
 

Detailed Description

Frame sync structure.

Definition at line 153 of file framesync.h.

Field Documentation

const AVClass* FFFrameSync::class

Definition at line 154 of file framesync.h.

Referenced by ff_framesync_init().

void* FFFrameSync::parent

Definition at line 155 of file framesync.h.

Referenced by ff_framesync_init(), and process_frame().

unsigned FFFrameSync::nb_in
AVRational FFFrameSync::time_base

Time base for the output events.

Definition at line 165 of file framesync.h.

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

int64_t FFFrameSync::pts

Timestamp of the current event.

Definition at line 170 of file framesync.h.

Referenced by framesync_advance(), and process_frame().

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

Callback called when a frame event is ready.

Definition at line 175 of file framesync.h.

Referenced by config_output(), ff_dualinput_init(), and ff_framesync_process_frame().

void* FFFrameSync::opaque

Opaque pointer, not used by the API.

Definition at line 180 of file framesync.h.

Referenced by config_output(), ff_dualinput_init(), and process_frame().

unsigned FFFrameSync::in_request

Index of the input that requires a request.

Definition at line 185 of file framesync.h.

Referenced by ff_framesync_request_frame(), and framesync_advance().

unsigned FFFrameSync::sync_level

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

Definition at line 191 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 196 of file framesync.h.

Referenced by ff_framesync_drop(), ff_framesync_get_frame(), ff_framesync_next(), ff_framesync_process_frame(), and framesync_advance().

uint8_t FFFrameSync::eof

Flag indicating that output has reached EOF.

Definition at line 201 of file framesync.h.

Referenced by ff_framesync_process_frame(), ff_framesync_request_frame(), framesync_advance(), and framesync_sync_level_update().

FFFrameSyncIn* FFFrameSync::in

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