FFmpeg
Data Fields
FrameRateContext Struct Reference

Data Fields

const AVClassclass
 
  output frames per second More...
 
  flags affecting frame rate conversion algorithm More...
 
double  scene_score
  score that denotes a scene change has happened More...
 
  start of range to apply linear interpolation More...
 
  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
 
  how many input frames are still waiting to be processed More...
 
  are we flushing final frames More...
 
  flag indicating we are waiting to call filter_frame() More...
 
  timebase of source More...
 
  timebase of destination More...
 
 
  pts of the last frame output More...
 
  average input pts delta converted from input rate to output rate More...
 
  calculated average output pts delta More...
 
  Sum of the absolute difference function (scene detect only) More...
 
double  prev_mafd
  previous MAFD (scene detect only) More...
 
  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
 
 
 

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

Definition at line 56 of file vf_framerate.c.

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

int FrameRateContext::prev

Definition at line 56 of file vf_framerate.c.

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

int FrameRateContext::crnt

Definition at line 56 of file vf_framerate.c.

Referenced by blend_frames16(), blend_frames8(), filter_frame(), init(), process_work_frame(), set_srce_frame_dest_pts(), and set_work_frame_pts().

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]

buffered source frames

Definition at line 72 of file vf_framerate.c.

Referenced by blend_frames16(), blend_frames8(), filter_frame(), next_source(), process_work_frame(), request_frame(), set_srce_frame_dest_pts(), set_work_frame_pts(), and uninit().

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

Definition at line 80 of file vf_framerate.c.

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


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

Generated on Fri Jan 12 2018 01:46:25 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /