mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
videoscale: use math-compat.h here as well
Hopefully the powers that be don't mind the gst/glib include here too much.
This commit is contained in:
parent
383f7edaf4
commit
a86613a487
1 changed files with 1 additions and 13 deletions
|
@ -31,22 +31,10 @@
|
|||
|
||||
#include "vs_4tap.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <gst/math-compat.h>
|
||||
|
||||
#define SHIFT 10
|
||||
|
||||
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
|
||||
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#define CLAMP(x,a,b) MAX(MIN((x),(b)),(a))
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define rint(x) (floor((x)+0.5))
|
||||
#endif
|
||||
|
||||
static int16_t vs_4tap_taps[256][4];
|
||||
|
||||
static double
|
||||
|
|
Loading…
Reference in a new issue