FFmpeg
Data Structures | Macros | Functions | Variables
vf_nnedi.c File Reference
#include <float.h>
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  PrescreenerCoefficients
 
struct  PredictorCoefficients
 
struct  NNEDIContext
 

Macros

#define OFFSET(x)   offsetof(NNEDIContext, x)
 
#define RFLAGS   AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
 
#define FLAGS   AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
 

Functions

 AVFILTER_DEFINE_CLASS (nnedi)
 
static int config_output (AVFilterLink *outlink)
 
static float dot_dsp (const NNEDIContext *const s, const float *kernel, const float *input, int n, float scale, float bias)
 
static float elliott (float x)
 
static void transform_elliott (float *input, int size)
 
static void process_old (AVFilterContext *ctx, const void *src, ptrdiff_t src_stride, uint8_t *prescreen, int N, const PrescreenerCoefficients *const m_data)
 
static void process_new (AVFilterContext *ctx, const void *src, ptrdiff_t src_stride, uint8_t *prescreen, int N, const PrescreenerCoefficients *const m_data)
 
static int filter_offset (int nn, const PredictorCoefficients *const model)
 
static const float * softmax_q1_filter (int nn, const PredictorCoefficients *const model)
 
static const float * elliott_q1_filter (int nn, const PredictorCoefficients *const model)
 
static const float * softmax_q2_filter (int nn, const PredictorCoefficients *const model)
 
static const float * elliott_q2_filter (int nn, const PredictorCoefficients *const model)
 
static void gather_input (const float *src, ptrdiff_t src_stride, float *buf, float mstd[4], const PredictorCoefficients *const model)
 
static float softmax_exp (float x)
 
static void transform_softmax_exp (float *input, int size)
 
static void wae5 (const float *softmax, const float *el, int n, float mstd[4])
 
static void predictor (AVFilterContext *ctx, const void *src, ptrdiff_t src_stride, void *dst, const uint8_t *prescreen, int N, const PredictorCoefficients *const model, int use_q2)
 
static void read_bytes (const uint8_t *src, float *dst, int src_stride, int dst_stride, int width, int height, float scale)
 
static void read_words (const uint8_t *srcp, float *dst, int src_stride, int dst_stride, int width, int height, float scale)
 
static void write_bytes (const float *src, uint8_t *dst, int src_stride, int dst_stride, int width, int height, int depth, float scale)
 
static void write_words (const float *src, uint8_t *dstp, int src_stride, int dst_stride, int width, int height, int depth, float scale)
 
static void interpolation (const void *src, ptrdiff_t src_stride, void *dst, const uint8_t *prescreen, int n)
 
static int filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 
static int get_frame (AVFilterContext *ctx, int is_second)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 
static int request_frame (AVFilterLink *link)
 
static void copy_weights (float *dst, int n, const float **data)
 
static float * allocate (float **ptr, int size)
 
static int allocate_model (PredictorCoefficients *coeffs, int xdim, int ydim, int nns)
 
static int read_weights (AVFilterContext *ctx, const float *bdata)
 
static float mean (const float *input, int size)
 
static void transform (float *input, int size, float mean, float half)
 
static void subtract_mean_old (PrescreenerCoefficients *coeffs, float half)
 
static void subtract_mean_new (PrescreenerCoefficients *coeffs, float half)
 
static void subtract_mean_predictor (PredictorCoefficients *model)
 
static av_cold int init (AVFilterContext *ctx)
 
static int config_input (AVFilterLink *inlink)
 
static av_cold void uninit (AVFilterContext *ctx)
 

Variables

static const size_t NNEDI_WEIGHTS_SIZE = 13574928
 
static const uint8_t NNEDI_XDIM [] = { 8, 16, 32, 48, 8, 16, 32 }
 
static const uint8_t NNEDI_YDIM [] = { 6, 6, 6, 6, 4, 4, 4 }
 
static const uint16_t NNEDI_NNS [] = { 16, 32, 64, 128, 256 }
 
static const AVOption nnedi_options []
 
static enum AVPixelFormat pix_fmts []
 
static const AVFilterPad inputs []
 
static const AVFilterPad outputs []
 
const AVFilter ff_vf_nnedi
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET (   x)    offsetof(NNEDIContext, x)

