mirror of https://github.com/mpv-player/mpv
26 lines
957 B
C
26 lines
957 B
C
#ifndef MP_VF_LAVFI_H_
|
|
#define MP_VF_LAVFI_H_
|
|
|
|
#include "common/common.h"
|
|
#include "vf.h"
|
|
|
|
struct vf_lw_opts;
|
|
|
|
extern const struct m_sub_options vf_lw_conf;
|
|
|
|
int vf_lw_set_graph(struct vf_instance *vf, struct vf_lw_opts *lavfi_opts,
|
|
char *filter, char *opts, ...) PRINTF_ATTRIBUTE(4,5);
|
|
void *vf_lw_old_priv(struct vf_instance *vf);
|
|
void vf_lw_update_graph(struct vf_instance *vf, char *filter, char *opts, ...)
|
|
PRINTF_ATTRIBUTE(3,4);
|
|
void vf_lw_set_reconfig_cb(struct vf_instance *vf,
|
|
int (*reconfig)(struct vf_instance *vf,
|
|
struct mp_image_params *in,
|
|
struct mp_image_params *out));
|
|
|
|
#define VF_LW_REPLACE "This filter will be replaced by using libavfilter " \
|
|
"option syntax directly. Parts of the old syntax will stop working, " \
|
|
"and some defaults may change.\n"
|
|
|
|
#endif
|