-
Notifications
You must be signed in to change notification settings - Fork 0
/
FieldDiff - READ ME.txt
107 lines (49 loc) · 2.17 KB
/
FieldDiff - READ ME.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
FieldDiff v1.3 - HELP FILE (03/23/2006)
GENERAL INFO:
** Currently FieldDiff only supports YV12 and YUY2 colorspaces!
FieldDiff calculates a field difference metric using the 5 point metric that TFM
uses and then outputs it via the debug or display options. It operates on full frames
(it differences the two fields in each frame). FieldDiff has a version that can be
used in conditional filtering called "CFieldDiff" that returns the value to the script.
Syntax=>
FieldDiff(int nt, bool chroma, bool display, bool debug, bool sse, int opt)
CFieldDiff(int nt, bool chroma, bool debug, bool sse, int opt)
PARAMETERS:
nt -
Sets the noise threshold for the field differencing. Recommended values are
between 0 (no noise rejection) and 5.
Default: 3 (int)
chroma -
Disables or enables chroma processing.
Default: true (bool)
display -
Draws the difference value on the top left of each frame.
Default: false (bool)
debug -
Outputs the difference value via OutputDebugString. Use "DebugView" to
view the output.
Default: false (bool)
sse -
If set to true, then sse (sum of squared errors) will be used instead of
sad (sum of absolute differences) when calculating the metrics.
Default: false (bool)
opt -
Controls which optimizations are used. Possible settings:
0 - use c routines
1 - use mmx routines
2 - use isse routines
3 - use sse2 routines
4 - auto detect
Default: 4 (int)
CHANGE LIST:
v1.3 - (03/23/2006)
- replace explicit frame copy with makewritable
- fixed mmx routines containing paddq instruction
v1.2 - (01/24/2006)
+ added sse2/mmx optimizations
+ added opt parameter
v1.1 - (07/31/2005)
+ added sse option
TO DO LIST:
- nothing
contact: forum.doom9.org nick = tritical or email: kes25c@mizzou.edu