Searched refs:SafeInt32Sub (Results 1 – 7 of 7) sorted by relevance
/external/dng_sdk/source/ |
D | dng_point.h | 145 return dng_point (SafeInt32Sub(a.v, b.v), 146 SafeInt32Sub(a.h, b.h));
|
D | dng_rect.h | 61 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()
|
D | dng_safe_arithmetic.cpp | 91 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()
|
D | dng_safe_arithmetic.h | 63 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);
|
D | dng_lens_correction.cpp | 1205 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()
|
D | dng_resample.cpp | 605 fRowCoords.Pixel (SafeInt32Sub (dstArea.b, 1)), in SrcArea() 609 fColCoords.Pixel (SafeInt32Sub (dstArea.r, 1)), in SrcArea()
|
D | dng_misc_opcodes.cpp | 154 if (!SafeInt32Sub (fArea.b, fArea.t, &height) || in GetData() 155 !SafeInt32Sub (fArea.r, fArea.l, &width) || in GetData()
|