19 #ifndef AVFILTER_FRAMERATE_H 20 #define AVFILTER_FRAMERATE_H 22 #include "libavutil/pixelutils.h" 25 #define BLEND_FUNC_PARAMS const uint8_t *src1, ptrdiff_t src1_linesize, \ 26 const uint8_t *src2, ptrdiff_t src2_linesize, \ 27 uint8_t *dst, ptrdiff_t dst_linesize, \ 28 ptrdiff_t width, ptrdiff_t height, \ 29 int factor1, int factor2, int half 31 #define BLEND_FACTOR_DEPTH8 7 32 #define BLEND_FACTOR_DEPTH16 15 34 typedef void (*blend_func)(BLEND_FUNC_PARAMS);
51 av_pixelutils_sad_fn
sad;
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
double scene_score
score that denotes a scene change has happened
Definition: framerate.h:41
double score
scene change score (f0 to f1)
Definition: framerate.h:63
Main libavfilter public API header.
int64_t pts0
last frame pts in dest_time_base
Definition: framerate.h:60
int64_t pts1
current frame pts in dest_time_base
Definition: framerate.h:61
int interp_end
end of range to apply linear interpolation
Definition: framerate.h:43
AVRational dest_frame_rate
output frames per second
Definition: framerate.h:39
int flags
flags affecting frame rate conversion algorithm
Definition: framerate.h:40
int line_size[4]
bytes of pixel data per line for each plane
Definition: framerate.h:45
int64_t n
output frame counter
Definition: framerate.h:66
int interp_start
start of range to apply linear interpolation
Definition: framerate.h:42
double prev_mafd
previous MAFD (scene detect only)
Definition: framerate.h:52
AVRational srce_time_base
timebase of source
Definition: framerate.h:48
Describe the class of an AVClass context structure.
Definition: log.h:67
Rational number (pair of numerator and denominator).
Definition: rational.h:58
AVRational dest_time_base
timebase of destination
Definition: framerate.h:49
Definition: framerate.h:36
AVFrame * f0
last frame
Definition: framerate.h:58
av_pixelutils_sad_fn sad
Sum of the absolute difference function (scene detect only)
Definition: framerate.h:51
int64_t start_pts
pts of the first output frame
Definition: framerate.h:65
int flush
1 if the filter is being flushed
Definition: framerate.h:64
AVFrame * f1
current frame
Definition: framerate.h:59
int64_t delta
pts1 to pts0 delta
Definition: framerate.h:62