CALC_SUM_OFS_ 313 modules/objdetect/src/cascadedetect.hpp #define CALC_SUM_OFS(rect, ptr) CALC_SUM_OFS_((rect)[0], (rect)[1], (rect)[2], (rect)[3], ptr) CALC_SUM_OFS_ 470 modules/objdetect/src/cascadedetect.hpp int cval = CALC_SUM_OFS_( ofs[5], ofs[6], ofs[9], ofs[10], p ); CALC_SUM_OFS_ 472 modules/objdetect/src/cascadedetect.hpp return (CALC_SUM_OFS_( ofs[0], ofs[1], ofs[4], ofs[5], p ) >= cval ? 128 : 0) | // 0 CALC_SUM_OFS_ 473 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[1], ofs[2], ofs[5], ofs[6], p ) >= cval ? 64 : 0) | // 1 CALC_SUM_OFS_ 474 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[2], ofs[3], ofs[6], ofs[7], p ) >= cval ? 32 : 0) | // 2 CALC_SUM_OFS_ 475 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[6], ofs[7], ofs[10], ofs[11], p ) >= cval ? 16 : 0) | // 5 CALC_SUM_OFS_ 476 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[10], ofs[11], ofs[14], ofs[15], p ) >= cval ? 8 : 0)| // 8 CALC_SUM_OFS_ 477 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[9], ofs[10], ofs[13], ofs[14], p ) >= cval ? 4 : 0)| // 7 CALC_SUM_OFS_ 478 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[8], ofs[9], ofs[12], ofs[13], p ) >= cval ? 2 : 0)| // 6 CALC_SUM_OFS_ 479 modules/objdetect/src/cascadedetect.hpp (CALC_SUM_OFS_( ofs[4], ofs[5], ofs[8], ofs[9], p ) >= cval ? 1 : 0); CALC_SUM_OFS_ 419 modules/objdetect/src/opencl/cascadedetect.cl int cval = CALC_SUM_OFS_( ofs.s5, ofs.s6, ofs.s9, ofs.sa, p ); CALC_SUM_OFS_ 421 modules/objdetect/src/opencl/cascadedetect.cl int mask, idx = (CALC_SUM_OFS_( ofs.s0, ofs.s1, ofs.s4, ofs.s5, p ) >= cval ? 4 : 0); // 0 CALC_SUM_OFS_ 422 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s1, ofs.s2, ofs.s5, ofs.s6, p ) >= cval ? 2 : 0); // 1 CALC_SUM_OFS_ 423 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s2, ofs.s3, ofs.s6, ofs.s7, p ) >= cval ? 1 : 0); // 2 CALC_SUM_OFS_ 425 modules/objdetect/src/opencl/cascadedetect.cl mask = (CALC_SUM_OFS_( ofs.s6, ofs.s7, ofs.sa, ofs.sb, p ) >= cval ? 16 : 0); // 5 CALC_SUM_OFS_ 426 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.sa, ofs.sb, ofs.se, ofs.sf, p ) >= cval ? 8 : 0); // 8 CALC_SUM_OFS_ 427 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s9, ofs.sa, ofs.sd, ofs.se, p ) >= cval ? 4 : 0); // 7 CALC_SUM_OFS_ 428 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s8, ofs.s9, ofs.sc, ofs.sd, p ) >= cval ? 2 : 0); // 6 CALC_SUM_OFS_ 429 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s4, ofs.s5, ofs.s8, ofs.s9, p ) >= cval ? 1 : 0); // 7 CALC_SUM_OFS_ 538 modules/objdetect/src/opencl/cascadedetect.cl int cval = CALC_SUM_OFS_( ofs.s5, ofs.s6, ofs.s9, ofs.sa, p ); CALC_SUM_OFS_ 540 modules/objdetect/src/opencl/cascadedetect.cl int mask, idx = (CALC_SUM_OFS_( ofs.s0, ofs.s1, ofs.s4, ofs.s5, p ) >= cval ? 4 : 0); // 0 CALC_SUM_OFS_ 541 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s1, ofs.s2, ofs.s5, ofs.s6, p ) >= cval ? 2 : 0); // 1 CALC_SUM_OFS_ 542 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s2, ofs.s3, ofs.s6, ofs.s7, p ) >= cval ? 1 : 0); // 2 CALC_SUM_OFS_ 544 modules/objdetect/src/opencl/cascadedetect.cl mask = (CALC_SUM_OFS_( ofs.s6, ofs.s7, ofs.sa, ofs.sb, p ) >= cval ? 16 : 0); // 5 CALC_SUM_OFS_ 545 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.sa, ofs.sb, ofs.se, ofs.sf, p ) >= cval ? 8 : 0); // 8 CALC_SUM_OFS_ 546 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s9, ofs.sa, ofs.sd, ofs.se, p ) >= cval ? 4 : 0); // 7 CALC_SUM_OFS_ 547 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s8, ofs.s9, ofs.sc, ofs.sd, p ) >= cval ? 2 : 0); // 6 CALC_SUM_OFS_ 548 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s4, ofs.s5, ofs.s8, ofs.s9, p ) >= cval ? 1 : 0); // 7 CALC_SUM_OFS_ 608 modules/objdetect/src/opencl/cascadedetect.cl int cval = CALC_SUM_OFS_( ofs.s5, ofs.s6, ofs.s9, ofs.sa, p ); CALC_SUM_OFS_ 610 modules/objdetect/src/opencl/cascadedetect.cl int mask, idx = (CALC_SUM_OFS_( ofs.s0, ofs.s1, ofs.s4, ofs.s5, p ) >= cval ? 4 : 0); // 0 CALC_SUM_OFS_ 611 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s1, ofs.s2, ofs.s5, ofs.s6, p ) >= cval ? 2 : 0); // 1 CALC_SUM_OFS_ 612 modules/objdetect/src/opencl/cascadedetect.cl idx |= (CALC_SUM_OFS_( ofs.s2, ofs.s3, ofs.s6, ofs.s7, p ) >= cval ? 1 : 0); // 2 CALC_SUM_OFS_ 614 modules/objdetect/src/opencl/cascadedetect.cl mask = (CALC_SUM_OFS_( ofs.s6, ofs.s7, ofs.sa, ofs.sb, p ) >= cval ? 16 : 0); // 5 CALC_SUM_OFS_ 615 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.sa, ofs.sb, ofs.se, ofs.sf, p ) >= cval ? 8 : 0); // 8 CALC_SUM_OFS_ 616 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s9, ofs.sa, ofs.sd, ofs.se, p ) >= cval ? 4 : 0); // 7 CALC_SUM_OFS_ 617 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s8, ofs.s9, ofs.sc, ofs.sd, p ) >= cval ? 2 : 0); // 6 CALC_SUM_OFS_ 618 modules/objdetect/src/opencl/cascadedetect.cl mask |= (CALC_SUM_OFS_( ofs.s4, ofs.s5, ofs.s8, ofs.s9, p ) >= cval ? 1 : 0); // 7