Searched refs:c_ratio (Results 1 – 1 of 1) sorted by relevance
918 uint16_t c_ratio; in gc2145_set_resolution() local935 c_ratio = 3; in gc2145_set_resolution()939 c_ratio = 2; in gc2145_set_resolution()943 c_ratio = 1; in gc2145_set_resolution()952 win_w = w * c_ratio; in gc2145_set_resolution()954 x = (((win_w / c_ratio) - w) / 2); in gc2145_set_resolution()979 ret = gc2145_write_reg(&cfg->i2c, GC2145_REG_SUBSAMPLE, ((r_ratio << 4) | c_ratio)); in gc2145_set_resolution()