FFmpeg
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...
 
enum FFFrameTSSyncMode ts_mode
 

Detailed Description

Input stream structure.

Definition at line 102 of file framesync.h.

Field Documentation

◆ before

enum FFFrameSyncExtMode FFFrameSyncIn::before

Extrapolation mode for timestamps before the first frame.

Definition at line 107 of file framesync.h.

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

◆ after

enum FFFrameSyncExtMode FFFrameSyncIn::after

Extrapolation mode for timestamps after the last frame.

Definition at line 112 of file framesync.h.

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

◆ time_base

AVRational FFFrameSyncIn::time_base

Time base for the incoming frames.

Definition at line 117 of file framesync.h.

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

◆ frame

AVFrame* FFFrameSyncIn::frame

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

Definition at line 122 of file framesync.h.

◆ frame_next

AVFrame* FFFrameSyncIn::frame_next

Next frame, for internal use.

Definition at line 127 of file framesync.h.

◆ pts

int64_t FFFrameSyncIn::pts

PTS of the current frame.

Definition at line 132 of file framesync.h.

◆ pts_next

int64_t FFFrameSyncIn::pts_next

PTS of the next frame, for internal use.

Definition at line 137 of file framesync.h.

◆ have_next

uint8_t FFFrameSyncIn::have_next

Boolean flagging the next frame, for internal use.

Definition at line 142 of file framesync.h.

◆ state

uint8_t FFFrameSyncIn::state

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

Definition at line 147 of file framesync.h.

◆ sync

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

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

◆ ts_mode

enum FFFrameTSSyncMode FFFrameSyncIn::ts_mode

Definition at line 162 of file framesync.h.


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