• Home
  • Raw
  • Download

Lines Matching refs:ps_frame_time

274 void ih264e_init_frame_time(frame_time_t *ps_frame_time,  in ih264e_init_frame_time()  argument
290 number_t_to_word32(s_common_time_base, &(ps_frame_time->common_time_base)); in ih264e_init_frame_time()
293 ps_frame_time->u4_src_frm_time_incr = ps_frame_time->common_time_base in ih264e_init_frame_time()
295 ps_frame_time->u4_tgt_frm_time_incr = ps_frame_time->common_time_base in ih264e_init_frame_time()
299 ps_frame_time->u4_src_frm_time = 0; in ih264e_init_frame_time()
300 ps_frame_time->u4_tgt_frm_time = 0; in ih264e_init_frame_time()
303 ps_frame_time->u4_num_frms_dont_skip = 0; in ih264e_init_frame_time()
335 UWORD8 ih264e_should_src_be_skipped(frame_time_t *ps_frame_time, in ih264e_should_src_be_skipped() argument
341 if (ps_frame_time->u4_tgt_frm_time > ps_frame_time->u4_src_frm_time && in ih264e_should_src_be_skipped()
342 ps_frame_time->u4_tgt_frm_time >= (ps_frame_time->u4_src_frm_time + in ih264e_should_src_be_skipped()
343 ps_frame_time->u4_src_frm_time_incr)) in ih264e_should_src_be_skipped()
349 ps_frame_time->u4_src_frm_time += ps_frame_time->u4_src_frm_time_incr; in ih264e_should_src_be_skipped()
354 ps_frame_time->u4_tgt_frm_time += ps_frame_time->u4_tgt_frm_time_incr; in ih264e_should_src_be_skipped()
360 if (( ps_frame_time->common_time_base ==(WORD32)ps_frame_time->u4_src_frm_time) in ih264e_should_src_be_skipped()
361 && (ps_frame_time->common_time_base ==(WORD32) ps_frame_time->u4_tgt_frm_time )) in ih264e_should_src_be_skipped()
363 ps_frame_time->u4_src_frm_time = 0; in ih264e_should_src_be_skipped()
364 ps_frame_time->u4_tgt_frm_time = 0; in ih264e_should_src_be_skipped()
369 ps_frame_time->u4_num_frms_dont_skip += (u4_delta_time_stamp - 1); in ih264e_should_src_be_skipped()
374 if (ps_frame_time->u4_num_frms_dont_skip && skip_src) in ih264e_should_src_be_skipped()
378 ps_frame_time->u4_num_frms_dont_skip -= 1; in ih264e_should_src_be_skipped()
548 WORD32 ih264e_frame_time_get_src_frame_rate(frame_time_t *ps_frame_time) in ih264e_frame_time_get_src_frame_rate() argument
550 return (ps_frame_time->common_time_base / ps_frame_time->u4_src_frm_time_incr); in ih264e_frame_time_get_src_frame_rate()
571 WORD32 ih264e_frame_time_get_tgt_frame_rate(frame_time_t *ps_frame_time) in ih264e_frame_time_get_tgt_frame_rate() argument
573 return (ps_frame_time->common_time_base / ps_frame_time->u4_tgt_frm_time_incr); in ih264e_frame_time_get_tgt_frame_rate()
594 WORD32 ih264e_frame_time_get_src_ticks(frame_time_t *ps_frame_time) in ih264e_frame_time_get_src_ticks() argument
596 return (ps_frame_time->u4_src_frm_time_incr); in ih264e_frame_time_get_src_ticks()
617 WORD32 ih264e_frame_time_get_tgt_ticks(frame_time_t *ps_frame_time) in ih264e_frame_time_get_tgt_ticks() argument
619 return (ps_frame_time->u4_tgt_frm_time_incr); in ih264e_frame_time_get_tgt_ticks()
689 void ih264e_frame_time_update_src_frame_rate(frame_time_t *ps_frame_time, in ih264e_frame_time_update_src_frame_rate() argument
694 WORD32 tgt_frm_rate = ps_frame_time->common_time_base / ps_frame_time->u4_tgt_frm_time_incr; in ih264e_frame_time_update_src_frame_rate()
698 ih264e_init_frame_time(ps_frame_time, src_frm_rate, tgt_frm_rate); in ih264e_frame_time_update_src_frame_rate()
722 void ih264e_frame_time_update_tgt_frame_rate(frame_time_t *ps_frame_time, in ih264e_frame_time_update_tgt_frame_rate() argument
727 WORD32 src_frm_rate = ps_frame_time->common_time_base / ps_frame_time->u4_src_frm_time_incr; in ih264e_frame_time_update_tgt_frame_rate()
731 ih264e_init_frame_time(ps_frame_time, src_frm_rate, tgt_frm_rate); in ih264e_frame_time_update_tgt_frame_rate()