hyp_1e3 1203 core/shooting.c int hyp, hyp_1e3, av_1e3, v; hyp_1e3 1236 core/shooting.c hyp_1e3 = camera_info.dof_values.hyperfocal_distance_1e3; hyp_1e3 1239 core/shooting.c if (camera_info.dof_values.aperture_value!=av_1e3 || camera_info.dof_values.focal_length!=fl || (hyp_1e3<0)) { hyp_1e3 1242 core/shooting.c hyp_1e3 = -1; hyp_1e3 1246 core/shooting.c hyp_1e3 = shooting_get_hyperfocal_distance_1e3_f(av_1e3, fl); hyp_1e3 1247 core/shooting.c if (hyp_1e3>0) { hyp_1e3 1248 core/shooting.c hyp = (hyp_1e3+500)/1000; hyp_1e3 1250 core/shooting.c v = ((hyp_1e3 - fl)/250 + 2 + 1)/2; hyp_1e3 1252 core/shooting.c int m = ((fl*((fl - hyp_1e3)/1000 - 1)/500)/v + 1)/2; hyp_1e3 1253 core/shooting.c int m2 = (int)((((double)hyp*(2*fl - hyp_1e3)/1000))/v + 0.5); hyp_1e3 1259 core/shooting.c if ((camera_info.dof_values.subject_distance!=dist || (camera_info.dof_values.hyperfocal_distance_1e3!=hyp_1e3)) && (hyp_1e3>0)) { hyp_1e3 1266 core/shooting.c if ((av_1e3>0) && (fl>0) && (dist>0) && (shooting_is_infinity_distance()==0) && (hyp_1e3>0)) { hyp_1e3 1267 core/shooting.c double m = ((double)(hyp_1e3 - fl)/1000 * dist) + 0.5; hyp_1e3 1271 core/shooting.c int v = ((((hyp_1e3 - 2*fl + 1000*dist)/500) + 1)/2); hyp_1e3 1274 core/shooting.c int v = ((((hyp_1e3 - 1000*dist)/500) + 1)/2); hyp_1e3 1286 core/shooting.c camera_info.dof_values.hyperfocal_distance_1e3 = hyp_1e3;