Definition at line 116 of file vf_nnedi.c.

◆ RFLAGS

Definition at line 117 of file vf_nnedi.c.

◆ FLAGS

Definition at line 118 of file vf_nnedi.c.

Function Documentation

◆ AVFILTER_DEFINE_CLASS()

AVFILTER_DEFINE_CLASS ( nnedi  )

◆ config_output()

static int config_output ( AVFilterLink outlink)
static

Definition at line 166 of file vf_nnedi.c.

◆ dot_dsp()

static float dot_dsp ( const NNEDIContext *const  s,
const float *  kernel,
const float *  input,
int  n,
float  scale,
float  bias 
)
static

Definition at line 206 of file vf_nnedi.c.

Referenced by predictor(), process_new(), and process_old().

◆ elliott()

static float elliott ( float  x)
static

Definition at line 218 of file vf_nnedi.c.

Referenced by transform_elliott(), and wae5().

◆ transform_elliott()

static void transform_elliott ( float *  input,
int  size 
)
static

Definition at line 223 of file vf_nnedi.c.

Referenced by process_new(), and process_old().

◆ process_old()

static void process_old ( AVFilterContext ctx,
const void *  src,
ptrdiff_t  src_stride,
uint8_t *  prescreen,
int  N,
const PrescreenerCoefficients *const  m_data 
)
static

Definition at line 229 of file vf_nnedi.c.

Referenced by config_input().

◆ process_new()

static void process_new ( AVFilterContext ctx,
const void *  src,
ptrdiff_t  src_stride,
uint8_t *  prescreen,
int  N,
const PrescreenerCoefficients *const  m_data 
)
static

Definition at line 265 of file vf_nnedi.c.

Referenced by config_input().

◆ filter_offset()

static int filter_offset ( int  nn,
const PredictorCoefficients *const  model 
)
static

◆ softmax_q1_filter()

static const float* softmax_q1_filter ( int  nn,
const PredictorCoefficients *const  model 
)
static

Definition at line 300 of file vf_nnedi.c.

Referenced by predictor().

◆ elliott_q1_filter()

static const float* elliott_q1_filter ( int  nn,
const PredictorCoefficients *const  model 
)
static

Definition at line 306 of file vf_nnedi.c.

Referenced by predictor().

◆ softmax_q2_filter()

static const float* softmax_q2_filter ( int  nn,
const PredictorCoefficients *const  model 
)
static

Definition at line 312 of file vf_nnedi.c.

Referenced by predictor().

◆ elliott_q2_filter()

static const float* elliott_q2_filter ( int  nn,
const PredictorCoefficients *const  model 
)
static

Definition at line 318 of file vf_nnedi.c.

Referenced by predictor().

◆ gather_input()

static void gather_input ( const float *  src,
ptrdiff_t  src_stride,
float *  buf,
float  mstd[4],
const PredictorCoefficients *const  model 
)
static

Definition at line 324 of file vf_nnedi.c.

Referenced by predictor().

◆ softmax_exp()

static float softmax_exp ( float  x)
static

Definition at line 360 of file vf_nnedi.c.

Referenced by transform_softmax_exp().

◆ transform_softmax_exp()

static void transform_softmax_exp ( float *  input,
int  size 
)
static

Definition at line 365 of file vf_nnedi.c.

Referenced by predictor().

◆ wae5()

static void wae5 ( const float *  softmax,
const float *  el,
int  n,
float  mstd[4] 
)
static

Definition at line 371 of file vf_nnedi.c.

Referenced by predictor().

◆ predictor()

static void predictor ( AVFilterContext ctx,
const void *  src,
ptrdiff_t  src_stride,
void *  dst,
const uint8_t *  prescreen,
int  N,
const PredictorCoefficients *const  model,
int  use_q2 
)
static

Definition at line 387 of file vf_nnedi.c.

Referenced by filter_slice().

◆ read_bytes()

static void read_bytes ( const uint8_t *  src,
float *  dst,
int  src_stride,
int  dst_stride,
int  width,
int  height,
float  scale 
)
static

Definition at line 437 of file vf_nnedi.c.

Referenced by config_input().

◆ read_words()

static void read_words ( const uint8_t *  srcp,
float *  dst,
int  src_stride,
int  dst_stride,
int  width,
int  height,
float  scale 
)
static

