Lines Matching refs:p_cur

356     AvsdFrame_t *p_cur = NULL;  in get_one_save()  local
361 p_cur = &p_dec->mem->save[i]; in get_one_save()
365 if (!p_cur) { in get_one_save()
370 return p_cur; in get_one_save()
372 reset_one_save(p_cur); in get_one_save()
443 AvsdFrame_t *p_cur = p_dec->cur; in avsd_set_dpb() local
452 p_cur->slot_idx = slot_idx; in avsd_set_dpb()
453 p_cur->pic_type = p_dec->ph.picture_coding_type; in avsd_set_dpb()
454 p_cur->width = p_dec->vsh.horizontal_size; in avsd_set_dpb()
455 p_cur->height = p_dec->vsh.vertical_size; in avsd_set_dpb()
456 p_cur->hor_stride = MPP_ALIGN(p_dec->vsh.horizontal_size, 16); in avsd_set_dpb()
457 p_cur->ver_stride = MPP_ALIGN(p_dec->vsh.vertical_size, 16); in avsd_set_dpb()
458 p_cur->pts = mpp_packet_get_pts(task->input_packet); in avsd_set_dpb()
459 p_cur->dts = mpp_packet_get_dts(task->input_packet); in avsd_set_dpb()
463 mpp_frame_set_hor_stride(mframe, p_cur->hor_stride); // before crop in avsd_set_dpb()
464 mpp_frame_set_ver_stride(mframe, p_cur->ver_stride); in avsd_set_dpb()
465 mpp_frame_set_width(mframe, p_cur->width); // after crop in avsd_set_dpb()
466 mpp_frame_set_height(mframe, p_cur->height); in avsd_set_dpb()
467 mpp_frame_set_pts(mframe, p_cur->pts); in avsd_set_dpb()
468 mpp_frame_set_dts(mframe, p_cur->dts); in avsd_set_dpb()
470 p_cur->frame_mode = MPP_FRAME_FLAG_PAIRED_FIELD; in avsd_set_dpb()
472 p_cur->frame_mode |= MPP_FRAME_FLAG_TOP_FIRST; in avsd_set_dpb()
474 p_cur->frame_mode |= MPP_FRAME_FLAG_BOT_FIRST; in avsd_set_dpb()
477 p_cur->frame_mode = MPP_FRAME_FLAG_FRAME; in avsd_set_dpb()
480 p_cur->frame_mode |= MPP_FRAME_FLAG_DEINTERLACED; in avsd_set_dpb()
483 mpp_frame_set_mode(mframe, p_cur->frame_mode); in avsd_set_dpb()
487 mpp_buf_slot_set_flag(p_dec->frame_slots, p_cur->slot_idx, SLOT_CODEC_USE); in avsd_set_dpb()
488 mpp_buf_slot_set_flag(p_dec->frame_slots, p_cur->slot_idx, SLOT_HAL_OUTPUT); in avsd_set_dpb()