19 #ifndef AVFILTER_SCALE_H 20 #define AVFILTER_SCALE_H 33 const char *w_expr,
const char *h_expr,
35 int *ret_w,
int *ret_h);
46 int *ret_w,
int *ret_h,
47 int force_original_aspect_ratio,
int force_divisible_by);
Main libavfilter public API header.
A link between two filters.
int ff_scale_adjust_dimensions(AVFilterLink *inlink, int *ret_w, int *ret_h, int force_original_aspect_ratio, int force_divisible_by)
Transform evaluated width and height obtained from ff_scale_eval_dimensions into actual target width ...
int ff_scale_eval_dimensions(void *ctx, const char *w_expr, const char *h_expr, AVFilterLink *inlink, AVFilterLink *outlink, int *ret_w, int *ret_h)
Parse and evaluate string expressions for width and height.
The exact code depends on how similar the blocks are and how related they are to the and needs to apply these operations to the correct inlink or outlink if there are several Macros are available to factor that when no extra processing is inlink