Go to the source code of this file.
filter for upsampling or downsampling a progressive source 
Definition in file vf_framerate.c.
 
◆ DEBUG
◆ OFFSET
◆ FRAMERATE_FLAG_SCD
      
        
          | #define FRAMERATE_FLAG_SCD   01 | 
        
      
 
 
◆ BLEND_FRAME_FUNC
      
        
          | #define BLEND_FRAME_FUNC | 
          ( | 
            | 
          nbits | ) | 
           | 
        
      
 
Value:
{                                                       \
    uint##nbits##_t *dstw  = (uint##nbits##_t *)
dst;    \
 
    uint##nbits##_t *src1w = (uint##nbits##_t *)
src1;   \
 
    uint##nbits##_t *src2w = (uint##nbits##_t *)
src2;   \
 
    int bytes = nbits / 8;                              \
    width /= bytes;                                     \
    src1_linesize /= bytes;                             \
    src2_linesize /= bytes;                             \
    dst_linesize /= bytes;                              \
        src1w += src1_linesize;                         \
        src2w += src2_linesize;                         \
        dstw  += dst_linesize;                          \
    }                                                   \
}
 
Definition at line 231 of file vf_framerate.c.
 
 
◆ AVFILTER_DEFINE_CLASS()
◆ get_scene_score()
◆ filter_slice()
  
  
      
        
          | static int filter_slice  | 
          ( | 
          AVFilterContext *  | 
          ctx,  | 
         
        
           | 
           | 
          void *  | 
          arg,  | 
         
        
           | 
           | 
          int  | 
          job,  | 
         
        
           | 
           | 
          int  | 
          nb_jobs  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ blend_frames()
◆ process_work_frame()
◆ init()
◆ uninit()
◆ ff_framerate_init()
◆ config_input()
◆ activate()
◆ config_output()
◆ framerate_options
Initial value:= {
 
    {
"interp_start",        
"point to start linear interpolation",    
OFFSET(interp_start),    
AV_OPT_TYPE_INT,      {.i64=15},                 0,       255,     
V|
F },
 
    {
"interp_end",          
"point to end linear interpolation",      
OFFSET(interp_end),      
AV_OPT_TYPE_INT,      {.i64=240},                0,       255,     
V|
F },
 
 
 
}
 
Definition at line 48 of file vf_framerate.c.
 
 
◆ pix_fmts
◆ framerate_inputs
Initial value:= {
    {
        .name         = "default",
    },
}
 
Definition at line 419 of file vf_framerate.c.
 
 
◆ framerate_outputs
Initial value:= {
    {
        .name          = "default",
    },
}
 
Definition at line 427 of file vf_framerate.c.
 
 
◆ ff_vf_framerate
Initial value:= {
    .p.name        = "framerate",
    .p.description = 
NULL_IF_CONFIG_SMALL(
"Upsamples or downsamples progressive source between specified frame rates."),
 
    .p.priv_class  = &framerate_class,
}
 
Definition at line 435 of file vf_framerate.c.
 
 
 
#define FILTER_PIXFMTS_ARRAY(array)
 
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
 
#define FILTER_INPUTS(array)
 
#define AV_PIX_FMT_YUV420P10
 
static uint8_t half(int a, int b)
 
static int activate(AVFilterContext *ctx)
 
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
 
#define FRAMERATE_FLAG_SCD
 
#define AV_PIX_FMT_YUV422P9
 
#define BLEND_FACTOR_DEPTH(n)
 
#define AV_PIX_FMT_YUV444P10
 
@ AV_PIX_FMT_YUVJ411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor ...
 
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
 
static int blend_frames(AVFilterContext *ctx, int interpolate)
 
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
 
#define AV_PIX_FMT_YUV420P9
 
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
 
#define FILTER_OUTPUTS(array)
 
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
 
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
 
#define AV_PIX_FMT_YUV422P10
 
#define BLEND_FUNC_PARAMS
 
static av_cold int init(AVFilterContext *ctx)
 
static enum AVPixelFormat pix_fmts[]
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
 
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
 
#define AV_PIX_FMT_YUV422P12
 
#define AV_PIX_FMT_YUV444P12
 
static const AVFilterPad framerate_outputs[]
 
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
 
#define AV_PIX_FMT_YUV444P9
 
static int config_input(AVFilterLink *inlink)
 
#define AV_PIX_FMT_YUV420P12
 
@ AV_OPT_TYPE_INT
Underlying C type is int.
 
static const AVFilterPad framerate_inputs[]
 
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
 
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
 
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
 
static av_cold void uninit(AVFilterContext *ctx)
 
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
 
@ AV_OPT_TYPE_FLAGS
Underlying C type is unsigned int.
 
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
 
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
 
static int config_output(AVFilterLink *outlink)
 
The official guide to swscale for confused that consecutive non overlapping rectangles of slice_bottom special converter These generally are unscaled converters of common like for each output line the vertical scaler pulls lines from a ring buffer When the ring buffer does not contain the wanted line