Lines Matching refs:cur_frame

189         prev_gm_param = s->cur_frame.gm_params[ref].wmmat[idx];  in read_global_param()
210 s->cur_frame.gm_params[ref].wmmat_val[idx] = in read_global_param()
213 s->cur_frame.gm_params[ref].wmmat[idx] = in read_global_param()
214 (s->cur_frame.gm_params[ref].wmmat_val[idx] << prec_diff) + round; in read_global_param()
257 RK_S32 *param = &s->cur_frame.gm_params[idx].wmmat[0]; in get_shear_params_valid()
276 s->cur_frame.gm_params[idx].alpha = alpha; in get_shear_params_valid()
277 s->cur_frame.gm_params[idx].beta = beta; in get_shear_params_valid()
278 s->cur_frame.gm_params[idx].gamma = gamma; in get_shear_params_valid()
279 s->cur_frame.gm_params[idx].delta = delta; in get_shear_params_valid()
300 s->cur_frame.gm_params[ref].wmtype = AV1_WARP_MODEL_IDENTITY; in global_motion_params()
302 s->cur_frame.gm_params[ref].wmmat[i] = (i % 3 == 2) ? in global_motion_params()
324 s->cur_frame.gm_params[ref].wmtype = type; in global_motion_params()
333 s->cur_frame.gm_params[ref].wmmat[4] = -s->cur_frame.gm_params[ref].wmmat[3]; in global_motion_params()
334 s->cur_frame.gm_params[ref].wmmat[5] = s->cur_frame.gm_params[ref].wmmat[2]; in global_motion_params()
346 ctx->cur_frame.gm_params[ref].alpha = -32768; in global_motion_params()
347 ctx->cur_frame.gm_params[ref].beta = -32768; in global_motion_params()
348 ctx->cur_frame.gm_params[ref].gamma = -32768; in global_motion_params()
349 ctx->cur_frame.gm_params[ref].delta = -32768; in global_motion_params()
353 ctx->cur_frame.gm_params[ref].alpha, in global_motion_params()
354 ctx->cur_frame.gm_params[ref].beta, in global_motion_params()
355 ctx->cur_frame.gm_params[ref].gamma, in global_motion_params()
356 ctx->cur_frame.gm_params[ref].delta); in global_motion_params()
406 s->cur_frame.skip_mode_frame_idx[0] = in skip_mode_params()
408 s->cur_frame.skip_mode_frame_idx[1] = in skip_mode_params()
428 s->cur_frame.skip_mode_frame_idx[0] = in skip_mode_params()
430 s->cur_frame.skip_mode_frame_idx[1] = in skip_mode_params()
442 s->cur_frame.coded_lossless = 0; in coded_lossless_param()
446 s->cur_frame.coded_lossless = 1; in coded_lossless_param()
458 s->cur_frame.coded_lossless = 0; in coded_lossless_param()
468 AV1RawFilmGrainParams *dst = &s->cur_frame.film_grain; in load_grain_params()
613 mpp_log2(s->operating_point_idc >> 8) > s->cur_frame.spatial_id) in set_output_frame()
615 mpp_buf_slot_get_prop(s->slots, s->cur_frame.slot_index, SLOT_FRAME_PTR, &frame); in set_output_frame()
624 mpp_buf_slot_set_flag(s->slots, s->cur_frame.slot_index, SLOT_QUEUE_USE); in set_output_frame()
625 mpp_buf_slot_enqueue(s->slots, s->cur_frame.slot_index, QUEUE_DISPLAY); in set_output_frame()
626 s->cur_frame.ref->is_output = 1; in set_output_frame()
716 s->cur_frame.ref->lst2_frame_offset = s->ref[lst2_buf_idx].order_hint; in update_reference_list()
717 s->cur_frame.ref->lst3_frame_offset = s->ref[lst3_buf_idx].order_hint; in update_reference_list()
718 s->cur_frame.ref->gld_frame_offset = s->ref[gld_buf_idx].order_hint; in update_reference_list()
719 s->cur_frame.ref->alt_frame_offset = s->ref[alt_buf_idx].order_hint; in update_reference_list()
720 s->cur_frame.ref->lst_frame_offset = s->ref[lst_buf_idx].order_hint; in update_reference_list()
721 s->cur_frame.ref->bwd_frame_offset = s->ref[bwd_buf_idx].order_hint; in update_reference_list()
722 s->cur_frame.ref->alt2_frame_offset = s->ref[alt2_buf_idx].order_hint; in update_reference_list()
734 if ((ret = av1d_frame_ref(ctx, &s->ref[i], &s->cur_frame)) < 0) { in update_reference_list()
752 AV1Frame *frame = &s->cur_frame; in get_current_frame()
892 mpp_frame_init(&s->cur_frame.f); in av1d_parser_init()
893 s->cur_frame.ref = NULL; in av1d_parser_init()
894 s->cur_frame.slot_index = 0xff; in av1d_parser_init()
895 if (!s->cur_frame.f) { in av1d_parser_init()
923 if (s->cur_frame.ref) { in av1d_parser_deinit()
924 av1d_frame_unref(ctx, &s->cur_frame); in av1d_parser_deinit()
926 mpp_frame_deinit(&s->cur_frame.f); in av1d_parser_deinit()
1019 if (s->cur_frame.ref) { in av1d_parser_frame()
1020 av1d_frame_unref(ctx, &s->cur_frame); in av1d_parser_frame()
1023 ret = av1d_frame_ref(ctx, &s->cur_frame, in av1d_parser_frame()
1049 s->cur_frame.spatial_id = header->spatial_id; in av1d_parser_frame()
1050 s->cur_frame.temporal_id = header->temporal_id; in av1d_parser_frame()
1051 s->cur_frame.order_hint = s->raw_frame_header->order_hint; in av1d_parser_frame()
1090 task->output = s->cur_frame.slot_index; in av1d_parser_frame()
1192 if (s->cur_frame.ref) { in av1d_paser_reset()
1193 av1d_frame_unref(ctx, &s->cur_frame); in av1d_paser_reset()