Searched refs:hframe (Results 1 – 1 of 1) sorted by relevance
958 unsigned int wframe, hframe; in dw100_s_selection() local973 hframe = src_q_data->pix_fmt.height; in dw100_s_selection()975 sel->r.top = clamp_t(int, sel->r.top, 0, hframe - DW100_MIN_H); in dw100_s_selection()978 clamp(sel->r.height, DW100_MIN_H, hframe - sel->r.top); in dw100_s_selection()984 qscaley = (sel->r.height << 16) / hframe; in dw100_s_selection()1008 h = (u32)((((u64)hframe << 16) * qscale) >> 32); in dw100_s_selection()1012 y = min(hframe - h, (unsigned int)max(0, y)); in dw100_s_selection()