Definition at line 456 of file vf_nnedi.c.

Referenced by config_input().

◆ write_bytes()

static void write_bytes ( const float *  src,
uint8_t *  dst,
int  src_stride,
int  dst_stride,
int  width,
int  height,
int  depth,
float  scale 
)
static

Definition at line 479 of file vf_nnedi.c.

Referenced by config_input().

◆ write_words()

static void write_words ( const float *  src,
uint8_t *  dstp,
int  src_stride,
int  dst_stride,
int  width,
int  height,
int  depth,
float  scale 
)
static

Definition at line 493 of file vf_nnedi.c.

Referenced by config_input().

◆ interpolation()

static void interpolation ( const void *  src,
ptrdiff_t  src_stride,
void *  dst,
const uint8_t *  prescreen,
int  n 
)
static

Definition at line 511 of file vf_nnedi.c.

Referenced by filter_slice().

◆ filter_slice()

static int filter_slice ( AVFilterContext ctx,
void *  arg,
int  jobnr,
int  nb_jobs 
)
static

Definition at line 533 of file vf_nnedi.c.

Referenced by get_frame().

◆ get_frame()

static int get_frame ( AVFilterContext ctx,
int  is_second 
)
static

Definition at line 656 of file vf_nnedi.c.

Referenced by filter_frame(), and vtenc_frame().

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 678 of file vf_nnedi.c.

Referenced by request_frame().

◆ request_frame()

static int request_frame ( AVFilterLink link)
static

Definition at line 711 of file vf_nnedi.c.

◆ copy_weights()

static void copy_weights ( float *  dst,
int  n,
const float **  data 
)
static

Definition at line 740 of file vf_nnedi.c.

Referenced by read_weights().

◆ allocate()

static float* allocate ( float **  ptr,
int  size 
)
static

Definition at line 746 of file vf_nnedi.c.

Referenced by allocate_model().

◆ allocate_model()

static int allocate_model ( PredictorCoefficients coeffs,
int  xdim,
int  ydim,
int  nns 
)
static

Definition at line 755 of file vf_nnedi.c.

Referenced by read_weights().

◆ read_weights()

static int read_weights ( AVFilterContext ctx,
const float *  bdata 
)
static

Definition at line 784 of file vf_nnedi.c.

Referenced by init().

◆ mean()

static float mean ( const float *  input,
int  size 
)
static

◆ transform()

static void transform ( float *  input,
int  size,
float  mean,
float  half 
)
static

Definition at line 865 of file vf_nnedi.c.

Referenced by subtract_mean_new(), and subtract_mean_old().

◆ subtract_mean_old()

static void subtract_mean_old ( PrescreenerCoefficients coeffs,
float  half 
)
static

Definition at line 871 of file vf_nnedi.c.

Referenced by config_input().

◆ subtract_mean_new()

static void subtract_mean_new ( PrescreenerCoefficients coeffs,
float  half 
)
static

Definition at line 880 of file vf_nnedi.c.

Referenced by config_input().

◆ subtract_mean_predictor()

static void subtract_mean_predictor ( PredictorCoefficients model)
static

Definition at line 889 of file vf_nnedi.c.

Referenced by config_input().

◆ init()

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 949 of file vf_nnedi.c.

◆ config_input()

static int config_input ( AVFilterLink inlink)
static

Definition at line 1019 of file vf_nnedi.c.

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 1101 of file vf_nnedi.c.

Variable Documentation

◆ NNEDI_WEIGHTS_SIZE

const size_t NNEDI_WEIGHTS_SIZE = 13574928
static

Definition at line 35 of file vf_nnedi.c.

Referenced by init().

◆ NNEDI_XDIM

const uint8_t NNEDI_XDIM[] = { 8, 16, 32, 48, 8, 16, 32 }
static

Definition at line 36 of file vf_nnedi.c.

Referenced by read_weights().

◆ NNEDI_YDIM

const uint8_t NNEDI_YDIM[] = { 6, 6, 6, 6, 4, 4, 4 }
static

Definition at line 37 of file vf_nnedi.c.

Referenced by read_weights().

◆ NNEDI_NNS

const uint16_t NNEDI_NNS[] = { 16, 32, 64, 128, 256 }
static

