FFmpeg  4.0
Data Fields
FrameRateContext Struct Reference

#include <libavfilter/framerate.h>

Data Fields

const AVClassclass
 
AVRational dest_frame_rate
 output frames per second More...
 
int flags
 flags affecting frame rate conversion algorithm More...
 
double scene_score
 score that denotes a scene change has happened More...
 
int interp_start
 start of range to apply linear interpolation More...
 
int interp_end
 end of range to apply linear interpolation More...
 
int line_size [4]
 bytes of pixel data per line for each plane More...
 
int vsub
 
AVRational srce_time_base
 timebase of source More...
 
AVRational dest_time_base
 timebase of destination More...
 
av_pixelutils_sad_fn sad
 Sum of the absolute difference function (scene detect only) More...
 
double prev_mafd
 previous MAFD (scene detect only) More...
 
int blend_factor_max
 
int bitdepth
 
AVFramework
 
AVFramef0
 last frame More...
 
AVFramef1
 current frame More...
 
int64_t pts0
 last frame pts in dest_time_base More...
 
int64_t pts1
 current frame pts in dest_time_base More...
 
int64_t delta
 pts1 to pts0 delta More...
 
double score
 scene change score (f0 to f1) More...
 
int flush
 1 if the filter is being flushed More...
 
int64_t start_pts
 pts of the first output frame More...
 
int64_t n
 output frame counter More...
 
blend_func blend
 

Detailed Description

Definition at line 36 of file framerate.h.

Field Documentation

◆ class

const AVClass* FrameRateContext::class

Definition at line 37 of file framerate.h.

◆ dest_frame_rate

AVRational FrameRateContext::dest_frame_rate

output frames per second

Definition at line 39 of file framerate.h.

Referenced by config_output(), and process_work_frame().

◆ flags

int FrameRateContext::flags

flags affecting frame rate conversion algorithm

Definition at line 40 of file framerate.h.

Referenced by blend_frames().

◆ scene_score

double FrameRateContext::scene_score

score that denotes a scene change has happened

Definition at line 41 of file framerate.h.

Referenced by config_output().

◆ interp_start

int FrameRateContext::interp_start

start of range to apply linear interpolation

Definition at line 42 of file framerate.h.

Referenced by config_output().

◆ interp_end

int FrameRateContext::interp_end

end of range to apply linear interpolation

Definition at line 43 of file framerate.h.

Referenced by config_output(), and process_work_frame().

◆ line_size

int FrameRateContext::line_size[4]

bytes of pixel data per line for each plane

Definition at line 45 of file framerate.h.

Referenced by config_input(), and filter_slice().

◆ vsub

int FrameRateContext::vsub

Definition at line 46 of file framerate.h.

Referenced by config_input(), and filter_slice().

◆ srce_time_base

AVRational FrameRateContext::srce_time_base

timebase of source

Definition at line 48 of file framerate.h.

Referenced by config_input(), config_output(), and filter_frame().

◆ dest_time_base

AVRational FrameRateContext::dest_time_base

timebase of destination

Definition at line 49 of file framerate.h.

Referenced by config_output(), filter_frame(), and process_work_frame().

◆ sad

av_pixelutils_sad_fn FrameRateContext::sad

Sum of the absolute difference function (scene detect only)

Definition at line 51 of file framerate.h.

Referenced by config_input(), and scene_sad8().

◆ prev_mafd

double FrameRateContext::prev_mafd

previous MAFD (scene detect only)

Definition at line 52 of file framerate.h.

Referenced by get_scene_score().

◆ blend_factor_max

int FrameRateContext::blend_factor_max

Definition at line 54 of file framerate.h.

Referenced by blend_frames(), ff_framerate_init(), filter_slice(), and process_work_frame().

◆ bitdepth

int FrameRateContext::bitdepth

◆ work

AVFrame* FrameRateContext::work

◆ f0

AVFrame* FrameRateContext::f0

last frame

Definition at line 58 of file framerate.h.

Referenced by blend_frames(), filter_frame(), process_work_frame(), and uninit().

◆ f1

AVFrame* FrameRateContext::f1

current frame

Definition at line 59 of file framerate.h.

Referenced by blend_frames(), filter_frame(), process_work_frame(), request_frame(), and uninit().

◆ pts0

int64_t FrameRateContext::pts0

last frame pts in dest_time_base

Definition at line 60 of file framerate.h.

Referenced by filter_frame(), and process_work_frame().

◆ pts1

int64_t FrameRateContext::pts1

current frame pts in dest_time_base

Definition at line 61 of file framerate.h.

Referenced by filter_frame(), and process_work_frame().

◆ delta

int64_t FrameRateContext::delta

pts1 to pts0 delta

Definition at line 62 of file framerate.h.

Referenced by filter_frame(), and process_work_frame().

◆ score

double FrameRateContext::score

scene change score (f0 to f1)

Definition at line 63 of file framerate.h.

Referenced by blend_frames(), and filter_frame().

◆ flush

int FrameRateContext::flush

1 if the filter is being flushed

Definition at line 64 of file framerate.h.

Referenced by process_work_frame(), and request_frame().

◆ start_pts

int64_t FrameRateContext::start_pts

pts of the first output frame

Definition at line 65 of file framerate.h.

Referenced by filter_frame(), init(), and process_work_frame().

◆ n

int64_t FrameRateContext::n

output frame counter

Definition at line 66 of file framerate.h.

Referenced by filter_frame(), and process_work_frame().

◆ blend

blend_func FrameRateContext::blend

Definition at line 68 of file framerate.h.

Referenced by ff_framerate_init(), ff_framerate_init_x86(), and filter_slice().


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