Lines Matching refs:fps
146 solo_enc->bw_weight = max(solo_dev->fps / solo_enc->interval, 1); in solo_update_mode()
195 u16 fps = solo_dev->fps * 1000; in solo_update_mode() local
201 vop[22] = fps >> 4; in solo_update_mode()
202 vop[23] = ((fps << 4) & 0xf0) | 0x0c in solo_update_mode()
1002 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1005 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1008 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
1021 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm()
1029 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument
1033 if (d == fps) in calc_interval()
1035 n *= fps; in calc_interval()
1036 return min(15U, n / d + (n % d >= (fps >> 1))); in calc_interval()
1044 u8 fps = solo_enc->solo_dev->fps; in solo_s_parm() local
1049 solo_enc->interval = calc_interval(fps, t->numerator, t->denominator); in solo_s_parm()
1231 V4L2_CID_MPEG_VIDEO_GOP_SIZE, 1, 255, 1, solo_dev->fps); in solo_enc_alloc()
1259 solo_enc->gop = solo_dev->fps; in solo_enc_alloc()
1371 solo_dev->enc_bw_remain = solo_dev->fps * 4 * 4; in solo_enc_v4l2_init()
1373 solo_dev->enc_bw_remain = solo_dev->fps * 4 * 5; in solo_enc_v4l2_init()