Lines Matching refs:temporal_reference
1019 ctx->pic_head.temporal_reference = m2vd_read_bits(bx, 10); in m2vd_decode_pic_header()
1022 if (ctx->pic_head.temporal_reference > 50) { in m2vd_decode_pic_header()
1023 ctx->pic_head.temporal_reference = ctx->pretemporal_reference; in m2vd_decode_pic_header()
1027 …f (((RK_S32)ctx->maxFrame_inGOP < ctx->pic_head.temporal_reference) && (ctx->pic_head.temporal_ref… in m2vd_decode_pic_header()
1028 ctx->maxFrame_inGOP = ctx->pic_head.temporal_reference; in m2vd_decode_pic_header()
1190 ctx->group_frm_cnt = ctx->group_frm_cnt + pic_head->temporal_reference; in m2vd_alloc_frame()
1191 } else if (pic_head->temporal_reference == (RK_S32)ctx->prechange_temporal_ref) in m2vd_alloc_frame()
1193 else if (pic_head->temporal_reference) in m2vd_alloc_frame()
1194 ctx->group_frm_cnt = pic_head->temporal_reference - ctx->prechange_temporal_ref; in m2vd_alloc_frame()
1201 && (pic_head->temporal_reference > (RK_S32)ctx->prechange_temporal_ref)) { in m2vd_alloc_frame()
1205 … (pic_head->temporal_reference - ctx->prechange_temporal_ref) * last_frame_period; in m2vd_alloc_frame()
1239 ctx->group_start_time_27M = pts_27M - pic_head->temporal_reference * ctx->frame_period; in m2vd_alloc_frame()
1243 ctx->prechange_temporal_ref = pic_head->temporal_reference; in m2vd_alloc_frame()
1245 } else if ((RK_S32)ctx->pretemporal_reference > pic_head->temporal_reference + 5) { in m2vd_alloc_frame()
1250 if ((RK_S32)ctx->pretemporal_reference > pic_head->temporal_reference + 5) in m2vd_alloc_frame()
1252 if (pic_head->temporal_reference > (RK_S32)ctx->max_temporal_reference) in m2vd_alloc_frame()
1253 ctx->max_temporal_reference = pic_head->temporal_reference; in m2vd_alloc_frame()
1254 ctx->pretemporal_reference = pic_head->temporal_reference; in m2vd_alloc_frame()
1256 frm_pts += pic_head->temporal_reference * ctx->frame_period; in m2vd_alloc_frame()
1276 if ((pic_head->temporal_reference - pic_head->pre_temporal_reference > 3) in m2vd_alloc_frame()
1277 || (pic_head->temporal_reference - pic_head->pre_temporal_reference < -3)) { in m2vd_alloc_frame()
1283 pic_head->pre_temporal_reference = pic_head->temporal_reference; in m2vd_alloc_frame()
1378 dst->pic.temporal_reference = p->pic_head.temporal_reference; in m2vd_convert_to_dxva()
1545 mpp_frame_set_poc(frame, p->pic_head.temporal_reference); in m2vd_parser_parse()