Searched refs:hframe (Results 1 – 1 of 1) sorted by relevance
956 unsigned int wframe, hframe; in dw100_s_selection() local971 hframe = src_q_data->pix_fmt.height; in dw100_s_selection()973 sel->r.top = clamp_t(int, sel->r.top, 0, hframe - DW100_MIN_H); in dw100_s_selection()976 clamp(sel->r.height, DW100_MIN_H, hframe - sel->r.top); in dw100_s_selection()982 qscaley = (sel->r.height << 16) / hframe; in dw100_s_selection()1006 h = (u32)((((u64)hframe << 16) * qscale) >> 32); in dw100_s_selection()1010 y = min(hframe - h, (unsigned int)max(0, y)); in dw100_s_selection()