Home
last modified time | relevance | path

Searched refs:time_per_frame (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/media/platform/st/sti/hva/
Dhva-h264.c600 struct v4l2_fract *time_per_frame = &pctx->ctrls.time_per_frame; in hva_h264_prepare_task() local
653 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()
Dhva-v4l2.c521 struct v4l2_fract *time_per_frame = &ctx->ctrls.time_per_frame; in hva_g_parm() local
527 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() local
547 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()
Dhva-debugfs.c56 ctrls->time_per_frame.denominator, in format_ctx()
57 ctrls->time_per_frame.numerator); in format_ctx()
Dhva.h87 struct v4l2_fract time_per_frame; member