Lines Matching refs:btr
264 if (in_out_vrr->btr.btr_active) { in apply_below_the_range()
265 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()
266 in_out_vrr->btr.btr_active = false; in apply_below_the_range()
270 in_out_vrr->btr.btr_active = true; in apply_below_the_range()
274 if (!in_out_vrr->btr.btr_active) { in apply_below_the_range()
275 in_out_vrr->btr.inserted_duration_in_us = 0; in apply_below_the_range()
276 in_out_vrr->btr.frames_to_insert = 0; in apply_below_the_range()
277 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()
293 in_out_vrr->btr.mid_point_in_us - 1) / in apply_below_the_range()
294 in_out_vrr->btr.mid_point_in_us; in apply_below_the_range()
300 (in_out_vrr->btr.mid_point_in_us > in apply_below_the_range()
302 (in_out_vrr->btr.mid_point_in_us - frame_time_in_us) : in apply_below_the_range()
303 (frame_time_in_us - in_out_vrr->btr.mid_point_in_us); in apply_below_the_range()
310 in_out_vrr->btr.mid_point_in_us; in apply_below_the_range()
317 (in_out_vrr->btr.mid_point_in_us > in apply_below_the_range()
319 (in_out_vrr->btr.mid_point_in_us - frame_time_in_us) : in apply_below_the_range()
320 (frame_time_in_us - in_out_vrr->btr.mid_point_in_us); in apply_below_the_range()
339 if (in_out_vrr->btr.frames_to_insert != 0 && in apply_below_the_range()
341 if (((last_render_time_in_us / in_out_vrr->btr.frames_to_insert) < in apply_below_the_range()
343 ((last_render_time_in_us / in_out_vrr->btr.frames_to_insert) > in apply_below_the_range()
345 frames_to_insert = in_out_vrr->btr.frames_to_insert; in apply_below_the_range()
365 in_out_vrr->btr.inserted_duration_in_us = in apply_below_the_range()
367 in_out_vrr->btr.frames_to_insert = frames_to_insert; in apply_below_the_range()
368 in_out_vrr->btr.frame_counter = frames_to_insert; in apply_below_the_range()
796 in_out_vrr->btr.btr_enabled = in_config->btr; in mod_freesync_build_vrr_params()
800 in_out_vrr->btr.btr_enabled = false; in mod_freesync_build_vrr_params()
802 in_out_vrr->btr.btr_active = false; in mod_freesync_build_vrr_params()
803 in_out_vrr->btr.inserted_duration_in_us = 0; in mod_freesync_build_vrr_params()
804 in_out_vrr->btr.frames_to_insert = 0; in mod_freesync_build_vrr_params()
805 in_out_vrr->btr.frame_counter = 0; in mod_freesync_build_vrr_params()
806 in_out_vrr->btr.mid_point_in_us = in mod_freesync_build_vrr_params()
889 if (in_out_vrr->btr.btr_enabled) { in mod_freesync_handle_preflip()
922 in_out_vrr->btr.btr_active) { in mod_freesync_handle_v_update()
930 if (in_out_vrr->btr.frames_to_insert == in mod_freesync_handle_v_update()
931 in_out_vrr->btr.frame_counter) { in mod_freesync_handle_v_update()
935 in_out_vrr->btr.inserted_duration_in_us); in mod_freesync_handle_v_update()
940 if (in_out_vrr->btr.frame_counter > 0) in mod_freesync_handle_v_update()
941 in_out_vrr->btr.frame_counter--; in mod_freesync_handle_v_update()
944 if (in_out_vrr->btr.frame_counter == 0) { in mod_freesync_handle_v_update()
989 *lfc_mid_point_in_us = vrr->btr.mid_point_in_us; in mod_freesync_get_settings()
990 *inserted_frames = vrr->btr.frames_to_insert; in mod_freesync_get_settings()
991 *inserted_duration_in_us = vrr->btr.inserted_duration_in_us; in mod_freesync_get_settings()