78 if (tb.
num <= 0 || tb.
den <= 0) {
80 "Invalid non-positive value for the timebase %d/%d.\n",
100 #define OFFSET(x) offsetof(NullContext, x) 101 #define FLAGS AV_OPT_FLAG_VIDEO_PARAM 131 .priv_class = &nullsrc_class,
static const AVFilterPad outputs[]
Main libavfilter public API header.
static const AVFilterPad avfilter_vsrc_nullsrc_outputs[]
int h
agreed upon image height
static const AVOption options[]
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
static const AVClass nullsrc_class
static double av_q2d(AVRational a)
Convert rational to double.
#define AV_LOG_VERBOSE
Detailed information.
A link between two filters.
int av_expr_parse_and_eval(double *d, const char *s, const char *const *const_names, const double *const_values, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), void *opaque, int log_offset, void *log_ctx)
Parse and evaluate an expression.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void * priv
private data for use by the filter
AVRational time_base
Define the time base used by the PTS of the frames/samples which will pass through this link...
void av_log(void *avcl, int level, const char *fmt,...)
int w
agreed upon image width
common internal API header
AVRational av_d2q(double d, int max)
Convert a double precision floating point number to a rational.
static int config_props(AVFilterLink *outlink)
AVFilterContext * src
source filter
double var_values[VAR_VARS_NB]
#define AV_TIME_BASE_Q
Internal time base represented as fractional value.
Describe the class of an AVClass context structure.
static const AVFilterPad inputs[]
rational number numerator/denominator
const char * name
Filter name.
static const char *const var_names[]
struct AVFilterPad AVFilterPad
static int request_frame(AVFilterLink *link)
simple arithmetic expression evaluator