We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf8ce6 commit d84629cCopy full SHA for d84629c
components/esp32-quirc/lib/identify.c
@@ -97,8 +97,9 @@ static void perspective_setup(float *c,
97
hden;
98
}
99
100
-static void perspective_map(const float *c,
101
- float u, float v, struct quirc_point *ret)
+__attribute__ ((always_inline))
+static inline void perspective_map(const float *c,
102
+ float u, float v, struct quirc_point *ret)
103
{
104
float den = (float)1 / (c[6] * u + c[7] * v + (float)1.0);
105
float x = (c[0] * u + c[1] * v + c[2]) * den;
0 commit comments