summaryrefslogtreecommitdiffstats
path: root/filters/f_auto_filters.h
blob: f926f6e4499259d3748b410a48a347c0d904f81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "filter.h"

// A filter which inserts the required deinterlacing filter based on the
// hardware decode mode and the deinterlace user option.
struct mp_filter *mp_deint_create(struct mp_filter *parent);

// Rotate according to mp_image.rotate and VO capabilities.
struct mp_filter *mp_autorotate_create(struct mp_filter *parent);

// Insert a filter that inserts scaletempo2 depending on speed settings.
struct mp_filter *mp_autoaspeed_create(struct mp_filter *parent);

bool mp_deint_active(struct mp_filter *parent);