Lines Matching refs:ofs
357 int ofs[RECT_NUM][4]; member
407 ofs[0][0] = ofs[0][1] = ofs[0][2] = ofs[0][3] = in OptFeature()
408 ofs[1][0] = ofs[1][1] = ofs[1][2] = ofs[1][3] = in OptFeature()
409 ofs[2][0] = ofs[2][1] = ofs[2][2] = ofs[2][3] = 0; in OptFeature()
414 float ret = weight[0] * CALC_SUM_OFS(ofs[0], ptr) + in calc()
415 weight[1] * CALC_SUM_OFS(ofs[1], ptr); in calc()
418 ret += weight[2] * CALC_SUM_OFS(ofs[2], ptr); in calc()
445 int ofs[16]; member
482 ofs[i] = 0; in OptFeature()
487 int cval = CALC_SUM_OFS_( ofs[5], ofs[6], ofs[9], ofs[10], p ); in calc()
489 return (CALC_SUM_OFS_( ofs[0], ofs[1], ofs[4], ofs[5], p ) >= cval ? 128 : 0) | // 0 in calc()
490 (CALC_SUM_OFS_( ofs[1], ofs[2], ofs[5], ofs[6], p ) >= cval ? 64 : 0) | // 1 in calc()
491 (CALC_SUM_OFS_( ofs[2], ofs[3], ofs[6], ofs[7], p ) >= cval ? 32 : 0) | // 2 in calc()
492 (CALC_SUM_OFS_( ofs[6], ofs[7], ofs[10], ofs[11], p ) >= cval ? 16 : 0) | // 5 in calc()
493 (CALC_SUM_OFS_( ofs[10], ofs[11], ofs[14], ofs[15], p ) >= cval ? 8 : 0)| // 8 in calc()
494 (CALC_SUM_OFS_( ofs[9], ofs[10], ofs[13], ofs[14], p ) >= cval ? 4 : 0)| // 7 in calc()
495 (CALC_SUM_OFS_( ofs[8], ofs[9], ofs[12], ofs[13], p ) >= cval ? 2 : 0)| // 6 in calc()
496 (CALC_SUM_OFS_( ofs[4], ofs[5], ofs[8], ofs[9], p ) >= cval ? 1 : 0); in calc()