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

#include <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...
 
ff_scene_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

const AVClass* FrameRateContext::class

Definition at line 37 of file framerate.h.

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

int FrameRateContext::flags

flags affecting frame rate conversion algorithm

Definition at line 40 of file framerate.h.

Referenced by blend_frames().

double FrameRateContext::scene_score

score that denotes a scene change has happened

Definition at line 41 of file framerate.h.

Referenced by config_output().

int FrameRateContext::interp_start

start of range to apply linear interpolation

Definition at line 42 of file framerate.h.

Referenced by config_output().

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

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

int FrameRateContext::vsub

Definition at line 46 of file framerate.h.

Referenced by config_input(), and filter_slice().

AVRational FrameRateContext::srce_time_base

timebase of source

Definition at line 48 of file framerate.h.

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

AVRational FrameRateContext::dest_time_base

timebase of destination

Definition at line 49 of file framerate.h.

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

ff_scene_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 get_scene_score().

double FrameRateContext::prev_mafd

previous MAFD (scene detect only)

Definition at line 52 of file framerate.h.

Referenced by get_scene_score().

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

int FrameRateContext::bitdepth
AVFrame* FrameRateContext::work

Definition at line 56 of file framerate.h.

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

AVFrame* FrameRateContext::f0

last frame

Definition at line 58 of file framerate.h.

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

AVFrame* FrameRateContext::f1

current frame

Definition at line 59 of file framerate.h.

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

int64_t FrameRateContext::pts0

last frame pts in dest_time_base

Definition at line 60 of file framerate.h.

Referenced by activate(), and process_work_frame().

int64_t FrameRateContext::pts1

current frame pts in dest_time_base

Definition at line 61 of file framerate.h.

Referenced by activate(), and process_work_frame().

int64_t FrameRateContext::delta

pts1 to pts0 delta

Definition at line 62 of file framerate.h.

Referenced by activate(), and process_work_frame().

double FrameRateContext::score

scene change score (f0 to f1)

Definition at line 63 of file framerate.h.

Referenced by activate(), and blend_frames().

int FrameRateContext::flush

1 if the filter is being flushed

Definition at line 64 of file framerate.h.

Referenced by activate(), and process_work_frame().

int64_t FrameRateContext::start_pts

pts of the first output frame

Definition at line 65 of file framerate.h.

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

int64_t FrameRateContext::n

output frame counter

Definition at line 66 of file framerate.h.

Referenced by activate(), and process_work_frame().

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: