Searched refs:time_per_frame (Results 1 – 4 of 4) sorted by relevance
600 struct v4l2_fract *time_per_frame = &pctx->ctrls.time_per_frame; in hva_h264_prepare_task() local653 if (time_per_frame->numerator >= 536) { in hva_h264_prepare_task()659 td->framerate_num = (time_per_frame->denominator + in hva_h264_prepare_task()660 (time_per_frame->numerator >> 1) - 1) / in hva_h264_prepare_task()661 time_per_frame->numerator; in hva_h264_prepare_task()668 td->bit_rate /= time_per_frame->numerator; in hva_h264_prepare_task()669 td->bit_rate *= time_per_frame->denominator; in hva_h264_prepare_task()672 td->framerate_den = time_per_frame->numerator; in hva_h264_prepare_task()673 td->framerate_num = time_per_frame->denominator; in hva_h264_prepare_task()
521 struct v4l2_fract *time_per_frame = &ctx->ctrls.time_per_frame; in hva_g_parm() local527 sp->parm.output.timeperframe.numerator = time_per_frame->numerator; in hva_g_parm()529 time_per_frame->denominator; in hva_g_parm()537 struct v4l2_fract *time_per_frame = &ctx->ctrls.time_per_frame; in hva_s_parm() local547 time_per_frame->numerator = sp->parm.output.timeperframe.numerator; in hva_s_parm()548 time_per_frame->denominator = in hva_s_parm()795 ctx->ctrls.time_per_frame.numerator = HVA_DEFAULT_FRAME_NUM; in hva_ctrls_setup()796 ctx->ctrls.time_per_frame.denominator = HVA_DEFAULT_FRAME_DEN; in hva_ctrls_setup()
56 ctrls->time_per_frame.denominator, in format_ctx()57 ctrls->time_per_frame.numerator); in format_ctx()
87 struct v4l2_fract time_per_frame; member