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

Input stream structure. More...

#include <framesync.h>

Data Fields

struct FFBufQueue queue
 Queue of incoming AVFrame, and NULL to mark EOF. More...
 
enum FFFrameSyncExtMode before
 Extrapolation mode for timestamps before the first frame. More...
 
enum FFFrameSyncExtMode after
 Extrapolation mode for timestamps after the last frame. More...
 
AVRational time_base
 Time base for the incoming frames. More...
 
AVFrameframe
 Current frame, may be NULL before the first one or after EOF. More...
 
AVFrameframe_next
 Next frame, for internal use. More...
 
int64_t pts
 PTS of the current frame. More...
 
int64_t pts_next
 PTS of the next frame, for internal use. More...
 
uint8_t have_next
 Boolean flagging the next frame, for internal use. More...
 
uint8_t state
 State: before first, in stream or after EOF, for internal use. More...
 
unsigned sync
 Synchronization level: frames on input at the highest sync level will generate output frame events. More...
 

Detailed Description

Input stream structure.

Definition at line 83 of file framesync.h.

Field Documentation

struct FFBufQueue FFFrameSyncIn::queue

Queue of incoming AVFrame, and NULL to mark EOF.

Definition at line 88 of file framesync.h.

Referenced by ff_framesync_add_frame(), ff_framesync_next(), and ff_framesync_uninit().

enum FFFrameSyncExtMode FFFrameSyncIn::before

Extrapolation mode for timestamps before the first frame.

Definition at line 93 of file framesync.h.

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

enum FFFrameSyncExtMode FFFrameSyncIn::after

Extrapolation mode for timestamps after the last frame.

Definition at line 98 of file framesync.h.

Referenced by config_output(), ff_dualinput_init(), framesync_advance(), and framesync_inject_frame().

AVRational FFFrameSyncIn::time_base

Time base for the incoming frames.

Definition at line 103 of file framesync.h.

Referenced by config_output(), ff_dualinput_init(), ff_framesync_configure(), and framesync_inject_frame().

AVFrame* FFFrameSyncIn::frame

Current frame, may be NULL before the first one or after EOF.

Definition at line 108 of file framesync.h.

Referenced by ff_framesync_get_frame(), ff_framesync_uninit(), and framesync_advance().

AVFrame* FFFrameSyncIn::frame_next

Next frame, for internal use.

Definition at line 113 of file framesync.h.

Referenced by ff_framesync_uninit(), framesync_advance(), and framesync_inject_frame().

int64_t FFFrameSyncIn::pts

PTS of the current frame.

Definition at line 118 of file framesync.h.

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

int64_t FFFrameSyncIn::pts_next

PTS of the next frame, for internal use.

Definition at line 123 of file framesync.h.

Referenced by ff_framesync_configure(), ff_framesync_get_frame(), framesync_advance(), and framesync_inject_frame().

uint8_t FFFrameSyncIn::have_next

Boolean flagging the next frame, for internal use.

Definition at line 128 of file framesync.h.

Referenced by ff_framesync_add_frame(), ff_framesync_get_frame(), ff_framesync_next(), framesync_advance(), and framesync_inject_frame().

uint8_t FFFrameSyncIn::state

State: before first, in stream or after EOF, for internal use.

Definition at line 133 of file framesync.h.

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

unsigned FFFrameSyncIn::sync

Synchronization level: frames on input at the highest sync level will generate output frame events.

For example, if inputs #0 and #1 have sync level 2 and input #2 has sync level 1, then a frame on either input #0 or #1 will generate a frame event, but not a frame on input #2 until both inputs #0 and #1 have reached EOF.

If sync is 0, no frame event will be generated.

Definition at line 146 of file framesync.h.

Referenced by config_output(), ff_dualinput_init(), ff_framesync_configure(), ff_framesync_get_frame(), framesync_advance(), framesync_inject_frame(), and framesync_sync_level_update().


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