Definition at line 38 of file vf_nnedi.c.

Referenced by read_weights().

◆ nnedi_options

const AVOption nnedi_options[]
static

Definition at line 120 of file vf_nnedi.c.

◆ pix_fmts

enum AVPixelFormat pix_fmts[]
static

◆ inputs

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_input,
},
}

Definition at line 1132 of file vf_nnedi.c.

◆ outputs

const AVFilterPad outputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = config_output,
.request_frame = request_frame,
},
}

Definition at line 1141 of file vf_nnedi.c.

◆ ff_vf_nnedi

const AVFilter ff_vf_nnedi
Initial value:
= {
.name = "nnedi",
.description = NULL_IF_CONFIG_SMALL("Apply neural network edge directed interpolation intra-only deinterlacer."),
.priv_size = sizeof(NNEDIContext),
.priv_class = &nnedi_class,
.init = init,
.process_command = ff_filter_process_command,
}

Definition at line 1150 of file vf_nnedi.c.

AV_PIX_FMT_YUVA422P16
#define AV_PIX_FMT_YUVA422P16
Definition: pixfmt.h:447
AV_PIX_FMT_GBRAP16
#define AV_PIX_FMT_GBRAP16
Definition: pixfmt.h:426
FILTER_PIXFMTS_ARRAY
#define FILTER_PIXFMTS_ARRAY(array)
Definition: internal.h:171
AV_PIX_FMT_YUVA422P9
#define AV_PIX_FMT_YUVA422P9
Definition: pixfmt.h:439
AV_PIX_FMT_YUVA420P16
#define AV_PIX_FMT_YUVA420P16
Definition: pixfmt.h:446
NNEDIContext
Definition: vf_nnedi.c:64
AV_PIX_FMT_YUVA420P10
#define AV_PIX_FMT_YUVA420P10
Definition: pixfmt.h:441
AV_PIX_FMT_YUV420P10
#define AV_PIX_FMT_YUV420P10
Definition: pixfmt.h:404
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_nnedi.c:1101
AV_PIX_FMT_YUV440P
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
Definition: pixfmt.h:99
AV_PIX_FMT_YUVA422P10
#define AV_PIX_FMT_YUVA422P10
Definition: pixfmt.h:442
AV_PIX_FMT_GRAY9
#define AV_PIX_FMT_GRAY9
Definition: pixfmt.h:384
AV_PIX_FMT_YUVA420P9
#define AV_PIX_FMT_YUVA420P9
Definition: pixfmt.h:438
AV_PIX_FMT_GBRP14
#define AV_PIX_FMT_GBRP14
Definition: pixfmt.h:422
AV_PIX_FMT_GBRAP
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
Definition: pixfmt.h:205
AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_GBRP10
Definition: pixfmt.h:420
AV_PIX_FMT_YUVA444P16
#define AV_PIX_FMT_YUVA444P16
Definition: pixfmt.h:448
AV_PIX_FMT_YUV422P9
#define AV_PIX_FMT_YUV422P9
Definition: pixfmt.h:402
AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_GRAY16
Definition: pixfmt.h:388
AV_PIX_FMT_YUV444P10
#define AV_PIX_FMT_YUV444P10
Definition: pixfmt.h:407
AV_PIX_FMT_YUVJ411P
@ AV_PIX_FMT_YUVJ411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor ...
Definition: pixfmt.h:248
inputs
static const AVFilterPad inputs[]
Definition: vf_nnedi.c:1132
AV_PIX_FMT_YUV422P16
#define AV_PIX_FMT_YUV422P16
Definition: pixfmt.h:416
AV_PIX_FMT_YUVJ422P
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
Definition: pixfmt.h:79
AV_PIX_FMT_GBRAP10
#define AV_PIX_FMT_GBRAP10
Definition: pixfmt.h:424
AV_PIX_FMT_GBRAP12
#define AV_PIX_FMT_GBRAP12
Definition: pixfmt.h:425
AV_PIX_FMT_YUVA420P
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
Definition: pixfmt.h:101
AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV444P16
Definition: pixfmt.h:417
request_frame
static int request_frame(AVFilterLink *link)
Definition: vf_nnedi.c:711
AV_PIX_FMT_YUVA444P12
#define AV_PIX_FMT_YUVA444P12
Definition: pixfmt.h:445
AV_PIX_FMT_YUV420P9
#define AV_PIX_FMT_YUV420P9
Definition: pixfmt.h:401
AV_PIX_FMT_YUV420P16
#define AV_PIX_FMT_YUV420P16
Definition: pixfmt.h:415
AV_PIX_FMT_GRAY14
#define AV_PIX_FMT_GRAY14
Definition: pixfmt.h:387
AV_PIX_FMT_YUV420P
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:66
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:191
AV_PIX_FMT_YUVJ444P
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
Definition: pixfmt.h:80
AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_GRAY10
Definition: pixfmt.h:385
AV_PIX_FMT_GBRP16
#define AV_PIX_FMT_GBRP16
Definition: pixfmt.h:423
AV_PIX_FMT_YUVJ420P
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
Definition: pixfmt.h:78
AV_PIX_FMT_YUV440P10
#define AV_PIX_FMT_YUV440P10
Definition: pixfmt.h:406
AV_PIX_FMT_YUV422P10
#define AV_PIX_FMT_YUV422P10
Definition: pixfmt.h:405
AV_PIX_FMT_GRAY8
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
Definition: pixfmt.h:74
AV_PIX_FMT_GBRP9
#define AV_PIX_FMT_GBRP9
Definition: pixfmt.h:419
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV422P12
Definition: pixfmt.h:409
AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_YUV444P12
Definition: pixfmt.h:411
ff_filter_process_command
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
Definition: avfilter.c:882
AV_PIX_FMT_YUVA444P
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
Definition: pixfmt.h:167
AV_PIX_FMT_YUVA444P10
#define AV_PIX_FMT_YUVA444P10
Definition: pixfmt.h:443
outputs
static const AVFilterPad outputs[]
Definition: vf_nnedi.c:1141
init
static av_cold int init(AVFilterContext *ctx)
Definition: vf_nnedi.c:949
AV_PIX_FMT_GBRP12
#define AV_PIX_FMT_GBRP12
Definition: pixfmt.h:421
AV_PIX_FMT_YUVJ440P
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
Definition: pixfmt.h:100
pix_fmts
static enum AVPixelFormat pix_fmts[]
Definition: vf_nnedi.c:180
AV_PIX_FMT_YUV444P9
#define AV_PIX_FMT_YUV444P9
Definition: pixfmt.h:403
AV_PIX_FMT_YUVA444P9
#define AV_PIX_FMT_YUVA444P9
Definition: pixfmt.h:440
AV_PIX_FMT_YUV420P12
#define AV_PIX_FMT_YUV420P12
Definition: pixfmt.h:408
AV_PIX_FMT_YUV422P14
#define AV_PIX_FMT_YUV422P14
Definition: pixfmt.h:413
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
AV_PIX_FMT_YUVA422P12
#define AV_PIX_FMT_YUVA422P12
Definition: pixfmt.h:444
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_nnedi.c:678
AV_PIX_FMT_YUV444P
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:71
AV_PIX_FMT_GBRP
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
Definition: pixfmt.h:158
AVFILTER_FLAG_SLICE_THREADS
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:121
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
AV_PIX_FMT_YUV422P
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition: pixfmt.h:70
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:192
AV_PIX_FMT_YUV411P
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
Definition: pixfmt.h:73
config_input
static int config_input(AVFilterLink *inlink)
Definition: vf_nnedi.c:1019
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
Definition: avfilter.h:154
AV_PIX_FMT_YUV410P
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
Definition: pixfmt.h:72
AV_PIX_FMT_YUV440P12
#define AV_PIX_FMT_YUV440P12
Definition: pixfmt.h:410
AV_PIX_FMT_YUV444P14
#define AV_PIX_FMT_YUV444P14
Definition: pixfmt.h:414
AV_PIX_FMT_GRAY12
#define AV_PIX_FMT_GRAY12
Definition: pixfmt.h:386
AV_PIX_FMT_YUVA422P
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)
Definition: pixfmt.h:166
AV_PIX_FMT_YUV420P14
#define AV_PIX_FMT_YUV420P14
Definition: pixfmt.h:412
config_output
static int config_output(AVFilterLink *outlink)
Definition: vf_nnedi.c:166