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

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 81 of file framesync.h.

Field Documentation

enum FFFrameSyncExtMode FFFrameSyncIn::before

Extrapolation mode for timestamps before the first frame.

Definition at line 86 of file framesync.h.

Referenced by config_output(), ff_framesync_init_dualinput(), framesync_advance(), lut2_config_output(), and program_opencl_config_output().

enum FFFrameSyncExtMode FFFrameSyncIn::after

Extrapolation mode for timestamps after the last frame.

Definition at line 91 of file framesync.h.

Referenced by config_output(), ff_framesync_configure(), ff_framesync_init_dualinput(), framesync_advance(), framesync_inject_status(), lut2_config_output(), and program_opencl_config_output().

AVRational FFFrameSyncIn::time_base
AVFrame* FFFrameSyncIn::frame

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

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

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

int64_t FFFrameSyncIn::pts

PTS of the current frame.

Definition at line 111 of file framesync.h.

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

int64_t FFFrameSyncIn::pts_next

PTS of the next frame, for internal use.

Definition at line 116 of file framesync.h.

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

uint8_t FFFrameSyncIn::have_next

Boolean flagging the next frame, for internal use.

Definition at line 121 of file framesync.h.

Referenced by consume_from_fifos(), ff_framesync_get_frame(), framesync_advance(), framesync_inject_frame(), and framesync_inject_status().

uint8_t FFFrameSyncIn::state

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

Definition at line 126 of file framesync.h.

Referenced by consume_from_fifos(), framesync_advance(), framesync_inject_status(), 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 139 of file framesync.h.

Referenced by config_output(), ff_framesync_configure(), ff_framesync_get_frame(), ff_framesync_init_dualinput(), framesync_advance(), framesync_inject_status(), framesync_sync_level_update(), lut2_config_output(), and program_opencl_config_output().


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