summaryrefslogtreecommitdiff
path: root/libavfilter/vf_stereo3d.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-08-30 22:35:51 +0200
committerPaul B Mahol <onemda@gmail.com>2019-08-30 22:41:07 +0200
commit62459d6584ada67b3fb5f38ec86904784c2ab331 (patch)
tree0730745cbf8763d6923935dd4d717248bab821d2 /libavfilter/vf_stereo3d.c
parent9b57b90c4c2752426c6552a87a96821ff9708fac (diff)
avfilter/vf_stereo3d: improve dubois anaglyphs
Diffstat (limited to 'libavfilter/vf_stereo3d.c')
-rw-r--r--libavfilter/vf_stereo3d.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 8b22f880ca..0e39fb3931 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -100,9 +100,9 @@ static const int ana_coeff[][3][6] = {
{ 0, 0, 0, 0, 65536, 0},
{ 0, 0, 0, 0, 0, 65536}},
[ANAGLYPH_RC_DUBOIS] =
- {{29891, 32800, 11559, -2849, -5763, -102},
- {-2627, -2479, -1033, 24804, 48080, -1209},
- { -997, -1350, -358, -4729, -7403, 80373}},
+ {{29884, 32768, 11534, -2818, -5767, -131},
+ {-2621, -2490, -1049, 24773, 48103, -1180},
+ { -983, -1376, -328, -4719, -7406, 80347}},
[ANAGLYPH_GM_GRAY] =
{{ 0, 0, 0, 19595, 38470, 7471},
{19595, 38470, 7471, 0, 0, 0},
@@ -132,9 +132,9 @@ static const int ana_coeff[][3][6] = {
{ 0, 0, 0, 0, 65536, 0},
{ 0, 0, 65536, 0, 0, 0}},
[ANAGLYPH_YB_DUBOIS] =
- {{65535,-12650,18451, -987, -7590, -1049},
- {-1604, 56032, 4196, 370, 3826, -1049},
- {-2345,-10676, 1358, 5801, 11416, 56217}},
+ {{69599,-13435,19595, -1048, -8061, -1114},
+ {-1704, 59507, 4456, 393, 4063, -1114},
+ {-2490,-11338, 1442, 6160, 12124, 59703}},
};
typedef struct Stereo3DContext {