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

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
 
int frst
 
int next
 
int prev
 
int crnt
 
int last
 
int pending_srce_frames
 how many input frames are still waiting to be processed More...
 
int flush
 are we flushing final frames More...
 
int pending_end_frame
 flag indicating we are waiting to call filter_frame() More...
 
AVRational srce_time_base
 timebase of source More...
 
AVRational dest_time_base
 timebase of destination More...
 
int32_t dest_frame_num
 
int64_t last_dest_frame_pts
 pts of the last frame output More...
 
int64_t average_srce_pts_dest_delta
 average input pts delta converted from input rate to output rate More...
 
int64_t average_dest_pts_delta
 calculated average output pts delta 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...
 
AVFramesrce [N_SRCE]
 buffered source frames More...
 
int64_t srce_pts_dest [N_SRCE]
 pts for source frames scaled to output timebase More...
 
int64_t pts
 pts of frame we are working on More...
 
int(* blend_frames )(AVFilterContext *ctx, float interpolate, AVFrame *copy_src1, AVFrame *copy_src2)
 
int max
 
int bitdepth
 
AVFramework
 

Detailed Description

Definition at line 44 of file vf_framerate.c.

Field Documentation

const AVClass* FrameRateContext::class

Definition at line 45 of file vf_framerate.c.

AVRational FrameRateContext::dest_frame_rate

output frames per second

Definition at line 47 of file vf_framerate.c.

Referenced by config_output(), and set_work_frame_pts().

int FrameRateContext::flags

flags affecting frame rate conversion algorithm

Definition at line 48 of file vf_framerate.c.

Referenced by blend_frames16(), and blend_frames8().

double FrameRateContext::scene_score

score that denotes a scene change has happened

Definition at line 49 of file vf_framerate.c.

Referenced by config_output().

int FrameRateContext::interp_start

start of range to apply linear interpolation

Definition at line 50 of file vf_framerate.c.

Referenced by config_output(), and process_work_frame().

int FrameRateContext::interp_end

end of range to apply linear interpolation

Definition at line 51 of file vf_framerate.c.

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 53 of file vf_framerate.c.

Referenced by blend_frames16(), blend_frames8(), and config_input().

int FrameRateContext::vsub

Definition at line 54 of file vf_framerate.c.

Referenced by blend_frames16(), blend_frames8(), and config_input().

int FrameRateContext::frst

Definition at line 56 of file vf_framerate.c.

Referenced by filter_frame(), next_source(), request_frame(), and uninit().

int FrameRateContext::next
int FrameRateContext::prev
int FrameRateContext::crnt
int FrameRateContext::last

Definition at line 56 of file vf_framerate.c.

Referenced by init(), next_source(), request_frame(), and uninit().

int FrameRateContext::pending_srce_frames

how many input frames are still waiting to be processed

Definition at line 57 of file vf_framerate.c.

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

int FrameRateContext::flush

are we flushing final frames

Definition at line 58 of file vf_framerate.c.

Referenced by process_work_frame(), and request_frame().

int FrameRateContext::pending_end_frame

flag indicating we are waiting to call filter_frame()

Definition at line 59 of file vf_framerate.c.

Referenced by filter_frame(), and process_work_frame().

AVRational FrameRateContext::srce_time_base

timebase of source

Definition at line 61 of file vf_framerate.c.

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

AVRational FrameRateContext::dest_time_base

timebase of destination

Definition at line 63 of file vf_framerate.c.

Referenced by config_output(), process_work_frame(), set_srce_frame_dest_pts(), and set_work_frame_pts().

int32_t FrameRateContext::dest_frame_num

Definition at line 64 of file vf_framerate.c.

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

int64_t FrameRateContext::last_dest_frame_pts

pts of the last frame output

Definition at line 65 of file vf_framerate.c.

Referenced by process_work_frame(), and set_work_frame_pts().

int64_t FrameRateContext::average_srce_pts_dest_delta

average input pts delta converted from input rate to output rate

Definition at line 66 of file vf_framerate.c.

Referenced by process_work_frame(), and set_work_frame_pts().

int64_t FrameRateContext::average_dest_pts_delta

calculated average output pts delta

Definition at line 67 of file vf_framerate.c.

Referenced by process_work_frame(), and set_work_frame_pts().

av_pixelutils_sad_fn FrameRateContext::sad

Sum of the absolute difference function (scene detect only)

Definition at line 69 of file vf_framerate.c.

Referenced by config_input(), and get_scene_score().

double FrameRateContext::prev_mafd

previous MAFD (scene detect only)

Definition at line 70 of file vf_framerate.c.

Referenced by get_scene_score(), and get_scene_score16().

AVFrame* FrameRateContext::srce[N_SRCE]
int64_t FrameRateContext::srce_pts_dest[N_SRCE]

pts for source frames scaled to output timebase

Definition at line 73 of file vf_framerate.c.

Referenced by process_work_frame(), set_srce_frame_dest_pts(), and set_work_frame_pts().

int64_t FrameRateContext::pts

pts of frame we are working on

Definition at line 74 of file vf_framerate.c.

Referenced by process_work_frame(), and set_work_frame_pts().

int(* FrameRateContext::blend_frames)(AVFilterContext *ctx, float interpolate, AVFrame *copy_src1, AVFrame *copy_src2)

Definition at line 76 of file vf_framerate.c.

Referenced by config_input(), and process_work_frame().

int FrameRateContext::max

Definition at line 78 of file vf_framerate.c.

Referenced by blend_frames16(), and config_input().

int FrameRateContext::bitdepth

Definition at line 79 of file vf_framerate.c.

Referenced by blend_frames16(), and config_input().

AVFrame* FrameRateContext::work

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