Home
last modified time | relevance | path

Searched refs:RADIUS (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_psnr_enc.c35 #define RADIUS 2 // search radius. Shouldn't be too large. macro
43 const int y_0 = (y - RADIUS < 0) ? 0 : y - RADIUS; in AccumulateLSIM()
44 const int y_1 = (y + RADIUS + 1 >= h) ? h : y + RADIUS + 1; in AccumulateLSIM()
46 const int x_0 = (x - RADIUS < 0) ? 0 : x - RADIUS; in AccumulateLSIM()
47 const int x_1 = (x + RADIUS + 1 >= w) ? w : x + RADIUS + 1; in AccumulateLSIM()
64 #undef RADIUS
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dgps.js800 var RADIUS = 6372.8; // Earth radius in km
816 return RADIUS * 2 * Math.asin(Math.sqrt(tmp));

Completed in 4 milliseconds