MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / Shape17Tab

Function Shape17Tab

jni/stasm/shape17.cpp:37–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35//-----------------------------------------------------------------------------
36
37static const int* Shape17Tab( // get appropriate tab to convert to a 17 point shape
38 const Shape& shape) // in
39{
40 static const int shape17_tab[17] = // identity transform
41 {
42 0, // 0 L17_LPupil
43 1, // 1 L17_RPupil
44 2, // 2 L17_LMouthCorner
45 3, // 3 L17_RMouthCorner
46 4, // 4 L17_LEyebrowOuter
47 5, // 5 L17_LEyebrowInner
48 6, // 6 L17_REyebrowInner
49 7, // 7 L17_REyebrowOuter
50 8, // 8 L17_LEyeOuter
51 9, // 9 L17_LEyeInner
52 10, // 10 L17_REyeInner
53 11, // 11 L17_REyeOuter
54 12, // 12 L17_CNoseTip
55 13, // 13 L17_LNostril
56 14, // 14 L17_RNostril
57 15, // 15 L17_CTopOfTopLip
58 16 // 16 L17_CBotOfBotLip
59 };
60 static const int bioid_tab[17] = // 20 points
61 {
62 0, // 0 L17_LPupil
63 1, // 1 L17_RPupil
64 2, // 2 L17_LMouthCorner
65 3, // 3 L17_RMouthCorner
66 4, // 4 L17_LEyebrowOuter
67 5, // 5 L17_LEyebrowInner
68 6, // 6 L17_REyebrowInner
69 7, // 7 L17_REyebrowOuter
70 9, // 8 L17_LEyeOuter
71 10, // 9 L17_LEyeInner
72 11, // 10 L17_REyeInner
73 12, // 11 L17_REyeOuter
74 14, // 12 L17_CNoseTip
75 15, // 13 L17_LNostril
76 16, // 14 L17_RNostril
77 17, // 15 L17_CTopOfTopLip
78 18 // 16 L17_CBotOfBotLip
79 };
80 static const int aflw_tab[17] = // 21 points (AFLW)
81 {
82 7, // 0 L17_LPupil
83 10, // 1 L17_RPupil
84 17, // 2 L17_LMouthCorner
85 19, // 3 L17_RMouthCorner
86 0, // 4 L17_LEyebrowOuter
87 2, // 5 L17_LEyebrowInner
88 3, // 6 L17_REyebrowInner
89 5, // 7 L17_REyebrowOuter
90 6, // 8 L17_LEyeOuter
91 8, // 9 L17_LEyeInner
92 9, // 10 L17_REyeInner
93 11, // 11 L17_REyeOuter
94 14, // 12 L17_CNoseTip

Callers 1

Shape17OrEmptyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected