Home
last modified time | relevance | path

Searched refs:SafeInt32Sub (Results 1 – 7 of 7) sorted by relevance

/external/dng_sdk/source/
Ddng_rect.h61 if (!SafeInt32Sub(r, l, &dummy) || in dng_rect()
62 !SafeInt32Sub(b, t, &dummy)) in dng_rect()
131 if (!SafeInt32Sub(r, l, &width)) in W()
151 if (!SafeInt32Sub(b, t, &height)) in H()
Ddng_point.h145 return dng_point (SafeInt32Sub(a.v, b.v),
146 SafeInt32Sub(a.h, b.h));
Ddng_safe_arithmetic.cpp91 bool SafeInt32Sub(std::int32_t arg1, std::int32_t arg2, std::int32_t *result) { in SafeInt32Sub() function
101 std::int32_t SafeInt32Sub(std::int32_t arg1, std::int32_t arg2) { in SafeInt32Sub() function
104 if (!SafeInt32Sub(arg1, arg2, &result)) { in SafeInt32Sub()
Ddng_safe_arithmetic.h63 bool SafeInt32Sub(std::int32_t arg1, std::int32_t arg2, std::int32_t *result);
68 std::int32_t SafeInt32Sub(std::int32_t arg1, std::int32_t arg2);
Ddng_lens_correction.cpp1205 xMin = SafeInt32Sub(xMin, pad); in SrcArea()
1206 yMin = SafeInt32Sub(yMin, pad); in SrcArea()
1315 const int32 hMax = SafeInt32Sub (SafeInt32Sub (srcArea.r, wCount), 1); in ProcessArea()
1318 const int32 vMax = SafeInt32Sub (SafeInt32Sub (srcArea.b, wCount), 1); in ProcessArea()
Ddng_resample.cpp605 fRowCoords.Pixel (SafeInt32Sub (dstArea.b, 1)), in SrcArea()
609 fColCoords.Pixel (SafeInt32Sub (dstArea.r, 1)), in SrcArea()
Ddng_misc_opcodes.cpp154 if (!SafeInt32Sub (fArea.b, fArea.t, &height) || in GetData()
155 !SafeInt32Sub (fArea.r, fArea.l, &width) || in GetData()