Lines Matching refs:frame_cur

165     ctx->frame_cur = &ctx->Framehead[2];  in m2vd_parser_init_ctx()
318 if (p->frame_cur->slot_index >= 0) in m2vd_parser_reset()
319 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_cur->slot_index, in m2vd_parser_reset()
342 p->frame_cur->slot_index = -1; in m2vd_parser_reset()
1104 if (p->frame_cur->picCodingType == M2VD_CODING_TYPE_B) { in m2v_update_ref_frame()
1105 mpp_buf_slot_set_flag(p->frame_slots, p->frame_cur->slot_index, SLOT_QUEUE_USE); in m2v_update_ref_frame()
1106 mpp_buf_slot_enqueue(p->frame_slots, p->frame_cur->slot_index, QUEUE_DISPLAY); in m2v_update_ref_frame()
1107 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_cur->slot_index, SLOT_CODEC_USE); in m2v_update_ref_frame()
1108 p->frame_cur->slot_index = -1; in m2v_update_ref_frame()
1109 } else if (p->frame_cur->picCodingType != 0xffffffff) { in m2v_update_ref_frame()
1132 p->frame_ref0 = p->frame_cur; in m2v_update_ref_frame()
1133 p->frame_cur = tmpHD; in m2v_update_ref_frame()
1171 if (ctx->frame_cur->slot_index >= 0) { in m2vd_alloc_frame()
1174 … mpp_buf_slot_get_prop(ctx->frame_slots, ctx->frame_cur->slot_index, SLOT_FRAME_PTR, &frame); in m2vd_alloc_frame()
1278 mpp_frame_set_errinfo(ctx->frame_cur->f, 1); in m2vd_alloc_frame()
1280 mpp_frame_set_errinfo(ctx->frame_cur->f, 0); in m2vd_alloc_frame()
1285 ctx->frame_cur->picCodingType = pic_head->picture_coding_type; in m2vd_alloc_frame()
1287 mpp_frame_set_width(ctx->frame_cur->f, ctx->display_width); in m2vd_alloc_frame()
1288 mpp_frame_set_height(ctx->frame_cur->f, ctx->display_height); in m2vd_alloc_frame()
1289 mpp_frame_set_hor_stride(ctx->frame_cur->f, 0); in m2vd_alloc_frame()
1290 mpp_frame_set_ver_stride(ctx->frame_cur->f, 0); in m2vd_alloc_frame()
1291 mpp_frame_set_errinfo(ctx->frame_cur->f, 0); in m2vd_alloc_frame()
1292 mpp_frame_set_pts(ctx->frame_cur->f, frm_pts); in m2vd_alloc_frame()
1293 mpp_frame_set_dts(ctx->frame_cur->f, ctx->dts); in m2vd_alloc_frame()
1294 ctx->frame_cur->flags = M2V_OUT_FLAG; in m2vd_alloc_frame()
1309 mpp_frame_set_mode(ctx->frame_cur->f, frametype); in m2vd_alloc_frame()
1312 … mpp_frame_set_sar(ctx->frame_cur->f, mpeg2_aspect[ctx->seq_head.aspect_ratio_information]); in m2vd_alloc_frame()
1315 mpp_buf_slot_get_unused(ctx->frame_slots, &ctx->frame_cur->slot_index); in m2vd_alloc_frame()
1316 …mpp_buf_slot_set_prop(ctx->frame_slots, ctx->frame_cur->slot_index, SLOT_FRAME, ctx->frame_cur->f); in m2vd_alloc_frame()
1317 mpp_buf_slot_set_flag(ctx->frame_slots, ctx->frame_cur->slot_index, SLOT_CODEC_USE); in m2vd_alloc_frame()
1318 mpp_buf_slot_set_flag(ctx->frame_slots, ctx->frame_cur->slot_index, SLOT_HAL_OUTPUT); in m2vd_alloc_frame()
1320 if (ctx->frame_cur->slot_index >= 0) in m2vd_alloc_frame()
1321 mpp_buf_slot_set_flag(ctx->frame_slots, ctx->frame_cur->slot_index, SLOT_HAL_OUTPUT); in m2vd_alloc_frame()
1420 dst->CurrPic.Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1421 p->cur_slot_index = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1424 pbw = p->frame_cur; in m2vd_convert_to_dxva()
1451 dst->frame_refs[1].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1453 dst->frame_refs[0].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1456 dst->frame_refs[2].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1457 dst->frame_refs[3].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1461 if (p->frame_cur->picCodingType == M2VD_CODING_TYPE_I) { in m2vd_convert_to_dxva()
1529 in_task->output = p->frame_cur->slot_index; in m2vd_parser_parse()
1533 (p->frame_ref0->slot_index != p->frame_cur->slot_index)) { in m2vd_parser_parse()
1538 … if (p->frame_ref1->slot_index >= 0 && (p->frame_ref1->slot_index != p->frame_cur->slot_index)) { in m2vd_parser_parse()