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

Detailed Description

Input stream structure.

Definition at line 81 of file framesync.h.

Field Documentation

◆ before

enum FFFrameSyncExtMode FFFrameSyncIn::before

Extrapolation mode for timestamps before the first frame.

Definition at line 86 of file framesync.h.

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

◆ after

enum FFFrameSyncExtMode FFFrameSyncIn::after

Extrapolation mode for timestamps after the last frame.

Definition at line 91 of file framesync.h.

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

◆ time_base

AVRational FFFrameSyncIn::time_base

Time base for the incoming frames.

Definition at line 96 of file framesync.h.

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

◆ frame

AVFrame* FFFrameSyncIn::frame

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

Definition at line 101 of file framesync.h.

◆ frame_next

AVFrame* FFFrameSyncIn::frame_next

Next frame, for internal use.

Definition at line 106 of file framesync.h.

◆ pts

int64_t FFFrameSyncIn::pts

PTS of the current frame.

Definition at line 111 of file framesync.h.

◆ pts_next

int64_t FFFrameSyncIn::pts_next

PTS of the next frame, for internal use.

Definition at line 116 of file framesync.h.

◆ have_next

uint8_t FFFrameSyncIn::have_next

Boolean flagging the next frame, for internal use.

Definition at line 121 of file framesync.h.

◆ state

uint8_t FFFrameSyncIn::state

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

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

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


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