#include "libavutil/parseutils.h"
#include "drawutils.h"
#include "avfilter.h"
+#include "formats.h"
+#include "video.h"
typedef struct {
const AVClass *class;
static int query_formats(AVFilterContext *ctx)
{
- avfilter_set_common_pixel_formats(ctx, ff_draw_supported_pixel_formats(0));
+ ff_set_common_formats(ctx, ff_draw_supported_pixel_formats(0));
return 0;
}
overlay_ass_image(ass, picref, image);
- avfilter_draw_slice(outlink, 0, picref->video->h, 1);
- avfilter_end_frame(outlink);
+ ff_draw_slice(outlink, 0, picref->video->h, 1);
+ ff_end_frame(outlink);
}
AVFilter avfilter_vf_ass = {
.inputs = (const AVFilterPad[]) {
{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .get_video_buffer = avfilter_null_get_video_buffer,
- .start_frame = avfilter_null_start_frame,
+ .get_video_buffer = ff_null_get_video_buffer,
+ .start_frame = ff_null_start_frame,
.draw_slice = null_draw_slice,
.end_frame = end_frame,
.config_props = config_input,