Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
62459d65
Commit
62459d65
authored
Aug 30, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_stereo3d: improve dubois anaglyphs
parent
9b57b90c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
vf_stereo3d.c
libavfilter/vf_stereo3d.c
+6
-6
filter-stereo3d-sbsl-arcd
tests/ref/fate/filter-stereo3d-sbsl-arcd
+5
-5
filter-stereo3d-sbsl-aybd
tests/ref/fate/filter-stereo3d-sbsl-aybd
+5
-5
No files found.
libavfilter/vf_stereo3d.c
View file @
62459d65
...
...
@@ -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
]
=
{{
298
91
,
32800
,
11559
,
-
2849
,
-
5763
,
-
102
},
{
-
262
7
,
-
2479
,
-
1033
,
24804
,
48080
,
-
1209
},
{
-
9
97
,
-
1350
,
-
358
,
-
4729
,
-
7403
,
80373
}},
{{
298
84
,
32768
,
11534
,
-
2818
,
-
5767
,
-
131
},
{
-
262
1
,
-
2490
,
-
1049
,
24773
,
48103
,
-
1180
},
{
-
9
83
,
-
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
]
=
{{
6
5535
,
-
12650
,
18451
,
-
987
,
-
7590
,
-
1049
},
{
-
1
604
,
56032
,
4196
,
370
,
3826
,
-
1049
},
{
-
2
345
,
-
10676
,
1358
,
5801
,
11416
,
56217
}},
{{
6
9599
,
-
13435
,
19595
,
-
1048
,
-
8061
,
-
1114
},
{
-
1
704
,
59507
,
4456
,
393
,
4063
,
-
1114
},
{
-
2
490
,
-
11338
,
1442
,
6160
,
12124
,
59703
}},
};
typedef
struct
Stereo3DContext
{
...
...
tests/ref/fate/filter-stereo3d-sbsl-arcd
View file @
62459d65
...
...
@@ -3,8 +3,8 @@
#codec_id 0: rawvideo
#dimensions 0: 176x288
#sar 0: 0/1
0, 0, 0, 1, 152064, 0x
a0261570
0, 1, 1, 1, 152064, 0x
678403c8
0, 2, 2, 1, 152064, 0x1
087e7b6
0, 3, 3, 1, 152064, 0x
a3909df3
0, 4, 4, 1, 152064, 0x
87e4c4d4
0, 0, 0, 1, 152064, 0x
34b1fb03
0, 1, 1, 1, 152064, 0x
2045eadd
0, 2, 2, 1, 152064, 0x1
266cdde
0, 3, 3, 1, 152064, 0x
c9f083bd
0, 4, 4, 1, 152064, 0x
0701ab16
tests/ref/fate/filter-stereo3d-sbsl-aybd
View file @
62459d65
...
...
@@ -3,8 +3,8 @@
#codec_id 0: rawvideo
#dimensions 0: 176x288
#sar 0: 0/1
0, 0, 0, 1, 152064, 0x
7dc98468
0, 1, 1, 1, 152064, 0x
f72db6c9
0, 2, 2, 1, 152064, 0x
1630f53f
0, 3, 3, 1, 152064, 0x
c1765599
0, 4, 4, 1, 152064, 0x
12e35db1
0, 0, 0, 1, 152064, 0x
f576742c
0, 1, 1, 1, 152064, 0x
2ce36ae4
0, 2, 2, 1, 152064, 0x
2dc99849
0, 3, 3, 1, 152064, 0x
940413b6
0, 4, 4, 1, 152064, 0x
48a600d3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment