OpenFFmpeg
Classes | Macros | Typedefs | Functions | Variables
vf_sr.c File Reference

Filter implementing image super-resolution using deep convolutional networks. More...

#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "libavutil/opt.h"
#include "libavformat/avio.h"
#include "libswscale/swscale.h"
#include "dnn_interface.h"

Classes

struct  SRContext
 

Macros

#define OFFSET(x)   offsetof(SRContext, x)
 
#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM
 

Typedefs

typedef struct SRContext SRContext
 

Functions

 AVFILTER_DEFINE_CLASS (sr)
 

Variables

AVFilter ff_vf_sr
 

Detailed Description

Filter implementing image super-resolution using deep convolutional networks.

https://arxiv.org/abs/1501.00092 https://arxiv.org/abs/1609.05158

Variable Documentation

§ ff_vf_sr

AVFilter ff_vf_sr
Initial value:
= {
.name = "sr",
.description = NULL_IF_CONFIG_SMALL("Apply DNN-based image super resolution to the input."),
.priv_size = sizeof(SRContext),
.init = init,
.uninit = uninit,
.query_formats = query_formats,
.inputs = sr_inputs,
.outputs = sr_outputs,
.priv_class = &sr_class,
}
Definition: af_acrusher.c:35
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
Definition: avfilter.h:125
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:116